@devtron-labs/devtron-fe-common-lib 0.0.7-beta-28 → 0.0.7-beta-30
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 +1 -1
- package/package.json +1 -1
- package/src/Common/RadioGroup.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -4268,7 +4268,7 @@ var RadioGroupItem = /** @class */ (function (_super) {
|
|
|
4268
4268
|
RadioGroupItem.prototype.render = function () {
|
|
4269
4269
|
var _this = this;
|
|
4270
4270
|
return (jsxRuntime.jsx(RadioGroupContext.Consumer, { children: function (context) {
|
|
4271
|
-
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("label", __assign({ className: context.disabled ? 'form__radio-item disabled' : 'form__radio-item' }, { children: [jsxRuntime.jsx("input", { type: "radio", className: "form__checkbox", name: context.name, disabled: context.disabled, onChange: context.onChange, value: _this.props.value, checked: context.value === _this.props.value, "data-testid": _this.props.dataTestId }), jsxRuntime.jsxs("span", __assign({ className: "
|
|
4271
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("label", __assign({ className: context.disabled ? 'form__radio-item disabled' : 'form__radio-item' }, { children: [jsxRuntime.jsx("input", { type: "radio", className: "form__checkbox", name: context.name, disabled: context.disabled, onChange: context.onChange, value: _this.props.value, checked: context.value === _this.props.value, "data-testid": _this.props.dataTestId }), jsxRuntime.jsxs("span", __assign({ className: "form__radio-item-content" }, { children: [jsxRuntime.jsx("span", { className: "radio__button" }), jsxRuntime.jsx("span", __assign({ className: "radio__title" }, { children: _this.props.children }))] }))] })) }));
|
|
4272
4272
|
} }));
|
|
4273
4273
|
};
|
|
4274
4274
|
return RadioGroupItem;
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@ export class RadioGroupItem extends Component<RadioGroupItemProps> {
|
|
|
20
20
|
checked={context.value === this.props.value}
|
|
21
21
|
data-testid={this.props.dataTestId}
|
|
22
22
|
/>
|
|
23
|
-
<span className="
|
|
23
|
+
<span className="form__radio-item-content">
|
|
24
24
|
<span className="radio__button"></span>
|
|
25
25
|
<span className="radio__title">{this.props.children}</span>
|
|
26
26
|
</span>
|