@rpg-engine/long-bow 0.8.42 → 0.8.43
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/dist/long-bow.cjs.development.js +5 -8
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +5 -8
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Item/Cards/ItemInfo.tsx +1 -16
package/dist/long-bow.esm.js
CHANGED
|
@@ -28416,16 +28416,13 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
28416
28416
|
var Container$b = /*#__PURE__*/styled.div.withConfig({
|
|
28417
28417
|
displayName: "ItemInfo__Container",
|
|
28418
28418
|
componentId: "sc-1xm4q8k-0"
|
|
28419
|
-
})(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";box-shadow:", ";height:max-content;width:18rem;position:relative
|
|
28419
|
+
})(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";box-shadow:", ";height:max-content;width:18rem;position:relative;@media (max-width:640px){width:80vw;}"], uiFonts.size.small, function (_ref2) {
|
|
28420
28420
|
var _rarityColor;
|
|
28421
28421
|
var item = _ref2.item;
|
|
28422
28422
|
return (_rarityColor = rarityColor(item)) != null ? _rarityColor : uiColors.lightGray;
|
|
28423
28423
|
}, function (_ref3) {
|
|
28424
28424
|
var item = _ref3.item;
|
|
28425
28425
|
return "0 0 5px 2px " + rarityColor(item);
|
|
28426
|
-
}, function (_ref4) {
|
|
28427
|
-
var item = _ref4.item;
|
|
28428
|
-
return (item == null ? void 0 : item.quality) && item.quality !== ItemQualityLevel.Normal && "\n &::before {\n content: '\u2605';\n position: absolute;\n top: 0.2rem;\n left: 0.5rem;\n font-size: 1.2rem;\n color: " + qualityColorHex(item) + ";\n text-shadow: 0 0 3px black;\n }\n ";
|
|
28429
28426
|
});
|
|
28430
28427
|
var Title$1 = /*#__PURE__*/styled.div.withConfig({
|
|
28431
28428
|
displayName: "ItemInfo__Title",
|
|
@@ -28434,8 +28431,8 @@ var Title$1 = /*#__PURE__*/styled.div.withConfig({
|
|
|
28434
28431
|
var Rarity = /*#__PURE__*/styled.div.withConfig({
|
|
28435
28432
|
displayName: "ItemInfo__Rarity",
|
|
28436
28433
|
componentId: "sc-1xm4q8k-2"
|
|
28437
|
-
})(["font-size:", ";font-weight:normal;margin-top:0.2rem;color:", ";filter:brightness(1.5);"], uiFonts.size.small, function (
|
|
28438
|
-
var item =
|
|
28434
|
+
})(["font-size:", ";font-weight:normal;margin-top:0.2rem;color:", ";filter:brightness(1.5);"], uiFonts.size.small, function (_ref4) {
|
|
28435
|
+
var item = _ref4.item;
|
|
28439
28436
|
return rarityColor(item);
|
|
28440
28437
|
});
|
|
28441
28438
|
var Type = /*#__PURE__*/styled.div.withConfig({
|
|
@@ -28449,8 +28446,8 @@ var LevelRequirement = /*#__PURE__*/styled.div.withConfig({
|
|
|
28449
28446
|
var Statistic = /*#__PURE__*/styled.div.withConfig({
|
|
28450
28447
|
displayName: "ItemInfo__Statistic",
|
|
28451
28448
|
componentId: "sc-1xm4q8k-5"
|
|
28452
|
-
})(["margin-bottom:0.4rem;width:100%;color:", ";.label{display:inline-block;margin-right:0.5rem;color:inherit;}.value{display:inline-block;color:inherit;}&.better,.better{color:", ";}&.worse,.worse{color:", ";}"], function (
|
|
28453
|
-
var $isSpecial =
|
|
28449
|
+
})(["margin-bottom:0.4rem;width:100%;color:", ";.label{display:inline-block;margin-right:0.5rem;color:inherit;}.value{display:inline-block;color:inherit;}&.better,.better{color:", ";}&.worse,.worse{color:", ";}"], function (_ref5) {
|
|
28450
|
+
var $isSpecial = _ref5.$isSpecial;
|
|
28454
28451
|
return $isSpecial ? uiColors.darkYellow : 'inherit';
|
|
28455
28452
|
}, uiColors.lightGreen, uiColors.cardinal);
|
|
28456
28453
|
var Description = /*#__PURE__*/styled.div.withConfig({
|