revdev-components 0.265.0 → 0.266.0
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/build/index.js +4 -4
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6171,11 +6171,11 @@ var LevelLetterBadge = function (_a) {
|
|
|
6171
6171
|
if (levels.length === 0) {
|
|
6172
6172
|
return null;
|
|
6173
6173
|
}
|
|
6174
|
-
return (React.createElement("div", { className: classNames(s$5.root, className, (_b = {}, _b[s$5.root__hasActive] = !!activeCode, _b)) }, levels.map(function (
|
|
6175
|
-
var _a;
|
|
6174
|
+
return (React.createElement("div", { className: classNames(s$5.root, className, (_b = {}, _b[s$5.root__hasActive] = !!activeCode, _b)) }, levels.map(function (_a) {
|
|
6176
6175
|
var _b;
|
|
6177
|
-
|
|
6178
|
-
|
|
6176
|
+
var code = _a.code;
|
|
6177
|
+
return (React.createElement(AppTooltip, { key: code, title: title ? title({ code: code }) : "Proficiency language level: ".concat(code === null || code === void 0 ? void 0 : code.toUpperCase()) },
|
|
6178
|
+
React.createElement("span", { className: classNames(s$5.level, (_b = {}, _b[s$5.level__active] = (code === null || code === void 0 ? void 0 : code.toLowerCase()) === (activeCode === null || activeCode === void 0 ? void 0 : activeCode.toLowerCase()), _b), className) }, code === null || code === void 0 ? void 0 : code.toUpperCase())));
|
|
6179
6179
|
})));
|
|
6180
6180
|
};
|
|
6181
6181
|
|