bnstooltips 1.15.1 → 1.15.2
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.es.js +9 -9
- package/build/index.es.js.map +1 -1
- package/build/index.js +9 -9
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -8110,7 +8110,7 @@ function JsonArrayToJsxArray(stringArray) {
|
|
|
8110
8110
|
return jsxArray;
|
|
8111
8111
|
}
|
|
8112
8112
|
|
|
8113
|
-
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";
|
|
8113
|
+
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.wordbreakall {\n word-break: break-all; }\n\n.wordbreakword {\n word-break: break-word; }\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";
|
|
8114
8114
|
styleInject(css_248z$4);
|
|
8115
8115
|
|
|
8116
8116
|
function getButtonIconPath(button) {
|
|
@@ -8427,7 +8427,7 @@ function AddRealEffects(subInfoGroups, skill) {
|
|
|
8427
8427
|
for (var key in realEffects.Effects) {
|
|
8428
8428
|
var realEffect = realEffects.Effects[key];
|
|
8429
8429
|
var subInfoGroup = {
|
|
8430
|
-
title: "Effect
|
|
8430
|
+
title: "Effect",
|
|
8431
8431
|
texts: []
|
|
8432
8432
|
};
|
|
8433
8433
|
var texts = [
|
|
@@ -8436,7 +8436,7 @@ function AddRealEffects(subInfoGroups, skill) {
|
|
|
8436
8436
|
React.createElement(BlueColoredText, { text: realEffect.Id.toString() })),
|
|
8437
8437
|
React.createElement("div", null,
|
|
8438
8438
|
"Alias: ",
|
|
8439
|
-
React.createElement(BlueColoredText, { text: realEffect.Alias })),
|
|
8439
|
+
React.createElement(BlueColoredText, { text: realEffect.Alias, customClasses: "wordbreakall" })),
|
|
8440
8440
|
React.createElement("div", null,
|
|
8441
8441
|
"Effect type: ",
|
|
8442
8442
|
React.createElement(BlueColoredText, { text: realEffect.EffectType }))
|
|
@@ -8449,7 +8449,7 @@ function AddRealEffects(subInfoGroups, skill) {
|
|
|
8449
8449
|
if (realEffect.Description != null && realEffect.Description != "") {
|
|
8450
8450
|
texts.push(React.createElement("div", null,
|
|
8451
8451
|
"Description: ",
|
|
8452
|
-
React.createElement(BlueColoredTextDangerous, { text: realEffect.Description })));
|
|
8452
|
+
React.createElement(BlueColoredTextDangerous, { text: realEffect.Description, customClasses: "wordbreakword" })));
|
|
8453
8453
|
}
|
|
8454
8454
|
subInfoGroup.texts = texts;
|
|
8455
8455
|
subInfoGroups.push(subInfoGroup);
|
|
@@ -8460,7 +8460,7 @@ function AddRealCastConds(subInfoGroups, skill) {
|
|
|
8460
8460
|
if (realCastCondition == undefined || realCastCondition == null)
|
|
8461
8461
|
return;
|
|
8462
8462
|
var subInfoGroup = {
|
|
8463
|
-
title: "
|
|
8463
|
+
title: "Cast conditions",
|
|
8464
8464
|
texts: [],
|
|
8465
8465
|
};
|
|
8466
8466
|
if (realCastCondition.Id != null) {
|
|
@@ -8535,12 +8535,12 @@ function AddRealCastConds(subInfoGroups, skill) {
|
|
|
8535
8535
|
subInfoGroups.push(subInfoGroup4);
|
|
8536
8536
|
}
|
|
8537
8537
|
function BlueColoredTextDangerous(_a) {
|
|
8538
|
-
var text = _a.text;
|
|
8539
|
-
return (React.createElement("span", { className: "tooltipArg", dangerouslySetInnerHTML: { __html: text } }));
|
|
8538
|
+
var text = _a.text, _b = _a.customClasses, customClasses = _b === void 0 ? "" : _b;
|
|
8539
|
+
return (React.createElement("span", { className: "tooltipArg " + customClasses, dangerouslySetInnerHTML: { __html: text } }));
|
|
8540
8540
|
}
|
|
8541
8541
|
function BlueColoredText(_a) {
|
|
8542
|
-
var text = _a.text;
|
|
8543
|
-
return (React.createElement("span", { className: "tooltipArg" }, text));
|
|
8542
|
+
var text = _a.text, _b = _a.customClasses, customClasses = _b === void 0 ? "" : _b;
|
|
8543
|
+
return (React.createElement("span", { className: "tooltipArg " + customClasses }, text));
|
|
8544
8544
|
}
|
|
8545
8545
|
function RedColoredText(_a) {
|
|
8546
8546
|
var text = _a.text;
|