simpo-component-library 3.8.14 → 3.8.16

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.
@@ -82,6 +82,21 @@ export declare class ProductDescComponent extends BaseSection implements DoCheck
82
82
  changeTab(tab: string): void;
83
83
  ngOnInit(): void;
84
84
  ngAfterViewInit(): void;
85
+ descExpanded: boolean;
86
+ rteOverflow: boolean;
87
+ rteBox?: ElementRef<HTMLElement>;
88
+ private static readonly RTE_CLAMP_PX;
89
+ private stickyRO?;
90
+ private stickyEls;
91
+ private stickyUpdate;
92
+ private setupSticky;
93
+ ngOnDestroy(): void;
94
+ ngAfterViewChecked(): void;
95
+ private touchStartX;
96
+ onGalleryTouchStart(e: TouchEvent): void;
97
+ onGalleryTouchEnd(e: TouchEvent): void;
98
+ /** Eyebrow line above the title, e.g. "18KT Yellow Gold · Lab-grown diamonds" (from the product's materials). */
99
+ get materialsEyebrow(): string;
85
100
  varientLoading: boolean;
86
101
  get customFieldSpecs(): {
87
102
  label: string;
@@ -114,6 +129,13 @@ export declare class ProductDescComponent extends BaseSection implements DoCheck
114
129
  isVarientAvailable(varient: any): boolean;
115
130
  reviewTitle: string;
116
131
  reviewDescription: string;
132
+ reviewHover: number;
133
+ /** "Write a review" is only offered to logged-in users. */
134
+ get isLoggedIn(): boolean;
135
+ openReviewModal(): void;
136
+ closeReviewModal(): void;
137
+ private unlockBodyScroll;
138
+ onEscape(): void;
117
139
  addProductReview(): void;
118
140
  private getVarientQuantity;
119
141
  private isVarientPresentInWishtlist;
@@ -133,7 +155,7 @@ export declare class ProductDescComponent extends BaseSection implements DoCheck
133
155
  getHeaderColor(type: string): string;
134
156
  formatItemCode(code: any): string | null;
135
157
  getTextColor(color: any): "#000000" | "#ffffff";
136
- getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
158
+ getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
137
159
  onFindInStore(id: string): void;
138
160
  onBookAppointment(): void;
139
161
  isDetails: boolean;
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
21
21
  get stylesLayout(): LayOutModel;
22
22
  get spacingLayout(): SpacingModel;
23
23
  getParentClass(): "" | "overflow-scroll flex-nowrap";
24
- getClass(index: number): "col-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
24
+ getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
25
25
  showSchemeDetails(scheme: any): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
@@ -32,7 +32,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
32
32
  get stylesLayout(): LayOutModel;
33
33
  get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
34
34
  get getBackgroundColor(): BackgroundModel;
35
- get getBackgroundOpacity(): "0" | "1" | "0.7" | "0.5" | "0.6" | "0.8";
35
+ get getBackgroundOpacity(): "1" | "0" | "0.7" | "0.5" | "0.6" | "0.8";
36
36
  opacityValue(value: OverlayValue): "1" | "0.7" | "0.5" | "0.6" | "0.8";
37
37
  editSection(): void;
38
38
  getScreenSize(): number;
@@ -108,6 +108,12 @@ export declare class HeaderSectionComponent implements OnInit, AfterViewInit, On
108
108
  get backgroundInfo(): any;
109
109
  get simpoColor(): any;
110
110
  get accentColor(): any;
111
+ /** Accent colour for the Schemes / Stores / Deliver-to buttons (a neutral brand red if none is set). */
112
+ get utilAccent(): string;
113
+ /** Soft tint of the accent: the chip's resting background and the button's hover background. */
114
+ get utilAccentSoft(): string;
115
+ /** Icon colour on the solid accent chip (hover state): dark or white, whichever reads better. */
116
+ get utilOnAccent(): string;
111
117
  get isTransparent(): any;
112
118
  redirectTo(content: any): void;
113
119
  showSearchBar: boolean;
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(data: any): void;
26
- getClass(): "col-6" | "col-4" | "col-3" | "col-12";
26
+ getClass(): "col-4" | "col-12" | "col-6" | "col-3";
27
27
  getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.8.14",
3
+ "version": "3.8.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file