simpo-component-library 0.0.4 → 0.0.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.
Files changed (23) hide show
  1. package/esm2022/lib/sections/banner-section/banner-section.component.mjs +22 -23
  2. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +22 -24
  3. package/esm2022/lib/sections/footer-section/footer-section.component.mjs +37 -11
  4. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +21 -23
  5. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +23 -33
  6. package/esm2022/lib/sections/image-section/image-section.component.mjs +23 -32
  7. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +5 -11
  8. package/esm2022/lib/sections/service-section/service-section.component.mjs +24 -31
  9. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +24 -31
  10. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +24 -32
  11. package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +24 -34
  12. package/esm2022/lib/sections/text-section/text-section.component.mjs +27 -33
  13. package/esm2022/lib/sections/video-section/video-section.component.mjs +24 -31
  14. package/fesm2022/simpo-component-library.mjs +1370 -1357
  15. package/fesm2022/simpo-component-library.mjs.map +1 -1
  16. package/lib/directive/background-directive.d.ts +1 -1
  17. package/lib/directive/button-directive.directive.d.ts +1 -1
  18. package/lib/sections/navbar-section/navbar-section.component.d.ts +0 -1
  19. package/package.json +1 -1
  20. package/simpo-component-library-0.0.6.tgz +0 -0
  21. package/esm2022/lib/directive/index.mjs +0 -95
  22. package/lib/directive/index.d.ts +0 -22
  23. package/simpo-component-library-0.0.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): "#000000" | "#ffffff" | "#ffffff;";
13
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#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): "#000000" | "#ffffff" | "#ffffff;";
17
+ getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
18
18
  buttonStyleSubscription?: Subscription;
19
19
  buttonStyleChangeCheck(): void;
20
20
  changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
@@ -10,7 +10,6 @@ export declare class NavbarSectionComponent implements OnInit {
10
10
  constructor();
11
11
  ngOnInit(): void;
12
12
  screenWidth: number;
13
- getScreenSize(event?: number): void;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
15
14
  static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
16
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
@@ -1,95 +0,0 @@
1
- import { AnimationDirective } from './animation-directive';
2
- import { BorderDirective } from './border-directive';
3
- import { OverlayDirective } from './overlay-directive';
4
- import { BackgroundDirective } from './background-directive';
5
- import { ContentFitDirective } from './content-fit-directive';
6
- import { NgModule } from '@angular/core';
7
- import { HoverDirective } from './hover-element-directive';
8
- import { BannerContentFitDirective } from './banner-content-fit-directive';
9
- import { CornerDirective } from './corner-directive';
10
- import { ColumnDirectiveDirective } from './column-directive.directive';
11
- import { ContainerFitDirective } from './container-fir.directive';
12
- import { ImageDirectiveDirective } from './image-directive.directive';
13
- import { simpoConetenAlignmentDirective } from './content-alignment-directive';
14
- import { PositionLayoutDirectiveDirective } from './position-layout-directive.directive';
15
- import { SimpoFooterLayoutDirective } from './footer-layout-directive';
16
- import { ButtonDirectiveDirective } from './button-directive.directive';
17
- import { TextBackgroundDirectiveDirective } from './text-background-directive.directive';
18
- import * as i0 from "@angular/core";
19
- export class StyleDirectivesModule {
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: StyleDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
21
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.2.3", ngImport: i0, type: StyleDirectivesModule, imports: [AnimationDirective,
22
- BorderDirective,
23
- OverlayDirective,
24
- BackgroundDirective,
25
- ContentFitDirective,
26
- ContainerFitDirective,
27
- HoverDirective,
28
- BannerContentFitDirective,
29
- CornerDirective,
30
- ColumnDirectiveDirective,
31
- ImageDirectiveDirective,
32
- simpoConetenAlignmentDirective,
33
- PositionLayoutDirectiveDirective,
34
- SimpoFooterLayoutDirective,
35
- ButtonDirectiveDirective,
36
- TextBackgroundDirectiveDirective], exports: [AnimationDirective,
37
- BorderDirective,
38
- OverlayDirective,
39
- BackgroundDirective,
40
- ContentFitDirective,
41
- ContainerFitDirective,
42
- HoverDirective,
43
- BannerContentFitDirective,
44
- CornerDirective,
45
- ColumnDirectiveDirective,
46
- ImageDirectiveDirective,
47
- simpoConetenAlignmentDirective,
48
- PositionLayoutDirectiveDirective,
49
- SimpoFooterLayoutDirective,
50
- ButtonDirectiveDirective,
51
- TextBackgroundDirectiveDirective] }); }
52
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: StyleDirectivesModule }); }
53
- }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: StyleDirectivesModule, decorators: [{
55
- type: NgModule,
56
- args: [{
57
- imports: [
58
- AnimationDirective,
59
- BorderDirective,
60
- OverlayDirective,
61
- BackgroundDirective,
62
- ContentFitDirective,
63
- ContainerFitDirective,
64
- HoverDirective,
65
- BannerContentFitDirective,
66
- CornerDirective,
67
- ColumnDirectiveDirective,
68
- ImageDirectiveDirective,
69
- simpoConetenAlignmentDirective,
70
- PositionLayoutDirectiveDirective,
71
- SimpoFooterLayoutDirective,
72
- ButtonDirectiveDirective,
73
- TextBackgroundDirectiveDirective
74
- ],
75
- exports: [
76
- AnimationDirective,
77
- BorderDirective,
78
- OverlayDirective,
79
- BackgroundDirective,
80
- ContentFitDirective,
81
- ContainerFitDirective,
82
- HoverDirective,
83
- BannerContentFitDirective,
84
- CornerDirective,
85
- ColumnDirectiveDirective,
86
- ImageDirectiveDirective,
87
- simpoConetenAlignmentDirective,
88
- PositionLayoutDirectiveDirective,
89
- SimpoFooterLayoutDirective,
90
- ButtonDirectiveDirective,
91
- TextBackgroundDirectiveDirective
92
- ],
93
- }]
94
- }] });
95
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaW1wby11aS9zcmMvbGliL2RpcmVjdGl2ZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDckQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0scUJ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yZWN0aXZlLFxuICAgIFBvc2l0aW9uTGF5b3V0RGlyZWN0aXZlRGlyZWN0aXZlLFxuICAgIFNpbXBvRm9vdGVyTGF5b3V0RGlyZWN0aXZlLFxuICAgIEJ1dHRvbkRpcmVjdGl2ZURpcmVjdGl2ZSxcbiAgICBUZXh0QmFja2dyb3VuZERpcmVjdGl2ZURpcmVjdGl2ZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgQW5pbWF0aW9uRGlyZWN0aXZlLFxuICAgIEJvcmRlckRpcmVjdGl2ZSxcbiAgICBPdmVybGF5RGlyZWN0aXZlLFxuICAgIEJhY2tncm91bmREaXJlY3RpdmUsXG4gICAgQ29udGVudEZpdERpcmVjdGl2ZSxcbiAgICBDb250YWluZXJGaXREaXJlY3RpdmUsXG4gICAgSG92ZXJEaXJlY3RpdmUsXG4gICAgQmFubmVyQ29udGVudEZpdERpcmVjdGl2ZSxcbiAgICBDb3JuZXJEaXJlY3RpdmUsXG4gICAgQ29sdW1uRGlyZWN0aXZlRGlyZWN0aXZlLFxuICAgIEltYWdlRGlyZWN0aXZlRGlyZWN0aXZlLFxuICAgIHNpbXBvQ29uZXRlbkFsaWdubWVudERpcmVjdGl2ZSxcbiAgICBQb3NpdGlvbkxheW91dERpcmVjdGl2ZURpcmVjdGl2ZSxcbiAgICBTaW1wb0Zvb3RlckxheW91dERpcmVjdGl2ZSxcbiAgICBCdXR0b25EaXJlY3RpdmVEaXJlY3RpdmUsXG4gICAgVGV4dEJhY2tncm91bmREaXJlY3RpdmVEaXJlY3RpdmVcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgU3R5bGVEaXJlY3RpdmVzTW9kdWxlIHt9XG4iXX0=
@@ -1,22 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./animation-directive";
3
- import * as i2 from "./border-directive";
4
- import * as i3 from "./overlay-directive";
5
- import * as i4 from "./background-directive";
6
- import * as i5 from "./content-fit-directive";
7
- import * as i6 from "./container-fir.directive";
8
- import * as i7 from "./hover-element-directive";
9
- import * as i8 from "./banner-content-fit-directive";
10
- import * as i9 from "./corner-directive";
11
- import * as i10 from "./column-directive.directive";
12
- import * as i11 from "./image-directive.directive";
13
- import * as i12 from "./content-alignment-directive";
14
- import * as i13 from "./position-layout-directive.directive";
15
- import * as i14 from "./footer-layout-directive";
16
- import * as i15 from "./button-directive.directive";
17
- import * as i16 from "./text-background-directive.directive";
18
- export declare class StyleDirectivesModule {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<StyleDirectivesModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<StyleDirectivesModule, never, [typeof i1.AnimationDirective, typeof i2.BorderDirective, typeof i3.OverlayDirective, typeof i4.BackgroundDirective, typeof i5.ContentFitDirective, typeof i6.ContainerFitDirective, typeof i7.HoverDirective, typeof i8.BannerContentFitDirective, typeof i9.CornerDirective, typeof i10.ColumnDirectiveDirective, typeof i11.ImageDirectiveDirective, typeof i12.simpoConetenAlignmentDirective, typeof i13.PositionLayoutDirectiveDirective, typeof i14.SimpoFooterLayoutDirective, typeof i15.ButtonDirectiveDirective, typeof i16.TextBackgroundDirectiveDirective], [typeof i1.AnimationDirective, typeof i2.BorderDirective, typeof i3.OverlayDirective, typeof i4.BackgroundDirective, typeof i5.ContentFitDirective, typeof i6.ContainerFitDirective, typeof i7.HoverDirective, typeof i8.BannerContentFitDirective, typeof i9.CornerDirective, typeof i10.ColumnDirectiveDirective, typeof i11.ImageDirectiveDirective, typeof i12.simpoConetenAlignmentDirective, typeof i13.PositionLayoutDirectiveDirective, typeof i14.SimpoFooterLayoutDirective, typeof i15.ButtonDirectiveDirective, typeof i16.TextBackgroundDirectiveDirective]>;
21
- static ɵinj: i0.ɵɵInjectorDeclaration<StyleDirectivesModule>;
22
- }
Binary file