@rpg-engine/long-bow 0.8.186 → 0.8.188

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.
@@ -47248,16 +47248,17 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
47248
47248
  spriteKey: snap.textureKey + "/down/standing/0.png",
47249
47249
  imgScale: 4,
47250
47250
  height: 96,
47251
- width: 96
47251
+ width: 96,
47252
+ centered: true
47252
47253
  })), React__default.createElement(HeroInfo, null, React__default.createElement(CharacterName$1, null, snap.name || 'Unknown'), React__default.createElement(CharacterClass, null, "Lv.", snap.level, " \xB7 ", snap["class"]), React__default.createElement(CharacterOrigin, null, snap.race, " \xB7 ", snap.faction), React__default.createElement(ModeBadge, {
47253
47254
  "$hardcore": ((_snap$mode = snap.mode) == null ? void 0 : _snap$mode.toLowerCase()) === 'hardcore'
47254
- }, snap.mode || 'Standard'))), React__default.createElement(Divider, null), topSkills.length > 0 && React__default.createElement(Section$3, null, React__default.createElement(SectionTitle$3, null, "Skills"), React__default.createElement(SkillsGrid, null, topSkills.map(function (_ref4) {
47255
+ }, snap.mode || 'Standard'))), React__default.createElement(Divider, null), React__default.createElement(MetaColumns, null, topSkills.length > 0 && React__default.createElement(Section$3, null, React__default.createElement(SectionTitle$3, null, "Skills"), React__default.createElement(SkillsList, null, topSkills.map(function (_ref4) {
47255
47256
  var name = _ref4[0],
47256
47257
  value = _ref4[1];
47257
47258
  return React__default.createElement(SkillRow, {
47258
47259
  key: name
47259
47260
  }, React__default.createElement(SkillName, null, name), React__default.createElement(SkillValue, null, value));
47260
- }))), ((_snap$equipment = snap.equipment) == null ? void 0 : _snap$equipment.length) > 0 && React__default.createElement(React__default.Fragment, null, React__default.createElement(Divider, null), React__default.createElement(Section$3, null, React__default.createElement(SectionTitle$3, null, "Equipment"), React__default.createElement(EquipmentList, null, snap.equipment.map(function (eq, i) {
47261
+ }))), ((_snap$equipment = snap.equipment) == null ? void 0 : _snap$equipment.length) > 0 && React__default.createElement(Section$3, null, React__default.createElement(SectionTitle$3, null, "Equipment"), React__default.createElement(EquipmentList, null, snap.equipment.map(function (eq, i) {
47261
47262
  return React__default.createElement(EquipmentRow, {
47262
47263
  key: i
47263
47264
  }, React__default.createElement(EquipSlot, null, eq.slot), React__default.createElement(EquipName, null, eq.itemName), React__default.createElement(RarityBadge, {
@@ -47267,7 +47268,8 @@ var CharacterDetailModal = function CharacterDetailModal(_ref) {
47267
47268
  atlasIMG: atlasIMG,
47268
47269
  atlasJSON: atlasJSON,
47269
47270
  spriteKey: "others/definya-coin.png",
47270
- imgScale: 1
47271
+ imgScale: 1,
47272
+ centered: true
47271
47273
  })), React__default.createElement(PriceAmount, null, shared.formatDCAmount(listing.price), " DC")), React__default.createElement(BuyBtn, {
47272
47274
  icon: React__default.createElement(ShoppingBag.ShoppingBag, {
47273
47275
  width: 18,
@@ -47290,7 +47292,7 @@ var ModalContainer$5 = /*#__PURE__*/styled__default.div.withConfig({
47290
47292
  var ModalContent$5 = /*#__PURE__*/styled__default.div.withConfig({
47291
47293
  displayName: "CharacterDetailModal__ModalContent",
47292
47294
  componentId: "sc-1kdn1l6-2"
47293
- })(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px;width:480px;max-width:94%;max-height:85dvh;display:flex;flex-direction:column;gap:14px;overflow-y:auto;overflow-x:hidden;pointer-events:auto;animation:", " 0.15s ease-out;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:rgba(0,0,0,0.2);border-radius:4px;}&::-webkit-scrollbar-thumb{background:rgba(245,158,11,0.3);border-radius:4px;}"], scaleIn$2);
47295
+ })(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px;width:580px;max-width:96%;max-height:85dvh;display:flex;flex-direction:column;gap:14px;overflow-y:auto;overflow-x:hidden;pointer-events:auto;animation:", " 0.15s ease-out;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:rgba(0,0,0,0.2);border-radius:4px;}&::-webkit-scrollbar-thumb{background:rgba(245,158,11,0.3);border-radius:4px;}"], scaleIn$2);
47294
47296
  var Header$b = /*#__PURE__*/styled__default.div.withConfig({
47295
47297
  displayName: "CharacterDetailModal__Header",
47296
47298
  componentId: "sc-1kdn1l6-3"
@@ -47349,41 +47351,45 @@ var SectionTitle$3 = /*#__PURE__*/styled__default.span.withConfig({
47349
47351
  displayName: "CharacterDetailModal__SectionTitle",
47350
47352
  componentId: "sc-1kdn1l6-15"
47351
47353
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.45rem !important;color:#f59e0b !important;text-transform:uppercase;letter-spacing:1px;"]);
47352
- var SkillsGrid = /*#__PURE__*/styled__default.div.withConfig({
47353
- displayName: "CharacterDetailModal__SkillsGrid",
47354
+ var MetaColumns = /*#__PURE__*/styled__default.div.withConfig({
47355
+ displayName: "CharacterDetailModal__MetaColumns",
47354
47356
  componentId: "sc-1kdn1l6-16"
47355
- })(["display:grid;grid-template-columns:repeat(2,1fr);gap:4px 12px;"]);
47357
+ })(["display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;"]);
47358
+ var SkillsList = /*#__PURE__*/styled__default.div.withConfig({
47359
+ displayName: "CharacterDetailModal__SkillsList",
47360
+ componentId: "sc-1kdn1l6-17"
47361
+ })(["display:flex;flex-direction:column;gap:4px;"]);
47356
47362
  var SkillRow = /*#__PURE__*/styled__default.div.withConfig({
47357
47363
  displayName: "CharacterDetailModal__SkillRow",
47358
- componentId: "sc-1kdn1l6-17"
47364
+ componentId: "sc-1kdn1l6-18"
47359
47365
  })(["display:flex;justify-content:space-between;align-items:center;gap:8px;"]);
47360
47366
  var SkillName = /*#__PURE__*/styled__default.span.withConfig({
47361
47367
  displayName: "CharacterDetailModal__SkillName",
47362
- componentId: "sc-1kdn1l6-18"
47368
+ componentId: "sc-1kdn1l6-19"
47363
47369
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#9ca3af !important;text-transform:capitalize;"]);
47364
47370
  var SkillValue = /*#__PURE__*/styled__default.span.withConfig({
47365
47371
  displayName: "CharacterDetailModal__SkillValue",
47366
- componentId: "sc-1kdn1l6-19"
47372
+ componentId: "sc-1kdn1l6-20"
47367
47373
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#fef08a !important;"]);
47368
47374
  var EquipmentList = /*#__PURE__*/styled__default.div.withConfig({
47369
47375
  displayName: "CharacterDetailModal__EquipmentList",
47370
- componentId: "sc-1kdn1l6-20"
47376
+ componentId: "sc-1kdn1l6-21"
47371
47377
  })(["display:flex;flex-direction:column;gap:5px;"]);
47372
47378
  var EquipmentRow = /*#__PURE__*/styled__default.div.withConfig({
47373
47379
  displayName: "CharacterDetailModal__EquipmentRow",
47374
- componentId: "sc-1kdn1l6-21"
47380
+ componentId: "sc-1kdn1l6-22"
47375
47381
  })(["display:flex;align-items:center;gap:8px;padding:5px 8px;background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.05);border-radius:4px;"]);
47376
47382
  var EquipSlot = /*#__PURE__*/styled__default.span.withConfig({
47377
47383
  displayName: "CharacterDetailModal__EquipSlot",
47378
- componentId: "sc-1kdn1l6-22"
47384
+ componentId: "sc-1kdn1l6-23"
47379
47385
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.34rem !important;color:#6b7280 !important;text-transform:capitalize;min-width:52px;flex-shrink:0;"]);
47380
47386
  var EquipName = /*#__PURE__*/styled__default.span.withConfig({
47381
47387
  displayName: "CharacterDetailModal__EquipName",
47382
- componentId: "sc-1kdn1l6-23"
47388
+ componentId: "sc-1kdn1l6-24"
47383
47389
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#d1d5db !important;flex:1;"]);
47384
47390
  var RarityBadge = /*#__PURE__*/styled__default.span.withConfig({
47385
47391
  displayName: "CharacterDetailModal__RarityBadge",
47386
- componentId: "sc-1kdn1l6-24"
47392
+ componentId: "sc-1kdn1l6-25"
47387
47393
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.32rem !important;color:", " !important;border:1px solid ", "44;border-radius:2px;padding:1px 4px;text-transform:uppercase;flex-shrink:0;"], function (_ref7) {
47388
47394
  var $rarity = _ref7.$rarity;
47389
47395
  return rarityColor$1($rarity);
@@ -47393,35 +47399,35 @@ var RarityBadge = /*#__PURE__*/styled__default.span.withConfig({
47393
47399
  });
47394
47400
  var Footer$1 = /*#__PURE__*/styled__default.div.withConfig({
47395
47401
  displayName: "CharacterDetailModal__Footer",
47396
- componentId: "sc-1kdn1l6-25"
47402
+ componentId: "sc-1kdn1l6-26"
47397
47403
  })(["display:flex;flex-direction:column;gap:8px;flex-shrink:0;"]);
47398
47404
  var SellerInfo = /*#__PURE__*/styled__default.span.withConfig({
47399
47405
  displayName: "CharacterDetailModal__SellerInfo",
47400
- componentId: "sc-1kdn1l6-26"
47406
+ componentId: "sc-1kdn1l6-27"
47401
47407
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.38rem !important;color:#6b7280 !important;text-transform:uppercase;letter-spacing:0.5px;"]);
47402
47408
  var FooterActions = /*#__PURE__*/styled__default.div.withConfig({
47403
47409
  displayName: "CharacterDetailModal__FooterActions",
47404
- componentId: "sc-1kdn1l6-27"
47410
+ componentId: "sc-1kdn1l6-28"
47405
47411
  })(["display:flex;align-items:center;justify-content:space-between;gap:12px;"]);
47406
47412
  var PriceDisplay = /*#__PURE__*/styled__default.div.withConfig({
47407
47413
  displayName: "CharacterDetailModal__PriceDisplay",
47408
- componentId: "sc-1kdn1l6-28"
47414
+ componentId: "sc-1kdn1l6-29"
47409
47415
  })(["display:flex;align-items:center;gap:6px;line-height:1;"]);
47410
47416
  var DCCoinWrapper$2 = /*#__PURE__*/styled__default.span.withConfig({
47411
47417
  displayName: "CharacterDetailModal__DCCoinWrapper",
47412
- componentId: "sc-1kdn1l6-29"
47418
+ componentId: "sc-1kdn1l6-30"
47413
47419
  })(["display:flex;align-items:center;justify-content:center;flex-shrink:0;line-height:0;"]);
47414
47420
  var PriceAmount = /*#__PURE__*/styled__default.span.withConfig({
47415
47421
  displayName: "CharacterDetailModal__PriceAmount",
47416
- componentId: "sc-1kdn1l6-30"
47422
+ componentId: "sc-1kdn1l6-31"
47417
47423
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.7rem !important;color:#fef08a !important;"]);
47418
47424
  var BuyBtn = /*#__PURE__*/styled__default(CTAButton).withConfig({
47419
47425
  displayName: "CharacterDetailModal__BuyBtn",
47420
- componentId: "sc-1kdn1l6-31"
47426
+ componentId: "sc-1kdn1l6-32"
47421
47427
  })(["flex-shrink:0;padding:10px 18px;height:34px;span{font-size:0.6rem;}"]);
47422
47428
  var PendingNotice = /*#__PURE__*/styled__default.span.withConfig({
47423
47429
  displayName: "CharacterDetailModal__PendingNotice",
47424
- componentId: "sc-1kdn1l6-32"
47430
+ componentId: "sc-1kdn1l6-33"
47425
47431
  })(["font-family:'Press Start 2P',cursive !important;font-size:0.35rem !important;color:#ef4444 !important;text-transform:uppercase;letter-spacing:0.5px;"]);
47426
47432
 
47427
47433
  var CharacterMarketplacePanel = function CharacterMarketplacePanel(_ref) {
@@ -47478,7 +47484,8 @@ var CharacterMarketplacePanel = function CharacterMarketplacePanel(_ref) {
47478
47484
  spriteKey: snapshot.textureKey + "/down/standing/0.png",
47479
47485
  imgScale: 3,
47480
47486
  height: 64,
47481
- width: 64
47487
+ width: 64,
47488
+ centered: true
47482
47489
  });
47483
47490
  };
47484
47491
  return React__default.createElement(React__default.Fragment, null, React__default.createElement(CharacterDetailModal, {
@@ -47520,7 +47527,8 @@ var CharacterMarketplacePanel = function CharacterMarketplacePanel(_ref) {
47520
47527
  atlasIMG: atlasIMG,
47521
47528
  atlasJSON: atlasJSON,
47522
47529
  spriteKey: "others/definya-coin.png",
47523
- imgScale: 1
47530
+ imgScale: 1,
47531
+ centered: true
47524
47532
  })), shared.formatDCAmount(listing.price), " DC")), listing.isBeingBought && React__default.createElement(BeingBoughtBadge, null, "Pending"));
47525
47533
  }))), totalCount > itemsPerPage && React__default.createElement(PagerFooter$1, null, React__default.createElement(Pagination, {
47526
47534
  currentPage: currentPage,
@@ -47672,12 +47680,14 @@ var MyCharacterListingsPanel = function MyCharacterListingsPanel(_ref) {
47672
47680
  spriteKey: listing.characterSnapshot.textureKey + "/down/standing/0.png",
47673
47681
  imgScale: 3,
47674
47682
  height: 64,
47675
- width: 64
47683
+ width: 64,
47684
+ centered: true
47676
47685
  })), React__default.createElement(CharacterInfo$1, null, React__default.createElement(CharacterName$3, null, listing.characterSnapshot.name || 'Unknown'), React__default.createElement(CharacterMeta$1, null, "Level ", listing.characterSnapshot.level), React__default.createElement(ListingPrice$1, null, React__default.createElement(DCCoinWrapper$4, null, React__default.createElement(SpriteFromAtlas, {
47677
47686
  atlasIMG: atlasIMG,
47678
47687
  atlasJSON: atlasJSON,
47679
47688
  spriteKey: "others/definya-coin.png",
47680
- imgScale: 1
47689
+ imgScale: 1,
47690
+ centered: true
47681
47691
  })), shared.formatDCAmount(listing.price), " DC"), React__default.createElement(ListingMeta, null, "Listed ", getFormattedDate(listing.createdAt)), listing.isBeingBought && React__default.createElement(ListingStatus, {
47682
47692
  "$status": "pending"
47683
47693
  }, "Sale Pending")), React__default.createElement(ActionButton, {
@@ -47921,7 +47931,8 @@ var CharacterListingModal = function CharacterListingModal(_ref) {
47921
47931
  atlasIMG: atlasIMG,
47922
47932
  atlasJSON: atlasJSON,
47923
47933
  spriteKey: "others/definya-coin.png",
47924
- imgScale: 1
47934
+ imgScale: 1,
47935
+ centered: true
47925
47936
  })), React__default.createElement(PricePreviewAmount, null, Number(price).toLocaleString(), " DC")), React__default.createElement(DCRateStrip, null)))));
47926
47937
  };
47927
47938
  var scaleIn$3 = /*#__PURE__*/styled.keyframes(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]);