@apexcura/ui-components 0.0.8-Beta4 → 0.0.8-Beta5

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.js CHANGED
@@ -304,7 +304,6 @@ var filterOption = (input, option) => (option?.label ?? "").toLowerCase().includ
304
304
  var handleChange = () => {
305
305
  };
306
306
  var SingleSelectElement = (props) => {
307
- console.log("passedprops.................", props.options);
308
307
  return /* @__PURE__ */ import_react10.default.createElement(
309
308
  import_antd8.Select,
310
309
  {
@@ -314,7 +313,7 @@ var SingleSelectElement = (props) => {
314
313
  onChange: handleChange,
315
314
  onSearch,
316
315
  filterOption,
317
- options: props.options
316
+ options: props.options.map((eachOption) => ({ label: String(eachOption.title), value: String(eachOption.title) }))
318
317
  }
319
318
  );
320
319
  };
package/dist/index.mjs CHANGED
@@ -258,7 +258,6 @@ var filterOption = (input, option) => (option?.label ?? "").toLowerCase().includ
258
258
  var handleChange = () => {
259
259
  };
260
260
  var SingleSelectElement = (props) => {
261
- console.log("passedprops.................", props.options);
262
261
  return /* @__PURE__ */ React9.createElement(
263
262
  Select2,
264
263
  {
@@ -268,7 +267,7 @@ var SingleSelectElement = (props) => {
268
267
  onChange: handleChange,
269
268
  onSearch,
270
269
  filterOption,
271
- options: props.options
270
+ options: props.options.map((eachOption) => ({ label: String(eachOption.title), value: String(eachOption.title) }))
272
271
  }
273
272
  );
274
273
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.8-Beta4",
3
+ "version": "0.0.8-Beta5",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",