@depict-ai/react-ui 4.9.10 → 4.9.11
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/ES10/index.cjs +7 -1
- package/ES10/index.d.ts +5 -1
- package/ES10/index.js +7 -1
- package/latest/index.cjs +7 -1
- package/latest/index.d.ts +5 -1
- package/latest/index.js +7 -1
- package/package.json +2 -2
- package/server/ES10/index.cjs +1 -1
- package/server/ES10/index.d.ts +5 -1
- package/server/ES10/index.js +1 -1
- package/server/latest/index.cjs +1 -1
- package/server/latest/index.d.ts +5 -1
- package/server/latest/index.js +1 -1
package/ES10/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ $parcel$export(module.exports, "version", () => $efbdd2dab4314170$export$83d89fb
|
|
|
43
43
|
$parcel$export(module.exports, "Navigation", () => $0d3a2413fdeb34b9$export$b8a61e5c71402559);
|
|
44
44
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
45
45
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
46
|
-
const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.9.
|
|
46
|
+
const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.9.11";
|
|
47
47
|
const $ef516b1f92253963$export$8e769ad4338a911e = {
|
|
48
48
|
usedLocale: $2kiy7$solidjs.createSignal((0, $2kiy7$depictaiuilocales.defaultLocale)),
|
|
49
49
|
search_instances: new Map(),
|
|
@@ -696,6 +696,9 @@ function $a81b3f46133355c5$var$SolidSearchPage(props, set_portals) {
|
|
|
696
696
|
var _props$gridSpacing;
|
|
697
697
|
return (_props$gridSpacing = props.gridSpacing) !== null && _props$gridSpacing !== void 0 ? _props$gridSpacing : (0, $2kiy7$depictaiui.defaultGridSpacing);
|
|
698
698
|
},
|
|
699
|
+
get hideCount0FilterOptions_() {
|
|
700
|
+
return props.hideCount0FilterOptions;
|
|
701
|
+
},
|
|
699
702
|
depict_search: depict_search(),
|
|
700
703
|
product_card_template: (display, info) => $3441d987b5ea85cb$export$32024253978abdc7({
|
|
701
704
|
component_props: {
|
|
@@ -796,6 +799,9 @@ function $b0f04d11b78e06c3$var$SolidCategoryPage(props, set_portals) {
|
|
|
796
799
|
get show_quicklinks() {
|
|
797
800
|
return props.showQuicklinks;
|
|
798
801
|
},
|
|
802
|
+
get hideCount0FilterOptions_() {
|
|
803
|
+
return props.hideCount0FilterOptions;
|
|
804
|
+
},
|
|
799
805
|
get content_blocks_by_row() {
|
|
800
806
|
// Having content blocks and a slider at the same time is not supported, so we have to actually forward undefined if none are specified
|
|
801
807
|
if (!props.contentBlocksByRow) return undefined;
|
package/ES10/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
|
|
|
3
3
|
import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, SDKColsAtSize, SDKGridSpacing, ExclusiveId, fetchDepictRecommendations, FilterWithData } from "@depict-ai/ui/ES10";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales/ES10";
|
|
5
5
|
import { Display, ModernDisplay } from "@depict-ai/utilishared/ES10";
|
|
6
|
-
export const version = "4.9.
|
|
6
|
+
export const version = "4.9.11";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
|
@@ -155,6 +155,10 @@ interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
|
155
155
|
* The product card to use for rendering products.
|
|
156
156
|
*/
|
|
157
157
|
productCard: DepictProductCard<T>;
|
|
158
|
+
/**
|
|
159
|
+
* When set to true, filter options that wouldn't yield any results given the current filters are hidden.
|
|
160
|
+
*/
|
|
161
|
+
hideCount0FilterOptions?: boolean;
|
|
158
162
|
}
|
|
159
163
|
/**
|
|
160
164
|
* The Depict product card props.
|
package/ES10/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { renderToString as $jb2Oo$renderToString } from "react-dom/server";
|
|
|
15
15
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
16
16
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
17
17
|
register_es_version("react-ui", "ES10");
|
|
18
|
-
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.9.
|
|
18
|
+
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.9.11";
|
|
19
19
|
const $8c691d7f86317052$export$8e769ad4338a911e = {
|
|
20
20
|
usedLocale: $jb2Oo$createSignal((0, $jb2Oo$defaultLocale)),
|
|
21
21
|
search_instances: new Map(),
|
|
@@ -668,6 +668,9 @@ function $f33e2dee70c97da3$var$SolidSearchPage(props, set_portals) {
|
|
|
668
668
|
var _props$gridSpacing;
|
|
669
669
|
return (_props$gridSpacing = props.gridSpacing) !== null && _props$gridSpacing !== void 0 ? _props$gridSpacing : (0, $jb2Oo$defaultGridSpacing);
|
|
670
670
|
},
|
|
671
|
+
get hideCount0FilterOptions_() {
|
|
672
|
+
return props.hideCount0FilterOptions;
|
|
673
|
+
},
|
|
671
674
|
depict_search: depict_search(),
|
|
672
675
|
product_card_template: (display, info) => $cce08f18e2476cbf$export$32024253978abdc7({
|
|
673
676
|
component_props: {
|
|
@@ -768,6 +771,9 @@ function $710dda89475e8c05$var$SolidCategoryPage(props, set_portals) {
|
|
|
768
771
|
get show_quicklinks() {
|
|
769
772
|
return props.showQuicklinks;
|
|
770
773
|
},
|
|
774
|
+
get hideCount0FilterOptions_() {
|
|
775
|
+
return props.hideCount0FilterOptions;
|
|
776
|
+
},
|
|
771
777
|
get content_blocks_by_row() {
|
|
772
778
|
// Having content blocks and a slider at the same time is not supported, so we have to actually forward undefined if none are specified
|
|
773
779
|
if (!props.contentBlocksByRow) return undefined;
|
package/latest/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fb
|
|
|
43
43
|
$parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a61e5c71402559);
|
|
44
44
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
45
45
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
46
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "4.9.
|
|
46
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "4.9.11";
|
|
47
47
|
const $0b7cd4fb39fc3502$export$8e769ad4338a911e = {
|
|
48
48
|
usedLocale: $2IzJs$solidjs.createSignal((0, $2IzJs$depictaiuilocales.defaultLocale)),
|
|
49
49
|
search_instances: new Map(),
|
|
@@ -659,6 +659,9 @@ function $4e47e1e003da166e$var$SolidSearchPage(props, set_portals) {
|
|
|
659
659
|
get grid_spacing() {
|
|
660
660
|
return props.gridSpacing ?? (0, $2IzJs$depictaiui.defaultGridSpacing);
|
|
661
661
|
},
|
|
662
|
+
get hideCount0FilterOptions_() {
|
|
663
|
+
return props.hideCount0FilterOptions;
|
|
664
|
+
},
|
|
662
665
|
depict_search: depict_search(),
|
|
663
666
|
product_card_template: (display, info) => $6081519c185fcf70$export$32024253978abdc7({
|
|
664
667
|
component_props: {
|
|
@@ -756,6 +759,9 @@ function $03d75efbc2476217$var$SolidCategoryPage(props, set_portals) {
|
|
|
756
759
|
get show_quicklinks() {
|
|
757
760
|
return props.showQuicklinks;
|
|
758
761
|
},
|
|
762
|
+
get hideCount0FilterOptions_() {
|
|
763
|
+
return props.hideCount0FilterOptions;
|
|
764
|
+
},
|
|
759
765
|
get content_blocks_by_row() {
|
|
760
766
|
// Having content blocks and a slider at the same time is not supported, so we have to actually forward undefined if none are specified
|
|
761
767
|
if (!props.contentBlocksByRow) return undefined;
|
package/latest/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
|
|
|
3
3
|
import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, SDKColsAtSize, SDKGridSpacing, ExclusiveId, fetchDepictRecommendations, FilterWithData } from "@depict-ai/ui/latest";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales/latest";
|
|
5
5
|
import { Display, ModernDisplay } from "@depict-ai/utilishared/latest";
|
|
6
|
-
export const version = "4.9.
|
|
6
|
+
export const version = "4.9.11";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
|
@@ -155,6 +155,10 @@ interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
|
155
155
|
* The product card to use for rendering products.
|
|
156
156
|
*/
|
|
157
157
|
productCard: DepictProductCard<T>;
|
|
158
|
+
/**
|
|
159
|
+
* When set to true, filter options that wouldn't yield any results given the current filters are hidden.
|
|
160
|
+
*/
|
|
161
|
+
hideCount0FilterOptions?: boolean;
|
|
158
162
|
}
|
|
159
163
|
/**
|
|
160
164
|
* The Depict product card props.
|
package/latest/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { renderToString as $2GFvs$renderToString } from "react-dom/server";
|
|
|
15
15
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
16
16
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
17
17
|
register_es_version("react-ui", "latest");
|
|
18
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.9.
|
|
18
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.9.11";
|
|
19
19
|
const $42858f023ef23dab$export$8e769ad4338a911e = {
|
|
20
20
|
usedLocale: $2GFvs$createSignal((0, $2GFvs$defaultLocale)),
|
|
21
21
|
search_instances: new Map(),
|
|
@@ -631,6 +631,9 @@ function $2f377099d56e566c$var$SolidSearchPage(props, set_portals) {
|
|
|
631
631
|
get grid_spacing() {
|
|
632
632
|
return props.gridSpacing ?? (0, $2GFvs$defaultGridSpacing);
|
|
633
633
|
},
|
|
634
|
+
get hideCount0FilterOptions_() {
|
|
635
|
+
return props.hideCount0FilterOptions;
|
|
636
|
+
},
|
|
634
637
|
depict_search: depict_search(),
|
|
635
638
|
product_card_template: (display, info) => $bcf84a32dc612a43$export$32024253978abdc7({
|
|
636
639
|
component_props: {
|
|
@@ -728,6 +731,9 @@ function $6e2ebc6b1506f2c7$var$SolidCategoryPage(props, set_portals) {
|
|
|
728
731
|
get show_quicklinks() {
|
|
729
732
|
return props.showQuicklinks;
|
|
730
733
|
},
|
|
734
|
+
get hideCount0FilterOptions_() {
|
|
735
|
+
return props.hideCount0FilterOptions;
|
|
736
|
+
},
|
|
731
737
|
get content_blocks_by_row() {
|
|
732
738
|
// Having content blocks and a slider at the same time is not supported, so we have to actually forward undefined if none are specified
|
|
733
739
|
if (!props.contentBlocksByRow) return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/react-ui",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.11",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "ES10/index.d.ts",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"@babel/runtime-corejs3": "latest",
|
|
138
138
|
"@depict-ai/dpc": "^2.5.1",
|
|
139
139
|
"@depict-ai/plp-styling": "^4.5.1",
|
|
140
|
-
"@depict-ai/ui": "^4.9.
|
|
140
|
+
"@depict-ai/ui": "^4.9.9",
|
|
141
141
|
"@depict-ai/utilishared": "^2.5.1",
|
|
142
142
|
"solid-js": "^1.8.16"
|
|
143
143
|
},
|
package/server/ES10/index.cjs
CHANGED
|
@@ -206,7 +206,7 @@ function $3b36cc844440a979$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
206
206
|
}
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
|
-
const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.9.
|
|
209
|
+
const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.9.11";
|
|
210
210
|
function $202459d454907b31$export$9fac37a9c21c2f3b(props) {
|
|
211
211
|
return props.children;
|
|
212
212
|
}
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
|
|
|
3
3
|
import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, SDKColsAtSize, SDKGridSpacing, ExclusiveId, fetchDepictRecommendations, FilterWithData } from "@depict-ai/ui/ES10";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales/ES10";
|
|
5
5
|
import { Display, ModernDisplay } from "@depict-ai/utilishared/ES10";
|
|
6
|
-
export const version = "4.9.
|
|
6
|
+
export const version = "4.9.11";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
|
@@ -155,6 +155,10 @@ interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
|
155
155
|
* The product card to use for rendering products.
|
|
156
156
|
*/
|
|
157
157
|
productCard: DepictProductCard<T>;
|
|
158
|
+
/**
|
|
159
|
+
* When set to true, filter options that wouldn't yield any results given the current filters are hidden.
|
|
160
|
+
*/
|
|
161
|
+
hideCount0FilterOptions?: boolean;
|
|
158
162
|
}
|
|
159
163
|
/**
|
|
160
164
|
* The Depict product card props.
|
package/server/ES10/index.js
CHANGED
|
@@ -179,7 +179,7 @@ function $cd68097a7ee08669$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
|
-
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.9.
|
|
182
|
+
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.9.11";
|
|
183
183
|
function $5c4add0a8fe94894$export$9fac37a9c21c2f3b(props) {
|
|
184
184
|
return props.children;
|
|
185
185
|
}
|
package/server/latest/index.cjs
CHANGED
|
@@ -195,7 +195,7 @@ function $c6b960f2a07285c8$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "4.9.
|
|
198
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "4.9.11";
|
|
199
199
|
function $41e7e5d85b5e0d49$export$9fac37a9c21c2f3b(props) {
|
|
200
200
|
return props.children;
|
|
201
201
|
}
|
package/server/latest/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import React, { PropsWithChildren, FC, ReactNode, ReactPortal, ReactElement } fr
|
|
|
3
3
|
import { BaseCategoryProviderConfig, BaseProviderConfig, BaseSearchProviderConfig, ModernDisplayWithPageUrl, BaseProductListingConfig, BaseSearchPageConfig, BaseCategoryPageConfig, CategoryTitle, embedded_num_products, ListingQuery, ImagePlaceholder as _ImagePlaceholder1, TextPlaceholder as _TextPlaceholder1, SDKColsAtSize, SDKGridSpacing, ExclusiveId, fetchDepictRecommendations, FilterWithData } from "@depict-ai/ui/latest";
|
|
4
4
|
import { Locale } from "@depict-ai/ui/locales/latest";
|
|
5
5
|
import { Display, ModernDisplay } from "@depict-ai/utilishared/latest";
|
|
6
|
-
export const version = "4.9.
|
|
6
|
+
export const version = "4.9.11";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
|
@@ -155,6 +155,10 @@ interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
|
155
155
|
* The product card to use for rendering products.
|
|
156
156
|
*/
|
|
157
157
|
productCard: DepictProductCard<T>;
|
|
158
|
+
/**
|
|
159
|
+
* When set to true, filter options that wouldn't yield any results given the current filters are hidden.
|
|
160
|
+
*/
|
|
161
|
+
hideCount0FilterOptions?: boolean;
|
|
158
162
|
}
|
|
159
163
|
/**
|
|
160
164
|
* The Depict product card props.
|
package/server/latest/index.js
CHANGED
|
@@ -168,7 +168,7 @@ function $4d5c3f13a5ae62a7$export$e46079a2793e9ec7(props, set_portals) {
|
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.9.
|
|
171
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.9.11";
|
|
172
172
|
function $2b1fdeb83610500f$export$9fac37a9c21c2f3b(props) {
|
|
173
173
|
return props.children;
|
|
174
174
|
}
|