@apexcura/ui-components 0.0.12-Beta24 → 0.0.12-Beta25

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
@@ -203,10 +203,11 @@ var RadioElement = (props) => {
203
203
  props.onChange(selectedOptions);
204
204
  }
205
205
  };
206
- console.log(props.options);
206
+ console.log("-----------", props.options);
207
+ console.log(selectedValue);
207
208
  const radioOptions = props.options && props.options.map((option) => ({
208
209
  ...option,
209
- className: selectedValue === option.value ? option.selectedClassName : option.className,
210
+ className: selectedValue === option.value ? option.selectedClassName && option.selectedClassName : option.className && option.className,
210
211
  disabled: isDisabled
211
212
  }));
212
213
  return /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, /* @__PURE__ */ import_react6.default.createElement("h6", null, "joikdf"), /* @__PURE__ */ import_react6.default.createElement(
package/dist/index.mjs CHANGED
@@ -156,10 +156,11 @@ var RadioElement = (props) => {
156
156
  props.onChange(selectedOptions);
157
157
  }
158
158
  };
159
- console.log(props.options);
159
+ console.log("-----------", props.options);
160
+ console.log(selectedValue);
160
161
  const radioOptions = props.options && props.options.map((option) => ({
161
162
  ...option,
162
- className: selectedValue === option.value ? option.selectedClassName : option.className,
163
+ className: selectedValue === option.value ? option.selectedClassName && option.selectedClassName : option.className && option.className,
163
164
  disabled: isDisabled
164
165
  }));
165
166
  return /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement("h6", null, "joikdf"), /* @__PURE__ */ React6.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.12-Beta24",
3
+ "version": "0.0.12-Beta25",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",