@kachingappz/bundles-js 1.1.2 → 1.1.3
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/bundles-js.iife.js +24 -18
- package/dist/index.d.ts +16 -1
- package/dist/index.js +603 -928
- package/dist/kaching-bundle-component/index.d.ts +16 -1
- package/dist/kaching-bundle-component/index.js +1110 -1356
- package/dist/react/index.cjs +23 -17
- package/dist/react/index.d.ts +16 -1
- package/dist/react/index.js +1078 -1431
- package/package.json +6 -11
|
@@ -555,6 +555,7 @@ declare interface GlobalConfig {
|
|
|
555
555
|
"system.deal_page_line_quantity"?: string;
|
|
556
556
|
"system.deal_page_view_box"?: string;
|
|
557
557
|
"system.deal_page_close"?: string;
|
|
558
|
+
"system.deal_page_view_full_details"?: string;
|
|
558
559
|
"system.deal_page_back_to_products"?: string;
|
|
559
560
|
"system.deal_page_items_still_to_add_one"?: string;
|
|
560
561
|
"system.deal_page_items_still_to_add_other"?: string;
|
|
@@ -571,6 +572,12 @@ declare interface GlobalConfig {
|
|
|
571
572
|
"system.deal_page_items_range"?: string;
|
|
572
573
|
"system.deal_page_tip_box_size"?: string;
|
|
573
574
|
"system.deal_page_about_this_price"?: string;
|
|
575
|
+
"system.deal_page_rating"?: string;
|
|
576
|
+
"system.deal_page_rating_count_one"?: string;
|
|
577
|
+
"system.deal_page_rating_count_other"?: string;
|
|
578
|
+
"system.deal_page_rating_count_few"?: string;
|
|
579
|
+
"system.deal_page_rating_count_many"?: string;
|
|
580
|
+
"system.deal_page_promotion_percentage"?: string;
|
|
574
581
|
};
|
|
575
582
|
customSelectors: {
|
|
576
583
|
quantity: string | null;
|
|
@@ -581,7 +588,6 @@ declare interface GlobalConfig {
|
|
|
581
588
|
label?: string | null;
|
|
582
589
|
};
|
|
583
590
|
featureFlags: {
|
|
584
|
-
accelerated_checkout_additional_items?: boolean;
|
|
585
591
|
atc_total_price?: boolean;
|
|
586
592
|
cart_change_response_rewrite?: boolean;
|
|
587
593
|
cart_interceptor_dedupe_disabled?: boolean;
|
|
@@ -591,6 +597,7 @@ declare interface GlobalConfig {
|
|
|
591
597
|
hide_missing_variants?: boolean;
|
|
592
598
|
initialize_with_form_variant?: boolean;
|
|
593
599
|
intercept_cart_request?: boolean;
|
|
600
|
+
klaviyo_integration?: boolean;
|
|
594
601
|
legacy_saved_percentage?: boolean;
|
|
595
602
|
low_priority_scripts?: boolean;
|
|
596
603
|
native_swatches_disabled?: boolean;
|
|
@@ -610,6 +617,7 @@ declare interface GlobalConfig {
|
|
|
610
617
|
storefront_metaobjects?: boolean;
|
|
611
618
|
pos_extension?: boolean;
|
|
612
619
|
variant_images?: boolean;
|
|
620
|
+
widget_scroll_guard?: boolean;
|
|
613
621
|
};
|
|
614
622
|
shopCustomStyles: string;
|
|
615
623
|
brandColors?: BrandColors | null;
|
|
@@ -753,6 +761,7 @@ declare interface Product {
|
|
|
753
761
|
text3: string | null;
|
|
754
762
|
text4: string | null;
|
|
755
763
|
};
|
|
764
|
+
rating?: ProductRating | null;
|
|
756
765
|
}
|
|
757
766
|
|
|
758
767
|
declare interface ProductOption {
|
|
@@ -785,6 +794,11 @@ declare type ProductPersonalisation = {
|
|
|
785
794
|
required: boolean;
|
|
786
795
|
};
|
|
787
796
|
|
|
797
|
+
declare interface ProductRating {
|
|
798
|
+
value: number;
|
|
799
|
+
count: number | null;
|
|
800
|
+
}
|
|
801
|
+
|
|
788
802
|
declare type ProgressiveGift = {
|
|
789
803
|
id: string;
|
|
790
804
|
giftType: "product" | "shipping";
|
|
@@ -1039,6 +1053,7 @@ declare type Upsell = {
|
|
|
1039
1053
|
quantity: number;
|
|
1040
1054
|
preselected: boolean;
|
|
1041
1055
|
visibleOnlyWhenDealBarSelected: boolean;
|
|
1056
|
+
matchQuantityWithDealBar?: boolean;
|
|
1042
1057
|
subscriptionEnabled?: boolean;
|
|
1043
1058
|
subscriptionType?: "deal" | "always";
|
|
1044
1059
|
};
|