cecomponent 2.0.66 → 2.0.67

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.
@@ -45295,7 +45295,7 @@ const CEAdvancedMultiSelectDropdown = ({
45295
45295
  }, []);
45296
45296
  const V = (z) => {
45297
45297
  var N;
45298
- return ((N = t.find((G) => G.value === z)) == null ? void 0 : N.label) || "";
45298
+ return Array.isArray(t) && ((N = t.find((G) => G.value === z || G.label === z)) == null ? void 0 : N.label) || "";
45299
45299
  }, K = (z) => {
45300
45300
  z.stopPropagation(), T(""), i([]);
45301
45301
  };
@@ -7,7 +7,7 @@ interface Option {
7
7
  interface CEAutoCompleteSelectProps {
8
8
  label: string;
9
9
  options: Option[];
10
- value: string[];
10
+ value: any[];
11
11
  onChange: (val: string[]) => void;
12
12
  placeholderText?: string;
13
13
  multiple?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cecomponent",
3
3
  "description": "A React component library for building modern UIs for Cleanearth",
4
- "version": "2.0.66",
4
+ "version": "2.0.67",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/idex.d.ts",
package/dist/App_bak.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare function App(): import("react/jsx-runtime").JSX.Element;
2
- export default App;