@rpg-engine/long-bow 0.8.234 → 0.8.235
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 +12 -16
- 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 +12 -16
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Marketplace/ManagmentPanel.tsx +0 -12
- package/src/components/Marketplace/__test__/ManagmentPanel.spec.tsx +0 -6
|
@@ -13173,7 +13173,7 @@ var ManagmentPanel = function ManagmentPanel(_ref) {
|
|
|
13173
13173
|
setIsCreatingOffer(true);
|
|
13174
13174
|
}
|
|
13175
13175
|
}
|
|
13176
|
-
})),
|
|
13176
|
+
})), price && Number(price) > 0 && commissionPercent > 0 && React__default.createElement(NetProceeds, null, "You'll receive: ", netProceedsLabel, ' ', "(after ", commissionPercent * 100, "% commission)"), React__default.createElement(CurrencyToggleRow, null, React__default.createElement(CurrencyToggleLabel, null, "Accept:"), LISTING_CURRENCY_OPTIONS.map(function (opt) {
|
|
13177
13177
|
return React__default.createElement(CurrencyToggleButton, {
|
|
13178
13178
|
key: opt.value,
|
|
13179
13179
|
"$active": listingCurrency === opt.value,
|
|
@@ -13263,51 +13263,47 @@ var NetProceeds = /*#__PURE__*/styled__default.p.withConfig({
|
|
|
13263
13263
|
displayName: "ManagmentPanel__NetProceeds",
|
|
13264
13264
|
componentId: "sc-1yyi6jn-6"
|
|
13265
13265
|
})(["margin:8px 0 0;color:#fef08a;font-size:8px !important;line-height:1.5 !important;"]);
|
|
13266
|
-
var FeeDisclosure$1 = /*#__PURE__*/styled__default.p.withConfig({
|
|
13267
|
-
displayName: "ManagmentPanel__FeeDisclosure",
|
|
13268
|
-
componentId: "sc-1yyi6jn-7"
|
|
13269
|
-
})(["margin:6px 0 0;color:rgba(254,240,138,0.65);font-size:7px !important;line-height:1.4 !important;"]);
|
|
13270
13266
|
var GoldIcon$3 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13271
13267
|
displayName: "ManagmentPanel__GoldIcon",
|
|
13272
|
-
componentId: "sc-1yyi6jn-
|
|
13268
|
+
componentId: "sc-1yyi6jn-7"
|
|
13273
13269
|
})(["position:relative;display:flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:4px;flex-shrink:0;top:-0.5rem;left:-0.5rem;"]);
|
|
13274
13270
|
var WealthWrapper = /*#__PURE__*/styled__default.div.withConfig({
|
|
13275
13271
|
displayName: "ManagmentPanel__WealthWrapper",
|
|
13276
|
-
componentId: "sc-1yyi6jn-
|
|
13272
|
+
componentId: "sc-1yyi6jn-8"
|
|
13277
13273
|
})(["display:flex;flex-direction:column;gap:8px;flex-grow:1;& > :last-child{margin-top:auto;}"]);
|
|
13278
13274
|
var BalanceRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
13279
13275
|
displayName: "ManagmentPanel__BalanceRow",
|
|
13280
|
-
componentId: "sc-1yyi6jn-
|
|
13276
|
+
componentId: "sc-1yyi6jn-9"
|
|
13281
13277
|
})(["display:flex;align-items:center;justify-content:flex-end;gap:10px;background:rgba(0,0,0,0.3);border-radius:4px;border:1px solid rgba(255,255,255,0.05);padding:8px 12px;"]);
|
|
13282
13278
|
var BalanceAmount$1 = /*#__PURE__*/styled__default.span.withConfig({
|
|
13283
13279
|
displayName: "ManagmentPanel__BalanceAmount",
|
|
13284
|
-
componentId: "sc-1yyi6jn-
|
|
13280
|
+
componentId: "sc-1yyi6jn-10"
|
|
13285
13281
|
})(["font-family:'Press Start 2P',cursive;font-size:0.8rem;color:", ";text-shadow:0 2px 4px rgba(0,0,0,0.5);margin-left:auto;"], function (props) {
|
|
13286
13282
|
return props.$disabled ? uiColors.lightGray : '#fef08a';
|
|
13287
13283
|
});
|
|
13288
13284
|
var BalanceCurrencyLabel = /*#__PURE__*/styled__default.span.withConfig({
|
|
13289
13285
|
displayName: "ManagmentPanel__BalanceCurrencyLabel",
|
|
13290
|
-
componentId: "sc-1yyi6jn-
|
|
13286
|
+
componentId: "sc-1yyi6jn-11"
|
|
13291
13287
|
})(["font-size:0.5rem;color:#888;text-transform:uppercase;letter-spacing:0.5px;min-width:45px;text-align:right;"]);
|
|
13292
13288
|
var ItemComponentScrollWrapper$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
13293
13289
|
displayName: "ManagmentPanel__ItemComponentScrollWrapper",
|
|
13294
|
-
componentId: "sc-1yyi6jn-
|
|
13290
|
+
componentId: "sc-1yyi6jn-12"
|
|
13295
13291
|
})(["overflow-y:scroll;overflow-x:hidden;height:335px;width:95%;margin:1rem auto 0 auto;background:rgba(0,0,0,0.2);border:1px solid rgba(255,255,255,0.05);border-radius:4px;@media (max-width:950px){height:195px;}"]);
|
|
13296
13292
|
var SmallCTAButton = /*#__PURE__*/styled__default(CTAButton).withConfig({
|
|
13297
13293
|
displayName: "ManagmentPanel__SmallCTAButton",
|
|
13298
|
-
componentId: "sc-1yyi6jn-
|
|
13294
|
+
componentId: "sc-1yyi6jn-13"
|
|
13299
13295
|
})(["padding:8px 12px;height:32px;span{font-size:0.65rem;}svg{font-size:1.1rem;}"]);
|
|
13300
13296
|
var CurrencyToggleRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
13301
13297
|
displayName: "ManagmentPanel__CurrencyToggleRow",
|
|
13302
|
-
componentId: "sc-1yyi6jn-
|
|
13298
|
+
componentId: "sc-1yyi6jn-14"
|
|
13303
13299
|
})(["display:flex;align-items:center;gap:6px;margin-top:8px;"]);
|
|
13304
13300
|
var CurrencyToggleLabel = /*#__PURE__*/styled__default.span.withConfig({
|
|
13305
13301
|
displayName: "ManagmentPanel__CurrencyToggleLabel",
|
|
13306
|
-
componentId: "sc-1yyi6jn-
|
|
13302
|
+
componentId: "sc-1yyi6jn-15"
|
|
13307
13303
|
})(["font-size:0.5rem;color:#888;text-transform:uppercase;letter-spacing:0.5px;white-space:nowrap;"]);
|
|
13308
13304
|
var CurrencyToggleButton = /*#__PURE__*/styled__default.button.withConfig({
|
|
13309
13305
|
displayName: "ManagmentPanel__CurrencyToggleButton",
|
|
13310
|
-
componentId: "sc-1yyi6jn-
|
|
13306
|
+
componentId: "sc-1yyi6jn-16"
|
|
13311
13307
|
})(["padding:3px 8px;font-family:'Press Start 2P',cursive !important;font-size:0.45rem !important;border-radius:4px;border:1px solid ", " !important;background:", " !important;color:", " !important;cursor:pointer;transition:border-color 0.15s,background 0.15s,color 0.15s;&:hover{border-color:", " !important;color:", " !important;}"], function (_ref3) {
|
|
13312
13308
|
var $active = _ref3.$active;
|
|
13313
13309
|
return $active ? '#f59e0b' : 'rgba(255,255,255,0.15)';
|
|
@@ -13326,7 +13322,7 @@ var CurrencyToggleButton = /*#__PURE__*/styled__default.button.withConfig({
|
|
|
13326
13322
|
});
|
|
13327
13323
|
var DCPreview = /*#__PURE__*/styled__default.span.withConfig({
|
|
13328
13324
|
displayName: "ManagmentPanel__DCPreview",
|
|
13329
|
-
componentId: "sc-1yyi6jn-
|
|
13325
|
+
componentId: "sc-1yyi6jn-17"
|
|
13330
13326
|
})(["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;"]);
|
|
13331
13327
|
|
|
13332
13328
|
var CURRENCY_OPTIONS = [{
|