revdev-components 0.253.0 → 0.255.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 +5 -4
- package/build/styles.css +8 -10
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6069,12 +6069,12 @@ var CopyButton = function (_a) {
|
|
|
6069
6069
|
return (React.createElement(antd.Typography.Text, { className: classNames(s$7.root, className), copyable: { text: value, icon: [React.createElement(RegularIcon, { name: "copy" }), React.createElement(RegularIcon, { name: "check" })] } }));
|
|
6070
6070
|
};
|
|
6071
6071
|
|
|
6072
|
-
var s$6 = {"
|
|
6072
|
+
var s$6 = {"root":"index-module_root__v3fD9","icon":"index-module_icon__-KK3y"};
|
|
6073
6073
|
|
|
6074
6074
|
var HelpTip = function (_a) {
|
|
6075
6075
|
var title = _a.title, className = _a.className, _b = _a.iconName, iconName = _b === void 0 ? "help" : _b, href = _a.href, target = _a.target, children = _a.children;
|
|
6076
6076
|
var iconNode = React.createElement(RegularIcon, { name: iconName, className: classNames(s$6.icon, className) });
|
|
6077
|
-
return (React.createElement(AppTooltip, { title: title || children, placement: "top" }, href ? (React.createElement(AppLink, { href: href, target: target, className: s$6.
|
|
6077
|
+
return (React.createElement(AppTooltip, { title: title || children, placement: "top" }, href ? (React.createElement(AppLink, { href: href, target: target, className: s$6.root }, iconNode)) : (iconNode)));
|
|
6078
6078
|
};
|
|
6079
6079
|
|
|
6080
6080
|
var s$5 = {"root":"index-module_root__W7fFh","bar":"index-module_bar__V-ymE","bar__active":"index-module_bar__active__-BwOz","rate":"index-module_rate__A2rzm","code":"index-module_code__aAnic"};
|
|
@@ -6136,9 +6136,10 @@ var LevelBarBadge = function (_a) {
|
|
|
6136
6136
|
children));
|
|
6137
6137
|
};
|
|
6138
6138
|
|
|
6139
|
-
var s$3 = {"root":"index-module_root__ogwMI","level":"index-module_level__EuETi","level__active":"index-module_level__active__lfzHe"};
|
|
6139
|
+
var s$3 = {"root":"index-module_root__ogwMI","root__hasActive":"index-module_root__hasActive__qvsDL","level":"index-module_level__EuETi","level__active":"index-module_level__active__lfzHe"};
|
|
6140
6140
|
|
|
6141
6141
|
var LevelLetterBadge = function (_a) {
|
|
6142
|
+
var _b;
|
|
6142
6143
|
var value = _a.levels, className = _a.className, activeCode = _a.activeCode, title = _a.title;
|
|
6143
6144
|
var levels = React.useMemo(function () {
|
|
6144
6145
|
if (typeof value === "string") {
|
|
@@ -6149,7 +6150,7 @@ var LevelLetterBadge = function (_a) {
|
|
|
6149
6150
|
if (levels.length === 0) {
|
|
6150
6151
|
return null;
|
|
6151
6152
|
}
|
|
6152
|
-
return (React.createElement("div", { className: classNames(s$3.root, className) }, levels.map(function (level) {
|
|
6153
|
+
return (React.createElement("div", { className: classNames(s$3.root, className, (_b = {}, _b[s$3.root__hasActive] = !!activeCode, _b)) }, levels.map(function (level) {
|
|
6153
6154
|
var _a;
|
|
6154
6155
|
var _b;
|
|
6155
6156
|
return (React.createElement(AppTooltip, { key: level.code, title: title ? title(level) : "Proficiency language level: ".concat(level.code.toUpperCase()) },
|
package/build/styles.css
CHANGED
|
@@ -40,9 +40,6 @@
|
|
|
40
40
|
--levelBadgeRateColor: #555;
|
|
41
41
|
--levelBarBadgeBarColor: var(--passiveColor);
|
|
42
42
|
--levelBarBadgeBackgroundColor: rgb(15, 23, 42, 5.5%);
|
|
43
|
-
--levelLetterBadgeActiveBackgroundColor: rgb(15, 23, 42, 14%);
|
|
44
|
-
--levelLetterBadgeActiveTextColor: var(--color);
|
|
45
|
-
--levelLetterBadgeActiveBorderColor: color-mix(in srgb, var(--borderColor) 35%, var(--color));
|
|
46
43
|
--rowContentFontSize: 14px;
|
|
47
44
|
--rowContentTitleFontSize: 20px;
|
|
48
45
|
}
|
|
@@ -698,9 +695,8 @@ body {
|
|
|
698
695
|
color: inherit !important;
|
|
699
696
|
display: inline-flex;
|
|
700
697
|
}
|
|
701
|
-
.index-
|
|
702
|
-
display:
|
|
703
|
-
place-items: center;
|
|
698
|
+
.index-module_root__v3fD9 {
|
|
699
|
+
display: inline;
|
|
704
700
|
}
|
|
705
701
|
|
|
706
702
|
.index-module_icon__-KK3y {
|
|
@@ -780,6 +776,9 @@ body {
|
|
|
780
776
|
flex-direction: row;
|
|
781
777
|
gap: 0.3em;
|
|
782
778
|
}
|
|
779
|
+
.index-module_root__hasActive__qvsDL {
|
|
780
|
+
color: var(--passiveColor);
|
|
781
|
+
}
|
|
783
782
|
|
|
784
783
|
.index-module_level__EuETi {
|
|
785
784
|
display: inline-flex;
|
|
@@ -787,12 +786,11 @@ body {
|
|
|
787
786
|
border: 1px solid var(--borderColor);
|
|
788
787
|
border-radius: 0.3em;
|
|
789
788
|
text-transform: uppercase;
|
|
790
|
-
line-height: 1.
|
|
789
|
+
line-height: 1.2em;
|
|
791
790
|
}
|
|
792
791
|
.index-module_level__active__lfzHe {
|
|
793
|
-
|
|
794
|
-
color: var(--
|
|
795
|
-
border-color: var(--levelLetterBadgeActiveBorderColor);
|
|
792
|
+
color: var(--color);
|
|
793
|
+
border-color: var(--color);
|
|
796
794
|
}
|
|
797
795
|
.index-module_label__7pG3Z {
|
|
798
796
|
font-size: 12px;
|