simpo-component-library 1.5.36 → 1.5.39

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 (25) hide show
  1. package/esm2022/lib/ecommerce/sections/category-product/category-product.component.mjs +20 -8
  2. package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +3 -1
  3. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +9 -5
  4. package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +1 -1
  5. package/esm2022/lib/ecommerce/sections/product-category-list/product-category-list.component.mjs +4 -3
  6. package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +7 -5
  7. package/esm2022/lib/ecommerce/sections/product-list/product-list.modal.mjs +1 -1
  8. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +14 -3
  9. package/esm2022/lib/styles/index.mjs +6 -1
  10. package/fesm2022/simpo-component-library.mjs +123 -90
  11. package/fesm2022/simpo-component-library.mjs.map +1 -1
  12. package/lib/ecommerce/sections/category-product/category-product.component.d.ts +1 -1
  13. package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +2 -0
  14. package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +2 -1
  15. package/lib/ecommerce/sections/product-list/product-list.modal.d.ts +1 -0
  16. package/lib/ecommerce/sections/small-product-listing/small-product-listing.component.d.ts +1 -0
  17. package/lib/styles/index.d.ts +4 -0
  18. package/package.json +1 -1
  19. package/simpo-component-library-1.5.38.tgz +0 -0
  20. package/simpo-component-library-1.5.39.tgz +0 -0
  21. package/simpo-component-library-1.5.31.tgz +0 -0
  22. package/simpo-component-library-1.5.32.tgz +0 -0
  23. package/simpo-component-library-1.5.34.tgz +0 -0
  24. package/simpo-component-library-1.5.35.tgz +0 -0
  25. package/simpo-component-library-1.5.36.tgz +0 -0
@@ -35,10 +35,10 @@ export declare class CategoryProductComponent extends BaseSection implements OnI
35
35
  addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
36
36
  getItemVarient(product: Product, varientId: string): ItemVariant | null;
37
37
  getPercentage(product: Product): string;
38
+ getSupportingColor(color: string): string;
38
39
  scrollLeft(): void;
39
40
  showRightArrow: boolean;
40
41
  showLeftArrow: boolean;
41
- isFirstTime: boolean;
42
42
  updateArrows(): void;
43
43
  editSection(): void;
44
44
  static ɵfac: i0.ɵɵFactoryDeclaration<CategoryProductComponent, never>;
@@ -10,6 +10,7 @@ import { CartService } from '../../../services/cart.service';
10
10
  import { StorageServiceService } from '../../../services/storage.service';
11
11
  import { MessageService } from 'primeng/api';
12
12
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
13
+ import { ProductCardTheme } from '../../../styles/index';
13
14
  import * as i0 from "@angular/core";
14
15
  export declare class FeaturedProductsComponent extends BaseSection implements OnInit, OnDestroy, OnChanges {
15
16
  private platformId;
@@ -37,6 +38,7 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
37
38
  screenWidth: number;
38
39
  private USER_CART;
39
40
  private USER_WISHLIST;
41
+ theme: typeof ProductCardTheme;
40
42
  getScreenSize(): void;
41
43
  ngOnInit(): void;
42
44
  ngOnChanges(changes: SimpleChanges): void;
@@ -1,5 +1,5 @@
1
1
  import { InputTextModel, StylesModel, ImageStyle, ActionModel } from "../../../styles/style.model";
2
- import { Corners } from "../../.././styles/index";
2
+ import { Corners, ProductCardTheme } from "../../.././styles/index";
3
3
  export declare class FeaturedProductModal {
4
4
  id: string;
5
5
  sectionType: string;
@@ -28,5 +28,6 @@ export interface FeaturedProductStylesModel extends StylesModel {
28
28
  maximumProduct: number;
29
29
  elementInRow: number;
30
30
  mobileColumn: number;
31
+ theme: ProductCardTheme;
31
32
  direction: "ROW" | "COLUMN";
32
33
  }
@@ -15,6 +15,7 @@ export interface ProductListStylesModal {
15
15
  maxPrice: number;
16
16
  minPrice: number;
17
17
  animation: AnimationModel;
18
+ theme: string;
18
19
  }
19
20
  export interface ProductListContentModal {
20
21
  display: Display;
@@ -10,6 +10,7 @@ export declare class SmallProductListingComponent {
10
10
  addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
11
11
  getItemVarient(product: Product, varientId: string): ItemVariant | null;
12
12
  getPercentage(product: Product): string;
13
+ getSupportingColor(color: string): string;
13
14
  get currency(): string;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SmallProductListingComponent, never>;
15
16
  static ɵcmp: i0.ɵɵComponentDeclaration<SmallProductListingComponent, "simpo-small-product-listing", never, { "product": { "alias": "product"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
@@ -120,6 +120,10 @@ export declare enum Corners {
120
120
  Large = "Large",
121
121
  None = "None"
122
122
  }
123
+ export declare enum ProductCardTheme {
124
+ Theme1 = "Theme1",
125
+ Theme2 = "Theme2"
126
+ }
123
127
  export declare enum logoType {
124
128
  Basic = "Basic",
125
129
  Boxed = "Boxed"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.5.36",
3
+ "version": "1.5.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file
Binary file
Binary file
Binary file
Binary file