@apexcura/ui-components 0.0.12-Beta34 → 0.0.12-Beta36
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 +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -202,9 +202,9 @@ var RadioElement = (props) => {
|
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
const getButtonStyle = (option) => {
|
|
205
|
-
return selectedValue === option.value ? option.selectedClassName : option.
|
|
205
|
+
return selectedValue === option.value ? option.selectedClassName : option.selectedClassName;
|
|
206
206
|
};
|
|
207
|
-
return /* @__PURE__ */ import_react6.default.createElement(
|
|
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,
|
|
209
209
|
{
|
|
210
210
|
onChange: handleChange,
|
|
@@ -217,12 +217,12 @@ var RadioElement = (props) => {
|
|
|
217
217
|
{
|
|
218
218
|
key: option.value,
|
|
219
219
|
value: option.value,
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
disabled: isDisabled && selectedValue !== option.value,
|
|
221
|
+
className: getButtonStyle(option)
|
|
222
222
|
},
|
|
223
223
|
option.label
|
|
224
224
|
))
|
|
225
|
-
);
|
|
225
|
+
));
|
|
226
226
|
};
|
|
227
227
|
|
|
228
228
|
// src/Components/Checkbox.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -155,9 +155,9 @@ var RadioElement = (props) => {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
const getButtonStyle = (option) => {
|
|
158
|
-
return selectedValue === option.value ? option.selectedClassName : option.
|
|
158
|
+
return selectedValue === option.value ? option.selectedClassName : option.selectedClassName;
|
|
159
159
|
};
|
|
160
|
-
return /* @__PURE__ */ React6.createElement(
|
|
160
|
+
return /* @__PURE__ */ React6.createElement("div", null, /* @__PURE__ */ React6.createElement("h1", null, "hsjas"), /* @__PURE__ */ React6.createElement(
|
|
161
161
|
Radio.Group,
|
|
162
162
|
{
|
|
163
163
|
onChange: handleChange,
|
|
@@ -170,12 +170,12 @@ var RadioElement = (props) => {
|
|
|
170
170
|
{
|
|
171
171
|
key: option.value,
|
|
172
172
|
value: option.value,
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
disabled: isDisabled && selectedValue !== option.value,
|
|
174
|
+
className: getButtonStyle(option)
|
|
175
175
|
},
|
|
176
176
|
option.label
|
|
177
177
|
))
|
|
178
|
-
);
|
|
178
|
+
));
|
|
179
179
|
};
|
|
180
180
|
|
|
181
181
|
// src/Components/Checkbox.tsx
|