@apexcura/ui-components 0.0.12-Beta36 → 0.0.12-Beta38

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
@@ -202,7 +202,7 @@ var RadioElement = (props) => {
202
202
  }
203
203
  };
204
204
  const getButtonStyle = (option) => {
205
- return selectedValue === option.value ? option.selectedClassName : option.selectedClassName;
205
+ return selectedValue === option.value ? option.selectedClassName : option.className;
206
206
  };
207
207
  return /* @__PURE__ */ import_react6.default.createElement("div", null, /* @__PURE__ */ import_react6.default.createElement("h1", null, "hsjas"), /* @__PURE__ */ import_react6.default.createElement(
208
208
  import_antd6.Radio.Group,
@@ -218,7 +218,8 @@ var RadioElement = (props) => {
218
218
  key: option.value,
219
219
  value: option.value,
220
220
  disabled: isDisabled && selectedValue !== option.value,
221
- className: getButtonStyle(option)
221
+ className: getButtonStyle(option),
222
+ style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
222
223
  },
223
224
  option.label
224
225
  ))
package/dist/index.mjs CHANGED
@@ -155,7 +155,7 @@ var RadioElement = (props) => {
155
155
  }
156
156
  };
157
157
  const getButtonStyle = (option) => {
158
- return selectedValue === option.value ? option.selectedClassName : option.selectedClassName;
158
+ return selectedValue === option.value ? option.selectedClassName : option.className;
159
159
  };
160
160
  return /* @__PURE__ */ React6.createElement("div", null, /* @__PURE__ */ React6.createElement("h1", null, "hsjas"), /* @__PURE__ */ React6.createElement(
161
161
  Radio.Group,
@@ -171,7 +171,8 @@ var RadioElement = (props) => {
171
171
  key: option.value,
172
172
  value: option.value,
173
173
  disabled: isDisabled && selectedValue !== option.value,
174
- className: getButtonStyle(option)
174
+ className: getButtonStyle(option),
175
+ style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
175
176
  },
176
177
  option.label
177
178
  ))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.12-Beta36",
3
+ "version": "0.0.12-Beta38",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",