@depict-ai/react-ui 4.10.5 → 4.10.7
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.10.
|
|
46
|
+
const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.10.7";
|
|
47
47
|
const $ef516b1f92253963$export$8e769ad4338a911e = {
|
|
48
48
|
usedLocale: $2kiy7$solidjs.createSignal((0, $2kiy7$depictaiuilocales.defaultLocale)),
|
|
49
49
|
search_instances: new Map(),
|
|
@@ -711,6 +711,9 @@ function $a81b3f46133355c5$var$SolidSearchPage(props, set_portals) {
|
|
|
711
711
|
}),
|
|
712
712
|
get content_blocks_by_row() {
|
|
713
713
|
return transformed_content_blocks();
|
|
714
|
+
},
|
|
715
|
+
get switchToFiltersDrawerBreakpoint_() {
|
|
716
|
+
return props.switchToFiltersDrawerBreakpoint;
|
|
714
717
|
}
|
|
715
718
|
});
|
|
716
719
|
});
|
|
@@ -810,6 +813,9 @@ function $b0f04d11b78e06c3$var$SolidCategoryPage(props, set_portals) {
|
|
|
810
813
|
get layout() {
|
|
811
814
|
return props.layout;
|
|
812
815
|
},
|
|
816
|
+
get switchToFiltersDrawerBreakpoint_() {
|
|
817
|
+
return props.switchToFiltersDrawerBreakpoint;
|
|
818
|
+
},
|
|
813
819
|
product_card_template: (display, info) => $3441d987b5ea85cb$export$32024253978abdc7({
|
|
814
820
|
component_props: {
|
|
815
821
|
display: display
|
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.10.
|
|
6
|
+
export const version = "4.10.7";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
|
@@ -159,6 +159,10 @@ interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
|
159
159
|
* When set to true, filter options that wouldn't yield any results given the current filters are hidden.
|
|
160
160
|
*/
|
|
161
161
|
hideCount0FilterOptions?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Window max width (px) where filters are in a modal and not in a side-drawer.
|
|
164
|
+
*/
|
|
165
|
+
switchToFiltersDrawerBreakpoint?: number | undefined;
|
|
162
166
|
}
|
|
163
167
|
/**
|
|
164
168
|
* 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.10.
|
|
18
|
+
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.10.7";
|
|
19
19
|
const $8c691d7f86317052$export$8e769ad4338a911e = {
|
|
20
20
|
usedLocale: $jb2Oo$createSignal((0, $jb2Oo$defaultLocale)),
|
|
21
21
|
search_instances: new Map(),
|
|
@@ -683,6 +683,9 @@ function $f33e2dee70c97da3$var$SolidSearchPage(props, set_portals) {
|
|
|
683
683
|
}),
|
|
684
684
|
get content_blocks_by_row() {
|
|
685
685
|
return transformed_content_blocks();
|
|
686
|
+
},
|
|
687
|
+
get switchToFiltersDrawerBreakpoint_() {
|
|
688
|
+
return props.switchToFiltersDrawerBreakpoint;
|
|
686
689
|
}
|
|
687
690
|
});
|
|
688
691
|
});
|
|
@@ -782,6 +785,9 @@ function $710dda89475e8c05$var$SolidCategoryPage(props, set_portals) {
|
|
|
782
785
|
get layout() {
|
|
783
786
|
return props.layout;
|
|
784
787
|
},
|
|
788
|
+
get switchToFiltersDrawerBreakpoint_() {
|
|
789
|
+
return props.switchToFiltersDrawerBreakpoint;
|
|
790
|
+
},
|
|
785
791
|
product_card_template: (display, info) => $cce08f18e2476cbf$export$32024253978abdc7({
|
|
786
792
|
component_props: {
|
|
787
793
|
display: display
|
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.10.
|
|
46
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "4.10.7";
|
|
47
47
|
const $0b7cd4fb39fc3502$export$8e769ad4338a911e = {
|
|
48
48
|
usedLocale: $2IzJs$solidjs.createSignal((0, $2IzJs$depictaiuilocales.defaultLocale)),
|
|
49
49
|
search_instances: new Map(),
|
|
@@ -674,6 +674,9 @@ function $4e47e1e003da166e$var$SolidSearchPage(props, set_portals) {
|
|
|
674
674
|
}),
|
|
675
675
|
get content_blocks_by_row() {
|
|
676
676
|
return transformed_content_blocks();
|
|
677
|
+
},
|
|
678
|
+
get switchToFiltersDrawerBreakpoint_() {
|
|
679
|
+
return props.switchToFiltersDrawerBreakpoint;
|
|
677
680
|
}
|
|
678
681
|
});
|
|
679
682
|
});
|
|
@@ -770,6 +773,9 @@ function $03d75efbc2476217$var$SolidCategoryPage(props, set_portals) {
|
|
|
770
773
|
get layout() {
|
|
771
774
|
return props.layout;
|
|
772
775
|
},
|
|
776
|
+
get switchToFiltersDrawerBreakpoint_() {
|
|
777
|
+
return props.switchToFiltersDrawerBreakpoint;
|
|
778
|
+
},
|
|
773
779
|
product_card_template: (display, info) => $6081519c185fcf70$export$32024253978abdc7({
|
|
774
780
|
component_props: {
|
|
775
781
|
display: display
|
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.10.
|
|
6
|
+
export const version = "4.10.7";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
|
@@ -159,6 +159,10 @@ interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
|
159
159
|
* When set to true, filter options that wouldn't yield any results given the current filters are hidden.
|
|
160
160
|
*/
|
|
161
161
|
hideCount0FilterOptions?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Window max width (px) where filters are in a modal and not in a side-drawer.
|
|
164
|
+
*/
|
|
165
|
+
switchToFiltersDrawerBreakpoint?: number | undefined;
|
|
162
166
|
}
|
|
163
167
|
/**
|
|
164
168
|
* 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.10.
|
|
18
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.10.7";
|
|
19
19
|
const $42858f023ef23dab$export$8e769ad4338a911e = {
|
|
20
20
|
usedLocale: $2GFvs$createSignal((0, $2GFvs$defaultLocale)),
|
|
21
21
|
search_instances: new Map(),
|
|
@@ -646,6 +646,9 @@ function $2f377099d56e566c$var$SolidSearchPage(props, set_portals) {
|
|
|
646
646
|
}),
|
|
647
647
|
get content_blocks_by_row() {
|
|
648
648
|
return transformed_content_blocks();
|
|
649
|
+
},
|
|
650
|
+
get switchToFiltersDrawerBreakpoint_() {
|
|
651
|
+
return props.switchToFiltersDrawerBreakpoint;
|
|
649
652
|
}
|
|
650
653
|
});
|
|
651
654
|
});
|
|
@@ -742,6 +745,9 @@ function $6e2ebc6b1506f2c7$var$SolidCategoryPage(props, set_portals) {
|
|
|
742
745
|
get layout() {
|
|
743
746
|
return props.layout;
|
|
744
747
|
},
|
|
748
|
+
get switchToFiltersDrawerBreakpoint_() {
|
|
749
|
+
return props.switchToFiltersDrawerBreakpoint;
|
|
750
|
+
},
|
|
745
751
|
product_card_template: (display, info) => $bcf84a32dc612a43$export$32024253978abdc7({
|
|
746
752
|
component_props: {
|
|
747
753
|
display: display
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/react-ui",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.7",
|
|
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.6.1",
|
|
139
139
|
"@depict-ai/plp-styling": "^4.6.0",
|
|
140
|
-
"@depict-ai/ui": "^4.10.
|
|
140
|
+
"@depict-ai/ui": "^4.10.7",
|
|
141
141
|
"@depict-ai/utilishared": "^2.6.0",
|
|
142
142
|
"solid-js": "^1.9.3"
|
|
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.10.
|
|
209
|
+
const $efbdd2dab4314170$export$83d89fbfd8236492 = "4.10.7";
|
|
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.10.
|
|
6
|
+
export const version = "4.10.7";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
|
@@ -159,6 +159,10 @@ interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
|
159
159
|
* When set to true, filter options that wouldn't yield any results given the current filters are hidden.
|
|
160
160
|
*/
|
|
161
161
|
hideCount0FilterOptions?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Window max width (px) where filters are in a modal and not in a side-drawer.
|
|
164
|
+
*/
|
|
165
|
+
switchToFiltersDrawerBreakpoint?: number | undefined;
|
|
162
166
|
}
|
|
163
167
|
/**
|
|
164
168
|
* 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.10.
|
|
182
|
+
const $9bd9bb8700ab2ada$export$83d89fbfd8236492 = "4.10.7";
|
|
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.10.
|
|
198
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "4.10.7";
|
|
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.10.
|
|
6
|
+
export const version = "4.10.7";
|
|
7
7
|
interface UsePerformanceClientReturn {
|
|
8
8
|
dpc: DPC;
|
|
9
9
|
}
|
|
@@ -159,6 +159,10 @@ interface PLPConfig<T extends Display> extends BaseProductListingConfig {
|
|
|
159
159
|
* When set to true, filter options that wouldn't yield any results given the current filters are hidden.
|
|
160
160
|
*/
|
|
161
161
|
hideCount0FilterOptions?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Window max width (px) where filters are in a modal and not in a side-drawer.
|
|
164
|
+
*/
|
|
165
|
+
switchToFiltersDrawerBreakpoint?: number | undefined;
|
|
162
166
|
}
|
|
163
167
|
/**
|
|
164
168
|
* 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.10.
|
|
171
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "4.10.7";
|
|
172
172
|
function $2b1fdeb83610500f$export$9fac37a9c21c2f3b(props) {
|
|
173
173
|
return props.children;
|
|
174
174
|
}
|