simpo-component-library 0.3.0 → 0.3.2

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 (51) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/components/hover-elements/hover-elements.component.mjs +12 -10
  3. package/esm2022/lib/directive/button-directive.directive.mjs +1 -1
  4. package/esm2022/lib/directive/column-directive.directive.mjs +1 -1
  5. package/esm2022/lib/directive/container-fir.directive.mjs +1 -1
  6. package/esm2022/lib/directive/corner-directive.mjs +1 -1
  7. package/esm2022/lib/directive/image-directive.directive.mjs +1 -1
  8. package/esm2022/lib/directive/position-layout-directive.directive.mjs +1 -1
  9. package/esm2022/lib/directive/text-background-directive.directive.mjs +1 -1
  10. package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
  11. package/esm2022/lib/elements/button/button.component.mjs +3 -3
  12. package/esm2022/lib/elements/button/button.model.mjs +1 -1
  13. package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +3 -3
  14. package/esm2022/lib/elements/heading-element/heading-element.component.mjs +3 -3
  15. package/esm2022/lib/elements/index.mjs +1 -1
  16. package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -3
  17. package/esm2022/lib/elements/text/text.component.mjs +3 -3
  18. package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +3 -3
  19. package/esm2022/lib/sections/add-new-section/add-new-section.component.mjs +21 -0
  20. package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
  21. package/esm2022/lib/sections/faq-section/faq-section.modal.mjs +1 -1
  22. package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
  23. package/esm2022/lib/sections/image-carousel-section/image-carousel.model.mjs +1 -1
  24. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
  25. package/esm2022/lib/sections/image-grid-section/image-grid-section.model.mjs +1 -1
  26. package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
  27. package/esm2022/lib/sections/image-section/image-section.model.mjs +1 -1
  28. package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +3 -3
  29. package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
  30. package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
  31. package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
  32. package/esm2022/lib/sections/team-member-section/team-member-section.model.mjs +1 -1
  33. package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +3 -3
  34. package/esm2022/lib/sections/testimonial-section/testimonial-section.model.mjs +1 -1
  35. package/esm2022/lib/sections/text-section/text-section.model.mjs +1 -1
  36. package/esm2022/lib/sections/video-section/video-section.component.mjs +3 -3
  37. package/esm2022/lib/sections/video-section/video-section.model.mjs +1 -1
  38. package/esm2022/lib/services/events.service.mjs +5 -4
  39. package/esm2022/lib/styles/index.mjs +1 -1
  40. package/esm2022/lib/styles/style.model.mjs +1 -1
  41. package/esm2022/lib/styles/types.mjs +1 -1
  42. package/esm2022/public-api.mjs +2 -1
  43. package/fesm2022/simpo-component-library.mjs +65 -45
  44. package/fesm2022/simpo-component-library.mjs.map +1 -1
  45. package/lib/components/hover-elements/hover-elements.component.d.ts +2 -2
  46. package/lib/sections/add-new-section/add-new-section.component.d.ts +10 -0
  47. package/lib/services/events.service.d.ts +4 -3
  48. package/package.json +1 -1
  49. package/public-api.d.ts +1 -0
  50. package/simpo-component-library-0.3.2.tgz +0 -0
  51. package/simpo-component-library-0.3.0.tgz +0 -0
@@ -10,13 +10,13 @@ export declare class HoverElementsComponent implements OnInit {
10
10
  editOptions?: boolean;
11
11
  ngOnInit(): void;
12
12
  editSection(): void;
13
- regenerateSection(): void;
13
+ restyleSection(): void;
14
14
  changeContent(): void;
15
- copySection(): void;
16
15
  moveUp(): void;
17
16
  moveDown(): void;
18
17
  deleteSection(): void;
19
18
  addSection(position: "ABOVE" | "BELOW"): void;
19
+ duplicateSection(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<HoverElementsComponent, never>;
21
21
  static ɵcmp: i0.ɵɵComponentDeclaration<HoverElementsComponent, "simpo-hover-elements", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "editOptions": { "alias": "editOptions"; "required": false; }; }, { "edit": "edit"; }, never, never, true, never>;
22
22
  }
@@ -0,0 +1,10 @@
1
+ import { EventsService } from './../../services/events.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AddNewSectionComponent {
4
+ private _eventService;
5
+ constructor(_eventService: EventsService);
6
+ index?: number;
7
+ addSection(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AddNewSectionComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddNewSectionComponent, "simpo-add-new-section", never, { "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
10
+ }
@@ -5,6 +5,10 @@ export declare class EventsService {
5
5
  editSection: EventEmitter<unknown>;
6
6
  duplicate: EventEmitter<unknown>;
7
7
  delete: EventEmitter<unknown>;
8
+ changePosition: EventEmitter<unknown>;
9
+ addNewSectionClick: EventEmitter<unknown>;
10
+ changeContent: EventEmitter<unknown>;
11
+ restyleSection: EventEmitter<unknown>;
8
12
  backgroundImageChangeCheck: EventEmitter<unknown>;
9
13
  colorOverlayChangeChecks: EventEmitter<unknown>;
10
14
  alignmentChangeChecks: EventEmitter<unknown>;
@@ -18,9 +22,6 @@ export declare class EventsService {
18
22
  buttonStyleChangeChecks: EventEmitter<unknown>;
19
23
  postionLayoutChangeChecks: EventEmitter<unknown>;
20
24
  contentAlignmentChangeCheck: EventEmitter<unknown>;
21
- addNewSectionClick: EventEmitter<unknown>;
22
- regenerateSection: EventEmitter<unknown>;
23
- changeContent: EventEmitter<unknown>;
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
25
26
  static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
26
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -11,6 +11,7 @@ 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/sections/add-new-section/add-new-section.component';
14
15
  export * from './lib/services/events.service';
15
16
  export * from './lib/directive/animation-directive';
16
17
  export * from './lib/directive/background-directive';
Binary file