wini-web-components 1.5.3 → 1.5.4
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.
|
@@ -31,7 +31,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
32
|
exports.RadioButton = void 0;
|
|
33
33
|
var react_1 = __importDefault(require("react"));
|
|
34
|
-
require("./radio-button.css");
|
|
34
|
+
var radio_button_module_css_1 = __importDefault(require("./radio-button.module.css"));
|
|
35
35
|
var RadioButton = /** @class */ (function (_super) {
|
|
36
36
|
__extends(RadioButton, _super);
|
|
37
37
|
function RadioButton() {
|
|
@@ -53,11 +53,11 @@ var RadioButton = /** @class */ (function (_super) {
|
|
|
53
53
|
delete this.props.style.maxHeight;
|
|
54
54
|
convertStyle = __assign(__assign({}, this.props.style), convertStyle);
|
|
55
55
|
}
|
|
56
|
-
return react_1.default.createElement("label", { id: this.props.id, className: "radio-btn-container
|
|
56
|
+
return react_1.default.createElement("label", { id: this.props.id, className: "row ".concat(radio_button_module_css_1.default['radio-btn-container'], " ").concat((_c = this.props.className) !== null && _c !== void 0 ? _c : ''), style: convertStyle },
|
|
57
57
|
this.props.register ?
|
|
58
58
|
react_1.default.createElement("input", __assign({}, this.props.register, { type: "radio", value: this.props.value, disabled: this.props.disabled })) :
|
|
59
59
|
react_1.default.createElement("input", { type: "radio", name: this.props.name, value: this.props.value, defaultChecked: this.props.defaultChecked, disabled: this.props.disabled, onChange: this.props.onChange }),
|
|
60
|
-
react_1.default.createElement("span", { className:
|
|
60
|
+
react_1.default.createElement("span", { className: radio_button_module_css_1.default['checkmark'] }));
|
|
61
61
|
};
|
|
62
62
|
return RadioButton;
|
|
63
63
|
}(react_1.default.Component));
|