@liquidcommerce/elements-sdk 2.6.0-beta.65 → 2.6.0-beta.67

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.
@@ -86,6 +86,7 @@ export interface ICart {
86
86
  }
87
87
  export interface ICartItemEngraving {
88
88
  isEngravable: boolean;
89
+ isRequired: boolean;
89
90
  hasEngraving: boolean;
90
91
  fee: number;
91
92
  maxCharsPerLine: number;
@@ -146,6 +146,7 @@ export interface ICheckoutShippingAddress {
146
146
  }
147
147
  export interface ICheckoutItemEngraving {
148
148
  isEngravable: boolean;
149
+ isRequired: boolean;
149
150
  hasEngraving: boolean;
150
151
  fee: number;
151
152
  maxCharsPerLine: number;
@@ -98,6 +98,7 @@ export interface IProductSizeEngraving {
98
98
  maxCharsPerLine: number;
99
99
  fee: number;
100
100
  location: string;
101
+ isRequired: boolean;
101
102
  }
102
103
  export interface IProductSizeAttributes {
103
104
  presale: IProductPresale;
@@ -21,6 +21,7 @@ export declare class ProductAddToCartSectionComponent extends BaseComponent<IAdd
21
21
  private calculateTotalPrice;
22
22
  private createQuantityContainer;
23
23
  private getSizeAttributes;
24
+ private openEngravingForm;
24
25
  private isPresaleActive;
25
26
  private createAddToCartButton;
26
27
  protected template(): HTMLElement[] | string;
@@ -12,6 +12,7 @@ export declare class EngravingViewComponent extends BaseComponent<IEngravingView
12
12
  get hostClasses(): string[];
13
13
  private engravingQuantityFee;
14
14
  private engravingLines;
15
+ private isEngravingRequired;
15
16
  private handleEdit;
16
17
  private handleRemove;
17
18
  protected template(): HTMLElement | HTMLElement[] | 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.6.0-beta.65",
6
+ "version": "2.6.0-beta.67",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",