@liquidcommerce/elements-sdk 2.2.0-beta.41 → 2.2.0-beta.42

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.
@@ -9,6 +9,7 @@ export interface IClientConfigs {
9
9
  debugMode: DebugMode;
10
10
  baseUrl: string;
11
11
  partnerCode?: string;
12
+ partnerName?: string;
12
13
  customTheme: IClientCustomThemeConfig | null;
13
14
  proxy: IElementsProxyConfig | null;
14
15
  deviceType: DeviceType;
@@ -113,8 +113,6 @@ export declare class GoogleTagManagerService {
113
113
  giftCardAttempt(code: string): void;
114
114
  giftCardApplied(code: string, appliedAmount?: number): void;
115
115
  giftCardFailed(code: string, reason?: string): void;
116
- increaseQuantity(item: BaseItem): void;
117
- decreaseQuantity(item: BaseItem): void;
118
116
  addressUpdated(addressData: {
119
117
  googlePlacesId: string;
120
118
  formattedAddress: string;
@@ -96,6 +96,7 @@ export declare const COMPONENT_TYPE: {
96
96
  readonly PRODUCT_LIST: "product-list";
97
97
  readonly PRODUCT_LIST_CARD: "product-list-card";
98
98
  readonly PRODUCT_LIST_FILTERS: "product-list-filters";
99
+ readonly PRODUCT_LIST_CARD_LOADING: "product-list-card-loading";
99
100
  readonly CART: "cart";
100
101
  readonly CART_RETAILER: "cart-retailer";
101
102
  readonly CART_ITEM: "cart-item";
@@ -1,11 +1,10 @@
1
- export * from '../../ui-components/engraving/engraving-form.component';
2
- export * from '../../ui-components/engraving/engraving-view.component';
3
1
  export * from './components';
4
2
  export * from './product-add-to-cart-section.component';
5
3
  export * from './product-description.component';
6
4
  export * from './product-drawer.component';
7
5
  export * from './product-image-carousel.component';
8
6
  export * from './product-interactions.component';
7
+ export * from './product-loading.component';
9
8
  export * from './product-options.component';
10
9
  export * from './product-price.component';
11
10
  export * from './product-retailers.component';
@@ -1,2 +1,3 @@
1
1
  export * from './product-list-card.component';
2
+ export * from './product-list-card-loading.component';
2
3
  export * from './product-list-filters.component';
@@ -0,0 +1,7 @@
1
+ import { BaseComponent } from '@/core/base-component.service';
2
+ import type { IProductListComponentParams } from '@/modules/product-list/product-list.component';
3
+ export declare class ProductListCardLoadingComponent extends BaseComponent<IProductListComponentParams> {
4
+ get hostClasses(): string[];
5
+ private createSkeletonCard;
6
+ protected template(): HTMLElement[];
7
+ }
@@ -1,5 +1,5 @@
1
1
  import { BaseCommand } from '@/core/command/base-command.service';
2
- import type { ICatalog, ICatalogParams } from '@/interfaces/cloud';
2
+ import type { ICatalog, ICatalogParams, IProduct } from '@/interfaces/cloud';
3
3
  import { type AddItemParams } from '@/modules/cart/cart.commands';
4
4
  export declare class ProductListCommands extends BaseCommand {
5
5
  private readonly uiCommands;
@@ -9,4 +9,7 @@ export declare class ProductListCommands extends BaseCommand {
9
9
  getProductList(params: ICatalogParams): Promise<ICatalog>;
10
10
  addToCart(params: AddItemParams): Promise<void>;
11
11
  addPresaleToCart(params: AddItemParams): Promise<void>;
12
+ trackViewItemList(products: IProduct[]): void;
13
+ trackSelectItem(product: IProduct): void;
14
+ private convertProductToBaseItem;
12
15
  }
@@ -1 +1,2 @@
1
1
  export declare const getProductLoadingStyles: () => string;
2
+ export declare const getProductListCardLoadingStyles: () => string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "LiquidCommerce Elements SDK",
4
4
  "license": "UNLICENSED",
5
5
  "author": "LiquidCommerce Team",
6
- "version": "2.2.0-beta.41",
6
+ "version": "2.2.0-beta.42",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",
@@ -71,7 +71,7 @@
71
71
  "embeddable commerce"
72
72
  ],
73
73
  "devDependencies": {
74
- "@biomejs/biome": "2.3.2",
74
+ "@biomejs/biome": "2.3.3",
75
75
  "@commitlint/cli": "^20.1.0",
76
76
  "@commitlint/config-conventional": "^20.0.0",
77
77
  "@rollup/plugin-alias": "^6.0.0",
@@ -83,11 +83,11 @@
83
83
  "@semantic-release/changelog": "^6.0.3",
84
84
  "@semantic-release/commit-analyzer": "^13.0.1",
85
85
  "@semantic-release/git": "^10.0.1",
86
- "@semantic-release/github": "^12.0.0",
86
+ "@semantic-release/github": "^12.0.1",
87
87
  "@semantic-release/npm": "^13.1.1",
88
88
  "@semantic-release/release-notes-generator": "^14.1.0",
89
89
  "@types/core-js": "^2.5.8",
90
- "@types/node": "^24.9.2",
90
+ "@types/node": "^24.10.0",
91
91
  "conventional-changelog-cli": "^5.0.0",
92
92
  "husky": "^9.1.7",
93
93
  "process": "^0.11.10",