@npm_leadtech/legal-lib-components 5.52.1 → 5.53.1
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.
|
@@ -16,6 +16,6 @@ const Radio = ({ class: className, format = RadioFormat.Default, validate = fals
|
|
|
16
16
|
});
|
|
17
17
|
return (_jsxs("div", { className: classNameValue, children: [_jsx("label", { htmlFor: name, className: 'sans-serif --medium --bold-weight label', children: label }), _jsx("div", { className: 'e-radio__inner', children: items.map((radio) => {
|
|
18
18
|
return (_jsx("div", { className: `radio-item-container ${radio.value === value ? 'active' : ''}`, children: _jsxs("label", { className: 'e-radio-label', children: [radio.iconName !== undefined && radio.iconName !== '' && (_jsx(IconImage, { givenClass: 'radio-icon', iconName: radio.iconName })), _jsx("input", { type: 'radio', className: 'radio-item-input', id: `${name}_${radio.value}`, name: name, onChange: onChange, value: radio.value, checked: radio.value === value, disabled: disabled }), _jsx("label", { className: 'e-radio-label__label sans-serif --medium', htmlFor: `${name}_${radio.value}`, "data-qa": `${name}_${radio.value}`, children: radio.label }), help && _jsx("div", { children: help })] }, radio.value) }, radio.value));
|
|
19
|
-
}) }), tooltip
|
|
19
|
+
}) }), tooltip && _jsx("p", { className: 'tooltip-form sans-serif --small', children: tooltip })] }));
|
|
20
20
|
};
|
|
21
21
|
export default Radio;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-lib-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.53.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"upgrade-major": "yarn prepare-upgrade && npm version major -m \"Update major version number\" && git push && git push --tags",
|
|
17
17
|
"storybook": "storybook dev -p 6006",
|
|
18
18
|
"format": "prettier --write \"**/*.{js,jsx,json,md,ts,tsx,scss}\"",
|
|
19
|
-
"jest": "jest --maxWorkers=
|
|
19
|
+
"jest": "jest --maxWorkers=2",
|
|
20
20
|
"test": "jest --coverage",
|
|
21
21
|
"prepare": "husky",
|
|
22
22
|
"eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
|