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