@devtron-labs/devtron-fe-common-lib 0.0.7-beta-24 → 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.
@@ -106,7 +106,7 @@ export interface ReloadType {
106
106
  }
107
107
  export interface RadioGroupItemProps {
108
108
  value: string;
109
- dataTestId: string;
109
+ dataTestId?: string;
110
110
  }
111
111
  export interface RadioGroupProps {
112
112
  value: string;
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: "form__raRadioGroupItemdio-item-content" }, { children: [jsxRuntime.jsx("span", { className: "radio__button" }), jsxRuntime.jsx("span", __assign({ className: "radio__title" }, { children: _this.props.children }))] }))] })) }));
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.7-beta-24",
3
+ "version": "0.0.7-beta-30",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -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="form__raRadioGroupItemdio-item-content">
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>
@@ -116,7 +116,7 @@ export interface ReloadType {
116
116
 
117
117
  export interface RadioGroupItemProps {
118
118
  value: string
119
- dataTestId: string
119
+ dataTestId?: string
120
120
  }
121
121
 
122
122
  export interface RadioGroupProps {