@liquidcommerce/elements-sdk 2.1.0-beta.51 → 2.1.0-beta.53
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.
- package/dist/index.esm.js +6979 -6998
- package/dist/types/interfaces/configs/configurations.interface.d.ts +0 -2
- package/dist/types/interfaces/configs/global.interface.d.ts +2 -0
- package/dist/types/modules/cart/components/cart-footer.component.d.ts +0 -1
- package/dist/types/modules/ui-components/powered-by/powered-by.component.d.ts +2 -2
- package/package.json +1 -1
- package/umd/elements.js +1 -1
|
@@ -28,6 +28,8 @@ export interface IGlobalLayout {
|
|
|
28
28
|
personalizationCardStyle: 'outlined' | 'filled';
|
|
29
29
|
allowPromoCodes: boolean;
|
|
30
30
|
inputFieldStyle: 'outlined' | 'filled';
|
|
31
|
+
showPoweredBy: boolean;
|
|
32
|
+
poweredByMode: 'light' | 'dark';
|
|
31
33
|
}
|
|
32
34
|
export interface IComponentGlobalConfigs {
|
|
33
35
|
theme: IGlobalTheme;
|
|
@@ -8,7 +8,6 @@ export declare class CartFooterComponent extends BaseComponent<ICartFooterCompon
|
|
|
8
8
|
private subtotalText;
|
|
9
9
|
private subtotalPrice;
|
|
10
10
|
private checkoutButton;
|
|
11
|
-
private loadingIndicator;
|
|
12
11
|
constructor();
|
|
13
12
|
onStoreWatch(changes: IOnStoreChanged[]): void;
|
|
14
13
|
afterRender(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseComponent } from '@/core/base-component.service';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IComponentGlobalConfigs } from '@/interfaces/configs';
|
|
3
3
|
export interface IPoweredByComponentParams {
|
|
4
4
|
context: 'checkout' | 'general';
|
|
5
5
|
}
|
|
6
|
-
export declare class PoweredByComponent extends BaseComponent<IPoweredByComponentParams,
|
|
6
|
+
export declare class PoweredByComponent extends BaseComponent<IPoweredByComponentParams, IComponentGlobalConfigs> {
|
|
7
7
|
get hostClasses(): string[];
|
|
8
8
|
private createPoweredBySection;
|
|
9
9
|
private createDisclaimerSection;
|
package/package.json
CHANGED