bnstooltips 1.10.1 → 1.11.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/Utilities/ISkill.d.ts +2 -0
- package/build/index.es.js +11 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +11 -1
- package/build/index.js.map +1 -1
- package/package.json +4 -4
package/build/index.js
CHANGED
|
@@ -6795,7 +6795,7 @@ function JsonArrayToJsxArray(stringArray) {
|
|
|
6795
6795
|
return jsxArray;
|
|
6796
6796
|
}
|
|
6797
6797
|
|
|
6798
|
-
var css_248z$4 = ".TooltipBase_bns_upgradeRed_color {\n color: #FF2818; }\n\n.TooltipBase_bns_downgradeBlue_color {\n color: #28A9F0; }\n\n.SkillTooltip_skillIconContainer {\n width: 60px;\n height: 60px;\n padding: 0;\n float: left;\n position: relative; }\n\n.SkillTooltip_skillIcon {\n width: 60px;\n height: 60px;\n position: relative; }\n\n.SkillTooltip_skillIconCanvas {\n width: 60px;\n height: 60px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n filter: blur(30px);\n opacity: .
|
|
6798
|
+
var css_248z$4 = ".TooltipBase_bns_upgradeRed_color {\n color: #FF2818; }\n\n.TooltipBase_bns_downgradeBlue_color {\n color: #28A9F0; }\n\n.SkillTooltip_skillIconContainer {\n width: 60px;\n height: 60px;\n padding: 0;\n float: left;\n position: relative; }\n\n.SkillTooltip_skillIcon {\n width: 60px;\n height: 60px;\n position: relative; }\n\n.SkillTooltip_skillIconCanvas {\n width: 60px;\n height: 60px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n filter: blur(30px);\n opacity: .5; }\n\n.SkillTooltip_buttonIcon {\n position: absolute;\n right: 1px;\n bottom: 1px;\n height: 18px;\n opacity: 0.9; }\n\n.SkillTooltip_buttonIconMouse {\n background-color: rgba(0, 0, 0, 0.8); }\n\n.SkillTooltip_mainText {\n font-weight: 500; }\n\n.SkillTooltip_smallText {\n font-size: 12px; }\n\n.SkillTooltip_subTextMargin {\n margin-bottom: 0.3rem; }\n\n.SkillTooltip_boundaryContainer {\n display: flex;\n width: 100%;\n margin-bottom: 0.5rem;\n line-height: 17px; }\n\n.SkillTooltip_boundary {\n flex: 1;\n flex-basis: 0px;\n min-width: 0;\n display: flex;\n flex-direction: column;\n color: black;\n margin: 0.15rem; }\n\n.SkillTooltip_boundary:first-of-type > .SkillTooltip_boundaryHead {\n border-radius: 3px 0 0 0; }\n\n.SkillTooltip_boundary:last-of-type > .SkillTooltip_boundaryHead {\n border-radius: 0 3px 0 0; }\n\n.SkillTooltip_boundary:first-of-type > .SkillTooltip_boundaryBody {\n border-radius: 0 0 0 3px; }\n\n.SkillTooltip_boundary:last-of-type > .SkillTooltip_boundaryBody {\n border-radius: 0 0 3px 0; }\n\n.SkillTooltip_boundaryHead {\n color: white;\n font-weight: 500;\n font-size: 12px;\n text-overflow: ellipsis;\n overflow: hidden;\n padding: 0.3rem;\n text-align: center;\n flex: 1;\n min-height: 26px;\n background-color: rgba(127, 127, 127, 0.4); }\n\n.SkillTooltip_boundaryBody {\n color: white;\n padding: 0.5rem 0.3rem;\n margin-top: 0.15rem;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 40px;\n flex: 2;\n background-color: rgba(127, 127, 127, 0.4); }\n\n.SkillTooltip_boundaryBodyModifier {\n min-height: 33px !important; }\n\n.SkillTooltip_boundaryHasIcon {\n min-height: 50px !important; }\n\n.SkillTooltip_conditionRow {\n display: flex;\n align-items: center;\n font-size: 12px; }\n\n.SkillTooltip_conditionRow:not(:last-of-type) {\n margin-bottom: 0.1rem; }\n\n.SkillTooltip_conditionIcon {\n width: 20px;\n height: 20px;\n margin-right: 0.33rem; }\n\n.SkillTooltip_conditionIconSmall {\n width: 12px;\n height: 12px;\n margin-right: 0.22rem; }\n\n.tooltipArg {\n color: #46bee1;\n font-weight: 600; }\n\n.target-360 {\n background-image: url(\"./360.png\");\n background-repeat: no-repeat;\n background-position: 50% 60%;\n background-size: auto 64px; }\n\n.target-front-180 {\n background-image: url(\"./180.png\");\n background-repeat: no-repeat;\n background-position: 50% 70%;\n background-size: auto 64px; }\n\n.laser {\n background-image: url(\"./laser.png\");\n background-repeat: no-repeat;\n background-position: 50% 50%;\n background-size: auto 64px; }\n";
|
|
6799
6799
|
styleInject(css_248z$4);
|
|
6800
6800
|
|
|
6801
6801
|
function getButtonIconPath(button) {
|
|
@@ -7084,6 +7084,11 @@ function AddIds(subInfoGroups, skill) {
|
|
|
7084
7084
|
"Gcd group: ",
|
|
7085
7085
|
React__default["default"].createElement(BlueColoredText, { text: skill.GcdGroup.toString() })));
|
|
7086
7086
|
}
|
|
7087
|
+
if (skill.GcdDuration != null) {
|
|
7088
|
+
subInfoGroup.texts.push(React__default["default"].createElement("div", null,
|
|
7089
|
+
"Gcd duration: ",
|
|
7090
|
+
React__default["default"].createElement(BlueColoredText, { text: skill.GcdDuration.toString() })));
|
|
7091
|
+
}
|
|
7087
7092
|
if (skill.CdRecycle != null) {
|
|
7088
7093
|
subInfoGroup.texts.push(React__default["default"].createElement("div", null,
|
|
7089
7094
|
"Cd group: ",
|
|
@@ -7092,6 +7097,11 @@ function AddIds(subInfoGroups, skill) {
|
|
|
7092
7097
|
"Cd id: ",
|
|
7093
7098
|
React__default["default"].createElement(BlueColoredText, { text: skill.CdRecycle.Item2.toString() })));
|
|
7094
7099
|
}
|
|
7100
|
+
if (skill.RealCooldown != null) {
|
|
7101
|
+
subInfoGroup.texts.push(React__default["default"].createElement("div", null,
|
|
7102
|
+
"Real cooldown: ",
|
|
7103
|
+
React__default["default"].createElement(BlueColoredText, { text: skill.RealCooldown.toString() })));
|
|
7104
|
+
}
|
|
7095
7105
|
subInfoGroups.push(subInfoGroup);
|
|
7096
7106
|
}
|
|
7097
7107
|
function AddRealCastConds(subInfoGroups, skill) {
|