@apexcura/ui-components 0.0.12-Beta23 → 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 +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -203,9 +203,11 @@ var RadioElement = (props) => {
|
|
|
203
203
|
props.onChange(selectedOptions);
|
|
204
204
|
}
|
|
205
205
|
};
|
|
206
|
+
console.log("-----------", props.options);
|
|
207
|
+
console.log(selectedValue);
|
|
206
208
|
const radioOptions = props.options && props.options.map((option) => ({
|
|
207
209
|
...option,
|
|
208
|
-
className: selectedValue === option.value ? option.selectedClassName : option.className,
|
|
210
|
+
className: selectedValue === option.value ? option.selectedClassName && option.selectedClassName : option.className && option.className,
|
|
209
211
|
disabled: isDisabled
|
|
210
212
|
}));
|
|
211
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,9 +156,11 @@ var RadioElement = (props) => {
|
|
|
156
156
|
props.onChange(selectedOptions);
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
|
+
console.log("-----------", props.options);
|
|
160
|
+
console.log(selectedValue);
|
|
159
161
|
const radioOptions = props.options && props.options.map((option) => ({
|
|
160
162
|
...option,
|
|
161
|
-
className: selectedValue === option.value ? option.selectedClassName : option.className,
|
|
163
|
+
className: selectedValue === option.value ? option.selectedClassName && option.selectedClassName : option.className && option.className,
|
|
162
164
|
disabled: isDisabled
|
|
163
165
|
}));
|
|
164
166
|
return /* @__PURE__ */ React6.createElement(React6.Fragment, null, /* @__PURE__ */ React6.createElement("h6", null, "joikdf"), /* @__PURE__ */ React6.createElement(
|