@rpg-engine/long-bow 0.8.169 → 0.8.171

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.
@@ -45913,11 +45913,7 @@ var MarketplaceRows = function MarketplaceRows(_ref) {
45913
45913
  maxLines: 1,
45914
45914
  maxWidth: "200px",
45915
45915
  fontSize: "10px"
45916
- }, item.name), acceptedCurrency === MarketplaceAcceptedCurrency.Dc && React.createElement(CurrencyBadge, {
45917
- "$color": "#a78bfa"
45918
- }, "DC only"), acceptedCurrency === MarketplaceAcceptedCurrency.Gold && React.createElement(CurrencyBadge, {
45919
- "$color": "#fef08a"
45920
- }, "Gold only")), React.createElement(PriceRow, null, acceptedCurrency !== MarketplaceAcceptedCurrency.Dc && React.createElement(GoldPriceRow$1, null, React.createElement(GoldIcon$1, null, React.createElement(SimpleTooltip, {
45916
+ }, item.name)), React.createElement(PriceRow, null, acceptedCurrency !== MarketplaceAcceptedCurrency.Dc && React.createElement(GoldPriceRow$1, null, React.createElement(GoldIcon$1, null, React.createElement(SimpleTooltip, {
45921
45917
  content: "Gold Coin",
45922
45918
  direction: "top"
45923
45919
  }, React.createElement(SpriteFromAtlas, {
@@ -46054,27 +46050,17 @@ var GemContainer = /*#__PURE__*/styled.p.withConfig({
46054
46050
  displayName: "MarketplaceRows__GemContainer",
46055
46051
  componentId: "sc-wmpr1o-13"
46056
46052
  })(["position:absolute;display:block;top:-5px;left:-10px;font-size:", " !important;"], uiFonts.size.xsmall);
46057
- var CurrencyBadge = /*#__PURE__*/styled.span.withConfig({
46058
- displayName: "MarketplaceRows__CurrencyBadge",
46059
- componentId: "sc-wmpr1o-14"
46060
- })(["display:inline-block;margin-left:6px;padding:1px 4px;font-family:'Press Start 2P',cursive;font-size:0.38rem;color:", ";border:1px solid ", ";border-radius:3px;opacity:0.85;vertical-align:middle;text-transform:uppercase;letter-spacing:0.5px;"], function (_ref5) {
46061
- var $color = _ref5.$color;
46062
- return $color;
46063
- }, function (_ref6) {
46064
- var $color = _ref6.$color;
46065
- return $color;
46066
- });
46067
46053
  var RarityContainer$1 = /*#__PURE__*/styled.div.withConfig({
46068
46054
  displayName: "MarketplaceRows__RarityContainer",
46069
- componentId: "sc-wmpr1o-15"
46070
- })(["border-color:", ";box-shadow:", " inset,", ";width:32px;height:32px;"], function (_ref7) {
46071
- var item = _ref7.item;
46055
+ componentId: "sc-wmpr1o-14"
46056
+ })(["border-color:", ";box-shadow:", " inset,", ";width:32px;height:32px;"], function (_ref5) {
46057
+ var item = _ref5.item;
46072
46058
  return rarityColor(item);
46073
- }, function (_ref8) {
46074
- var item = _ref8.item;
46059
+ }, function (_ref6) {
46060
+ var item = _ref6.item;
46075
46061
  return "0 0 5px 8px " + rarityColor(item);
46076
- }, function (_ref9) {
46077
- var item = _ref9.item;
46062
+ }, function (_ref7) {
46063
+ var item = _ref7.item;
46078
46064
  return "0 0 8px 6px " + rarityColor(item);
46079
46065
  });
46080
46066
 
@@ -46944,7 +46930,7 @@ var ManagmentPanel = function ManagmentPanel(_ref) {
46944
46930
  },
46945
46931
  type: "button"
46946
46932
  }, opt.label);
46947
- }))))), React.createElement(InnerOptionsWrapper, null, React.createElement(SectionLabel$1, {
46933
+ }), listingCurrency !== MarketplaceAcceptedCurrency.Gold && price && Number(price) > 0 && React.createElement(DCPreview, null, formatDCAmount(goldToDC(Number(price))), " DC"))))), React.createElement(InnerOptionsWrapper, null, React.createElement(SectionLabel$1, {
46948
46934
  style: {
46949
46935
  marginBottom: '8px'
46950
46936
  }
@@ -47078,6 +47064,10 @@ var CurrencyToggleButton = /*#__PURE__*/styled.button.withConfig({
47078
47064
  var $active = _ref7.$active;
47079
47065
  return $active ? '#f59e0b' : '#ddd';
47080
47066
  });
47067
+ var DCPreview = /*#__PURE__*/styled.span.withConfig({
47068
+ displayName: "ManagmentPanel__DCPreview",
47069
+ componentId: "sc-1yyi6jn-16"
47070
+ })(["font-family:'Press Start 2P',cursive !important;font-size:0.4rem !important;color:rgba(167,139,250,0.8) !important;white-space:nowrap;margin-left:auto;"]);
47081
47071
 
47082
47072
  var CURRENCY_OPTIONS = [{
47083
47073
  value: MarketplaceAcceptedCurrency.GoldOrDc,