@rpg-engine/long-bow 0.7.82 → 0.7.83

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.
@@ -31139,13 +31139,16 @@ var MarketplaceRows = function MarketplaceRows(_ref) {
31139
31139
  onMarketPlaceItemBuy = _ref.onMarketPlaceItemBuy,
31140
31140
  onMarketPlaceItemRemove = _ref.onMarketPlaceItemRemove,
31141
31141
  disabled = _ref.disabled;
31142
+ var renderGems = function renderGems(item) {
31143
+ return item.attachedGems && onRenderGems(item);
31144
+ };
31142
31145
  return React__default.createElement(MarketplaceWrapper, null, React__default.createElement(ItemIconContainer, null, React__default.createElement(SpriteContainer$1, null, React__default.createElement(ItemInfoWrapper, {
31143
31146
  item: item,
31144
31147
  atlasIMG: atlasIMG,
31145
31148
  atlasJSON: atlasJSON,
31146
31149
  equipmentSet: equipmentSet,
31147
31150
  scale: scale
31148
- }, React__default.createElement(RarityContainer, {
31151
+ }, React__default.createElement(GemContainer, null, renderGems(item)), React__default.createElement(RarityContainer, {
31149
31152
  item: item
31150
31153
  }, React__default.createElement(SpriteFromAtlas, {
31151
31154
  atlasIMG: atlasIMG,
@@ -31156,7 +31159,8 @@ var MarketplaceRows = function MarketplaceRows(_ref) {
31156
31159
  texturePath: item.texturePath,
31157
31160
  isStackable: item.isStackable
31158
31161
  }, atlasJSON),
31159
- imgScale: 2
31162
+ imgScale: 2,
31163
+ imgClassname: "sprite-from-atlas-img--item"
31160
31164
  })), React__default.createElement(QuantityContainer, null, item.stackQty && item.stackQty > 1 && "x" + Math.round(item.stackQty * 10) / 10))), React__default.createElement(PriceValue, null, React__default.createElement("p", null, React__default.createElement(Ellipsis, {
31161
31165
  maxLines: 1,
31162
31166
  maxWidth: "200px",
@@ -31188,33 +31192,37 @@ var QuantityContainer = /*#__PURE__*/styled__default.p.withConfig({
31188
31192
  displayName: "MarketplaceRows__QuantityContainer",
31189
31193
  componentId: "sc-wmpr1o-1"
31190
31194
  })(["position:absolute;display:block;top:15px;left:25px;font-size:", " !important;"], uiFonts.size.xsmall);
31195
+ var GemContainer = /*#__PURE__*/styled__default.p.withConfig({
31196
+ displayName: "MarketplaceRows__GemContainer",
31197
+ componentId: "sc-wmpr1o-2"
31198
+ })(["position:absolute;display:block;top:-5px;left:-10px;font-size:", " !important;"], uiFonts.size.xsmall);
31191
31199
  var Flex$1 = /*#__PURE__*/styled__default.div.withConfig({
31192
31200
  displayName: "MarketplaceRows__Flex",
31193
- componentId: "sc-wmpr1o-2"
31201
+ componentId: "sc-wmpr1o-3"
31194
31202
  })(["display:flex;gap:24px;"]);
31195
31203
  var ItemIconContainer = /*#__PURE__*/styled__default.div.withConfig({
31196
31204
  displayName: "MarketplaceRows__ItemIconContainer",
31197
- componentId: "sc-wmpr1o-3"
31205
+ componentId: "sc-wmpr1o-4"
31198
31206
  })(["display:flex;justify-content:flex-start;align-items:center;"]);
31199
31207
  var GoldContainer = /*#__PURE__*/styled__default.div.withConfig({
31200
31208
  displayName: "MarketplaceRows__GoldContainer",
31201
- componentId: "sc-wmpr1o-4"
31209
+ componentId: "sc-wmpr1o-5"
31202
31210
  })(["position:relative;top:-0.5rem;left:0.5rem;"]);
31203
31211
  var SpriteContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
31204
31212
  displayName: "MarketplaceRows__SpriteContainer",
31205
- componentId: "sc-wmpr1o-5"
31213
+ componentId: "sc-wmpr1o-6"
31206
31214
  })(["position:relative;left:0.5rem;"]);
31207
31215
  var PriceValue = /*#__PURE__*/styled__default.div.withConfig({
31208
31216
  displayName: "MarketplaceRows__PriceValue",
31209
- componentId: "sc-wmpr1o-6"
31217
+ componentId: "sc-wmpr1o-7"
31210
31218
  })(["margin-left:40px;"]);
31211
31219
  var ButtonContainer$2 = /*#__PURE__*/styled__default.div.withConfig({
31212
31220
  displayName: "MarketplaceRows__ButtonContainer",
31213
- componentId: "sc-wmpr1o-7"
31221
+ componentId: "sc-wmpr1o-8"
31214
31222
  })(["margin:auto;"]);
31215
31223
  var RarityContainer = /*#__PURE__*/styled__default.div.withConfig({
31216
31224
  displayName: "MarketplaceRows__RarityContainer",
31217
- componentId: "sc-wmpr1o-8"
31225
+ componentId: "sc-wmpr1o-9"
31218
31226
  })(["border-color:", ";box-shadow:", " inset,", ";width:32px;height:32px;"], function (_ref2) {
31219
31227
  var item = _ref2.item;
31220
31228
  return rarityColor(item);