@liquidcommerce/elements-sdk 2.7.23 → 2.7.24

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.
@@ -40,6 +40,8 @@ export interface IGlobalLayout {
40
40
  personalizationCardStyle: 'outlined' | 'filled';
41
41
  allowPromoCodes: boolean;
42
42
  inputFieldStyle: 'outlined' | 'filled';
43
+ enableOrderedProductSizes: boolean;
44
+ orderedProductSizes: string[];
43
45
  showPoweredBy: boolean;
44
46
  poweredByMode: 'light' | 'dark';
45
47
  }
@@ -8,6 +8,7 @@ export interface IImageCarouselParams {
8
8
  export declare class ProductImageCarouselComponent extends BaseComponent<IImageCarouselParams, IProductComponent> {
9
9
  get hostClasses(): string[];
10
10
  private mainImageElement;
11
+ private mainImageMediaElement;
11
12
  private galleryViewport;
12
13
  private galleryContainer;
13
14
  private thumbnails;
@@ -5,6 +5,7 @@ export interface IProductListProductPreCartComponentParams {
5
5
  productId: string;
6
6
  }
7
7
  export declare class ProductListProductPreCartComponent extends BaseComponent<IProductListProductPreCartComponentParams, IProductListComponent> {
8
+ get hostClasses(): string[];
8
9
  private showRetailersContent;
9
10
  private showEngravingForm;
10
11
  private isInitialRender;
@@ -0,0 +1,3 @@
1
+ export declare const IMG_BG_REMOVAL_HOST_CLASS = "lc-bg-removal";
2
+ export declare function applyImageBackgroundTreatment(target: HTMLElement | null, imageUrl: string | undefined | null, bgProbe?: Element): void;
3
+ export declare const getImageBgRemovalStyles: () => 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.7.23",
6
+ "version": "2.7.24",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "module": "./dist/index.esm.js",
16
16
  "types": "./dist/types/index.d.ts",
17
- "packageManager": "pnpm@11.8.0",
17
+ "packageManager": "pnpm@11.10.0",
18
18
  "exports": {
19
19
  ".": {
20
20
  "types": "./dist/types/index.d.ts",
@@ -78,9 +78,9 @@
78
78
  "embeddable commerce"
79
79
  ],
80
80
  "devDependencies": {
81
- "@biomejs/biome": "^2.5.0",
82
- "@commitlint/cli": "^21.0.2",
83
- "@commitlint/config-conventional": "^21.0.2",
81
+ "@biomejs/biome": "^2.5.2",
82
+ "@commitlint/cli": "^21.2.0",
83
+ "@commitlint/config-conventional": "^21.2.0",
84
84
  "@rollup/plugin-alias": "^6.0.0",
85
85
  "@rollup/plugin-commonjs": "^29.0.3",
86
86
  "@rollup/plugin-json": "^6.1.0",
@@ -90,12 +90,12 @@
90
90
  "@semantic-release/changelog": "^6.0.3",
91
91
  "@semantic-release/commit-analyzer": "^13.0.1",
92
92
  "@semantic-release/git": "^10.0.1",
93
- "@semantic-release/github": "^12.0.8",
93
+ "@semantic-release/github": "^12.0.9",
94
94
  "@semantic-release/npm": "^13.1.5",
95
95
  "@semantic-release/release-notes-generator": "^14.1.1",
96
96
  "@types/core-js": "^2.5.8",
97
- "@types/node": "^26.0.0",
98
- "conventional-changelog": "^7.2.1",
97
+ "@types/node": "^26.1.0",
98
+ "conventional-changelog": "8.0.1",
99
99
  "husky": "^9.1.7",
100
100
  "process": "^0.11.10",
101
101
  "rollup": "^4.62.2",