@rpg-engine/long-bow 0.8.130 → 0.8.131

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.
@@ -5,7 +5,7 @@ import { v4 } from 'uuid';
5
5
  import { GRID_WIDTH, GRID_HEIGHT, ShortcutType, getItemTextureKeyPath, ItemContainerType, ItemType, DepotSocketEvents, ItemSocketEvents, ItemSocketEventsDisplayLabels, ActionsForInventory, ActionsForEquipmentSet, ActionsForLoot, ActionsForMapContainer, ItemQualityLevel, ItemRarities, ItemSubType, isMobile, TaskType, TaskStatus, isMobileOrTablet, RewardType, ItemSlotType, NPCSubtype, EntityAttackType, NPCAlignment, VideoGuideCategory, VideoGuideLanguage, CharacterClass, QuestStatus, getLevelFromXP, getSkillConstants, getLevelFromSPTiered, getXPForLevel, getSPForLevelTiered, MetadataType, PurchaseType, UserAccountTypes, PaymentCurrency, PeriodOfDay } from '@rpg-engine/shared';
6
6
  import dayjs from 'dayjs';
7
7
  import { ErrorBoundary as ErrorBoundary$1 } from 'react-error-boundary';
8
- import { FaTimes, FaDiscord, FaWhatsapp, FaSearch, FaThumbtack, FaBoxOpen, FaChevronLeft, FaChevronRight, FaClipboardList, FaChevronUp, FaChevronDown, FaReddit, FaTrash, FaShoppingBag, FaInfoCircle, FaCartPlus, FaArrowLeft, FaHistory, FaShoppingCart } from 'react-icons/fa';
8
+ import { FaTimes, FaDiscord, FaWhatsapp, FaSearch, FaThumbtack, FaBoxOpen, FaChevronLeft, FaChevronRight, FaClipboardList, FaChevronUp, FaChevronDown, FaReddit, FaTrash, FaShoppingBag, FaInfoCircle, FaCartPlus, FaArrowLeft, FaHistory, FaWallet, FaShoppingCart } from 'react-icons/fa';
9
9
  import { RxMagnifyingGlass, RxCross2 } from 'react-icons/rx';
10
10
  import { IoMdContract, IoMdExpand } from 'react-icons/io';
11
11
  import Draggable from 'react-draggable';
@@ -59012,6 +59012,8 @@ var Store = function Store(_ref) {
59012
59012
  atlasIMG = _ref.atlasIMG,
59013
59013
  _onPurchase2 = _ref.onPurchase,
59014
59014
  onShowHistory = _ref.onShowHistory,
59015
+ onShowWallet = _ref.onShowWallet,
59016
+ walletLabel = _ref.walletLabel,
59015
59017
  userAccountType = _ref.userAccountType,
59016
59018
  _ref$loading = _ref.loading,
59017
59019
  loading = _ref$loading === void 0 ? false : _ref$loading,
@@ -59229,10 +59231,14 @@ var Store = function Store(_ref) {
59229
59231
  onAddToCart: function onAddToCart() {
59230
59232
  return handleAddPackToCart(selectedPack);
59231
59233
  }
59232
- }) : React.createElement(Container$N, null, React.createElement(TopBar$1, null, React.createElement(HistoryButton, null, onShowHistory && React.createElement(CTAButton, {
59234
+ }) : React.createElement(Container$N, null, React.createElement(TopBar$1, null, React.createElement(LeftButtons, null, onShowHistory && React.createElement(CTAButton, {
59233
59235
  icon: React.createElement(FaHistory, null),
59234
59236
  label: "History",
59235
59237
  onClick: onShowHistory
59238
+ }), onShowWallet && React.createElement(CTAButton, {
59239
+ icon: React.createElement(FaWallet, null),
59240
+ label: walletLabel != null ? walletLabel : 'DC Wallet',
59241
+ onClick: onShowWallet
59236
59242
  })), React.createElement(CartButton, null, React.createElement(CTAButton, {
59237
59243
  icon: React.createElement(FaShoppingCart, null),
59238
59244
  label: getTotalItems() + " items ($" + getTotalPrice().toFixed(2) + ")",
@@ -59263,10 +59269,10 @@ var TopBar$1 = /*#__PURE__*/styled.div.withConfig({
59263
59269
  displayName: "Store__TopBar",
59264
59270
  componentId: "sc-64dj00-1"
59265
59271
  })(["display:flex;align-items:center;justify-content:flex-end;gap:1rem;padding:0 1rem;flex-shrink:0;margin-top:0.5rem;"]);
59266
- var HistoryButton = /*#__PURE__*/styled.div.withConfig({
59267
- displayName: "Store__HistoryButton",
59272
+ var LeftButtons = /*#__PURE__*/styled.div.withConfig({
59273
+ displayName: "Store__LeftButtons",
59268
59274
  componentId: "sc-64dj00-2"
59269
- })(["min-width:fit-content;margin-right:auto;"]);
59275
+ })(["display:flex;gap:0.5rem;min-width:fit-content;margin-right:auto;"]);
59270
59276
  var CartButton = /*#__PURE__*/styled.div.withConfig({
59271
59277
  displayName: "Store__CartButton",
59272
59278
  componentId: "sc-64dj00-3"