bnstooltips 1.15.0 → 1.15.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.
- package/build/index.es.js +27 -12
- package/build/index.es.js.map +1 -1
- package/build/index.js +27 -12
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -8430,17 +8430,28 @@ function AddRealEffects(subInfoGroups, skill) {
|
|
|
8430
8430
|
title: "Effect: " + realEffect.Alias,
|
|
8431
8431
|
texts: []
|
|
8432
8432
|
};
|
|
8433
|
-
|
|
8434
|
-
"
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
React.createElement(
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
"
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8433
|
+
var texts = [
|
|
8434
|
+
React.createElement("div", null,
|
|
8435
|
+
"Id: ",
|
|
8436
|
+
React.createElement(BlueColoredText, { text: realEffect.Id.toString() })),
|
|
8437
|
+
React.createElement("div", null,
|
|
8438
|
+
"Alias: ",
|
|
8439
|
+
React.createElement(BlueColoredText, { text: realEffect.Alias })),
|
|
8440
|
+
React.createElement("div", null,
|
|
8441
|
+
"Effect type: ",
|
|
8442
|
+
React.createElement(BlueColoredText, { text: realEffect.EffectType }))
|
|
8443
|
+
];
|
|
8444
|
+
if (realEffect.Name != null && realEffect.Name != "") {
|
|
8445
|
+
texts.push(React.createElement("div", null,
|
|
8446
|
+
"Name: ",
|
|
8447
|
+
React.createElement(BlueColoredText, { text: realEffect.Name })));
|
|
8448
|
+
}
|
|
8449
|
+
if (realEffect.Description != null && realEffect.Description != "") {
|
|
8450
|
+
texts.push(React.createElement("div", null,
|
|
8451
|
+
"Description: ",
|
|
8452
|
+
React.createElement(BlueColoredTextDangerous, { text: realEffect.Description })));
|
|
8453
|
+
}
|
|
8454
|
+
subInfoGroup.texts = texts;
|
|
8444
8455
|
subInfoGroups.push(subInfoGroup);
|
|
8445
8456
|
}
|
|
8446
8457
|
}
|
|
@@ -8523,6 +8534,10 @@ function AddRealCastConds(subInfoGroups, skill) {
|
|
|
8523
8534
|
if (subInfoGroup4 != null)
|
|
8524
8535
|
subInfoGroups.push(subInfoGroup4);
|
|
8525
8536
|
}
|
|
8537
|
+
function BlueColoredTextDangerous(_a) {
|
|
8538
|
+
var text = _a.text;
|
|
8539
|
+
return (React.createElement("span", { className: "tooltipArg", dangerouslySetInnerHTML: { __html: text } }));
|
|
8540
|
+
}
|
|
8526
8541
|
function BlueColoredText(_a) {
|
|
8527
8542
|
var text = _a.text;
|
|
8528
8543
|
return (React.createElement("span", { className: "tooltipArg" }, text));
|
|
@@ -8555,7 +8570,7 @@ var SkillTooltipWrapper = function (_a) {
|
|
|
8555
8570
|
}, []);
|
|
8556
8571
|
return (React.createElement(React.Fragment, null,
|
|
8557
8572
|
children,
|
|
8558
|
-
childRef ? (React.createElement(Tippy, { arrow: showArrow, trigger: trigger, plugins: [followCursor], followCursor: followCursor$1 && !interactive, appendTo: document.body, placement: placement, animation: "fade", interactive: interactive, content: React.createElement(SkillTooltip, { data: data, debug: debug }), theme: "grade" + 4, reference: childRef })) : (React.createElement("span", { "data-testid": "TooltipWrapper", ref: spanRef, style: { display: "none" } }))));
|
|
8573
|
+
childRef ? (React.createElement(Tippy, { arrow: showArrow, trigger: trigger, plugins: [followCursor], followCursor: followCursor$1 && (!interactive && !debug), appendTo: document.body, placement: placement, animation: "fade", interactive: interactive || debug, content: React.createElement(SkillTooltip, { data: data, debug: debug }), theme: "grade" + 4, reference: childRef })) : (React.createElement("span", { "data-testid": "TooltipWrapper", ref: spanRef, style: { display: "none" } }))));
|
|
8559
8574
|
};
|
|
8560
8575
|
|
|
8561
8576
|
var ServerRegion;
|