@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
package/dist/long-bow.esm.js
CHANGED
|
@@ -13170,7 +13170,7 @@ var ManagmentPanel = function ManagmentPanel(_ref) {
|
|
|
13170
13170
|
setIsCreatingOffer(true);
|
|
13171
13171
|
}
|
|
13172
13172
|
}
|
|
13173
|
-
})),
|
|
13173
|
+
})), price && Number(price) > 0 && commissionPercent > 0 && React.createElement(NetProceeds, null, "You'll receive: ", netProceedsLabel, ' ', "(after ", commissionPercent * 100, "% commission)"), React.createElement(CurrencyToggleRow, null, React.createElement(CurrencyToggleLabel, null, "Accept:"), LISTING_CURRENCY_OPTIONS.map(function (opt) {
|
|
13174
13174
|
return React.createElement(CurrencyToggleButton, {
|
|
13175
13175
|
key: opt.value,
|
|
13176
13176
|
"$active": listingCurrency === opt.value,
|
|
@@ -13260,51 +13260,47 @@ var NetProceeds = /*#__PURE__*/styled.p.withConfig({
|
|
|
13260
13260
|
displayName: "ManagmentPanel__NetProceeds",
|
|
13261
13261
|
componentId: "sc-1yyi6jn-6"
|
|
13262
13262
|
})(["margin:8px 0 0;color:#fef08a;font-size:8px !important;line-height:1.5 !important;"]);
|
|
13263
|
-
var FeeDisclosure$1 = /*#__PURE__*/styled.p.withConfig({
|
|
13264
|
-
displayName: "ManagmentPanel__FeeDisclosure",
|
|
13265
|
-
componentId: "sc-1yyi6jn-7"
|
|
13266
|
-
})(["margin:6px 0 0;color:rgba(254,240,138,0.65);font-size:7px !important;line-height:1.4 !important;"]);
|
|
13267
13263
|
var GoldIcon$3 = /*#__PURE__*/styled.div.withConfig({
|
|
13268
13264
|
displayName: "ManagmentPanel__GoldIcon",
|
|
13269
|
-
componentId: "sc-1yyi6jn-
|
|
13265
|
+
componentId: "sc-1yyi6jn-7"
|
|
13270
13266
|
})(["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;"]);
|
|
13271
13267
|
var WealthWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
13272
13268
|
displayName: "ManagmentPanel__WealthWrapper",
|
|
13273
|
-
componentId: "sc-1yyi6jn-
|
|
13269
|
+
componentId: "sc-1yyi6jn-8"
|
|
13274
13270
|
})(["display:flex;flex-direction:column;gap:8px;flex-grow:1;& > :last-child{margin-top:auto;}"]);
|
|
13275
13271
|
var BalanceRow = /*#__PURE__*/styled.div.withConfig({
|
|
13276
13272
|
displayName: "ManagmentPanel__BalanceRow",
|
|
13277
|
-
componentId: "sc-1yyi6jn-
|
|
13273
|
+
componentId: "sc-1yyi6jn-9"
|
|
13278
13274
|
})(["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;"]);
|
|
13279
13275
|
var BalanceAmount$1 = /*#__PURE__*/styled.span.withConfig({
|
|
13280
13276
|
displayName: "ManagmentPanel__BalanceAmount",
|
|
13281
|
-
componentId: "sc-1yyi6jn-
|
|
13277
|
+
componentId: "sc-1yyi6jn-10"
|
|
13282
13278
|
})(["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) {
|
|
13283
13279
|
return props.$disabled ? uiColors.lightGray : '#fef08a';
|
|
13284
13280
|
});
|
|
13285
13281
|
var BalanceCurrencyLabel = /*#__PURE__*/styled.span.withConfig({
|
|
13286
13282
|
displayName: "ManagmentPanel__BalanceCurrencyLabel",
|
|
13287
|
-
componentId: "sc-1yyi6jn-
|
|
13283
|
+
componentId: "sc-1yyi6jn-11"
|
|
13288
13284
|
})(["font-size:0.5rem;color:#888;text-transform:uppercase;letter-spacing:0.5px;min-width:45px;text-align:right;"]);
|
|
13289
13285
|
var ItemComponentScrollWrapper$2 = /*#__PURE__*/styled.div.withConfig({
|
|
13290
13286
|
displayName: "ManagmentPanel__ItemComponentScrollWrapper",
|
|
13291
|
-
componentId: "sc-1yyi6jn-
|
|
13287
|
+
componentId: "sc-1yyi6jn-12"
|
|
13292
13288
|
})(["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;}"]);
|
|
13293
13289
|
var SmallCTAButton = /*#__PURE__*/styled(CTAButton).withConfig({
|
|
13294
13290
|
displayName: "ManagmentPanel__SmallCTAButton",
|
|
13295
|
-
componentId: "sc-1yyi6jn-
|
|
13291
|
+
componentId: "sc-1yyi6jn-13"
|
|
13296
13292
|
})(["padding:8px 12px;height:32px;span{font-size:0.65rem;}svg{font-size:1.1rem;}"]);
|
|
13297
13293
|
var CurrencyToggleRow = /*#__PURE__*/styled.div.withConfig({
|
|
13298
13294
|
displayName: "ManagmentPanel__CurrencyToggleRow",
|
|
13299
|
-
componentId: "sc-1yyi6jn-
|
|
13295
|
+
componentId: "sc-1yyi6jn-14"
|
|
13300
13296
|
})(["display:flex;align-items:center;gap:6px;margin-top:8px;"]);
|
|
13301
13297
|
var CurrencyToggleLabel = /*#__PURE__*/styled.span.withConfig({
|
|
13302
13298
|
displayName: "ManagmentPanel__CurrencyToggleLabel",
|
|
13303
|
-
componentId: "sc-1yyi6jn-
|
|
13299
|
+
componentId: "sc-1yyi6jn-15"
|
|
13304
13300
|
})(["font-size:0.5rem;color:#888;text-transform:uppercase;letter-spacing:0.5px;white-space:nowrap;"]);
|
|
13305
13301
|
var CurrencyToggleButton = /*#__PURE__*/styled.button.withConfig({
|
|
13306
13302
|
displayName: "ManagmentPanel__CurrencyToggleButton",
|
|
13307
|
-
componentId: "sc-1yyi6jn-
|
|
13303
|
+
componentId: "sc-1yyi6jn-16"
|
|
13308
13304
|
})(["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) {
|
|
13309
13305
|
var $active = _ref3.$active;
|
|
13310
13306
|
return $active ? '#f59e0b' : 'rgba(255,255,255,0.15)';
|
|
@@ -13323,7 +13319,7 @@ var CurrencyToggleButton = /*#__PURE__*/styled.button.withConfig({
|
|
|
13323
13319
|
});
|
|
13324
13320
|
var DCPreview = /*#__PURE__*/styled.span.withConfig({
|
|
13325
13321
|
displayName: "ManagmentPanel__DCPreview",
|
|
13326
|
-
componentId: "sc-1yyi6jn-
|
|
13322
|
+
componentId: "sc-1yyi6jn-17"
|
|
13327
13323
|
})(["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;"]);
|
|
13328
13324
|
|
|
13329
13325
|
var CURRENCY_OPTIONS = [{
|