simpo-component-library 1.6.55 → 1.6.56

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
22
22
  customClass?: string;
23
23
  styles?: ProductCategoryListStylesModal;
24
24
  productListContainer: ElementRef<HTMLDivElement> | undefined;
25
+ productCategoryListSection: ElementRef<HTMLDivElement> | undefined;
25
26
  categories: Category[];
26
27
  productList: Product[];
27
28
  USER_CART: OrderedItems[];
@@ -33,6 +34,7 @@ export declare class ProductCategoryListComponent extends BaseSection implements
33
34
  ngOnDestroy(): void;
34
35
  getAllCategoriesById(): void;
35
36
  selectCategory(category: Category): void;
37
+ scrollElementToTop(): void;
36
38
  addItemToCart(product: Product, type: 'ADD' | 'SUBSTRACT'): void;
37
39
  getItemVarient(product: Product, varientId: string): ItemVariant | null;
38
40
  getPercentage(product: Product): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.55",
3
+ "version": "1.6.56",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",