@depict-ai/portal-components 2.8.10 → 2.9.0

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.d.ts CHANGED
@@ -4,7 +4,7 @@ import { SearchFilter } from "@depict-ai/types/api/SearchResponse";
4
4
  import { Locale } from "@depict-ai/react-ui/locales/latest";
5
5
  import { ReactNode } from "react";
6
6
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
7
- export const version = "2.8.10";
7
+ export const version = "2.9.0";
8
8
  type TextOptions = {
9
9
  /** Enabled */
10
10
  enabled: boolean;
@@ -139,6 +139,7 @@ export function ReactFilterBody(react_props: {
139
139
  expanded_: boolean;
140
140
  }[]) => void;
141
141
  hideClearAllButton?: boolean;
142
+ hideCount0FilterOptions_?: boolean;
142
143
  }): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
143
144
  export function ExpandingSection({ summary: summary_children, children, className, ...other_react_props }: {
144
145
  className?: string;
package/dist/main.js CHANGED
@@ -20,7 +20,7 @@ $parcel$export(module.exports, "ExpandingSection", () => $2214dc111b9e2866$expor
20
20
  $parcel$export(module.exports, "ReactLookCard", () => $35bab9ff48bfe404$export$48787da2a5568bc);
21
21
  $parcel$export(module.exports, "version", () => $0a017be3a74fcc94$export$83d89fbfd8236492);
22
22
  /*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
23
- const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.8.10";
23
+ const $0a017be3a74fcc94$export$83d89fbfd8236492 = "2.9.0";
24
24
 
25
25
 
26
26
 
@@ -1363,7 +1363,8 @@ function $240090d16a629bfe$export$d929db7fb6179159(react_props) {
1363
1363
  expanded_filters_: (0, $a1efb49ef2dfa3c2$export$32717ad33b14d079)(()=>props_store.expandedFilters, ()=>props_store.setExpandedFilters),
1364
1364
  selected_filters_: selected_filters_,
1365
1365
  expanded_hierarchical_filters_: (0, $a1efb49ef2dfa3c2$export$32717ad33b14d079)(()=>props_store.expandedHierarchicalFilters, ()=>props_store.setExpandedHierarchicalFilters),
1366
- local_filter_cache_: local_filter_cache_
1366
+ local_filter_cache_: local_filter_cache_,
1367
+ hideCount0FilterOptions_: ()=>react_props.hideCount0FilterOptions_ ?? false
1367
1368
  });
1368
1369
  const filters = document.createElement("div");
1369
1370
  filters.classList.add("filters");
package/dist/module.js CHANGED
@@ -7,7 +7,7 @@ import {createContext as $2MCgq$createContext, createMemo as $2MCgq$createMemo,
7
7
  import {createPortal as $2MCgq$createPortal} from "react-dom";
8
8
 
9
9
  /*! Depict.ai portal components */ // This is where the actual source of your React stuff should live
10
- const $91c11b750e80ede3$export$83d89fbfd8236492 = "2.8.10";
10
+ const $91c11b750e80ede3$export$83d89fbfd8236492 = "2.9.0";
11
11
 
12
12
 
13
13
 
@@ -1350,7 +1350,8 @@ function $890b58a81f64b470$export$d929db7fb6179159(react_props) {
1350
1350
  expanded_filters_: (0, $d899f63cec76a884$export$32717ad33b14d079)(()=>props_store.expandedFilters, ()=>props_store.setExpandedFilters),
1351
1351
  selected_filters_: selected_filters_,
1352
1352
  expanded_hierarchical_filters_: (0, $d899f63cec76a884$export$32717ad33b14d079)(()=>props_store.expandedHierarchicalFilters, ()=>props_store.setExpandedHierarchicalFilters),
1353
- local_filter_cache_: local_filter_cache_
1353
+ local_filter_cache_: local_filter_cache_,
1354
+ hideCount0FilterOptions_: ()=>react_props.hideCount0FilterOptions_ ?? false
1354
1355
  });
1355
1356
  const filters = document.createElement("div");
1356
1357
  filters.classList.add("filters");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/portal-components",
3
- "version": "2.8.10",
3
+ "version": "2.9.0",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",
@@ -94,7 +94,7 @@
94
94
  "@types/node": "^18.11.11",
95
95
  "@types/react": "^18.0.26",
96
96
  "@types/react-dom": "^18.0.10",
97
- "babel-preset-solid": "^1.8.16",
97
+ "babel-preset-solid": "^1.9.3",
98
98
  "react": "^18.2.0",
99
99
  "react-dom": "^18.2.0",
100
100
  "ts-jest": "^29.0.5"
@@ -102,12 +102,12 @@
102
102
  "dependencies": {
103
103
  "@babel/runtime": "latest",
104
104
  "@babel/runtime-corejs3": "^7.22.6",
105
- "@depict-ai/plp-styling": "^4.5.1",
106
- "@depict-ai/react-ui": "^4.9.11",
107
- "@depict-ai/types": "^5.5.1",
108
- "@depict-ai/ui": "^4.9.9",
109
- "@depict-ai/utilishared": "^2.5.1",
105
+ "@depict-ai/plp-styling": "^4.6.0",
106
+ "@depict-ai/react-ui": "^4.10.0",
107
+ "@depict-ai/types": "^5.6.0",
108
+ "@depict-ai/ui": "^4.10.0",
109
+ "@depict-ai/utilishared": "^2.6.0",
110
110
  "parcel": "^2.10.3",
111
- "solid-js": "^1.8.16"
111
+ "solid-js": "^1.9.3"
112
112
  }
113
113
  }