@rpg-engine/long-bow 0.8.216 → 0.8.217

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.
@@ -40198,9 +40198,9 @@ var Store = function Store(_ref) {
40198
40198
  })), React.createElement(CartButtonWrapper, null, React.createElement(CTAButton, {
40199
40199
  icon: React.createElement(FaShoppingCart, null),
40200
40200
  onClick: handleOpenCart
40201
- }), getTotalItems() > 0 && React.createElement(CartBadge, null, getTotalItems()))), React.createElement(TabContent, null, (_tabsMap$activeTab = tabsMap[activeTab]) == null ? void 0 : _tabsMap$activeTab.content)), cartItems.length > 0 && React.createElement(Footer$3, null, React.createElement(CartSummary, null, React.createElement(CartInfo, null, React.createElement("span", null, "Items in cart:"), React.createElement("span", null, getTotalItems())), React.createElement(CartInfo, null, React.createElement("span", null, "Total:"), React.createElement("span", null, currencySymbol, getTotalPrice().toFixed(2)))), React.createElement(CTAButton, {
40201
+ }), getTotalItems() > 0 && React.createElement(CartBadge, null, getTotalItems()))), React.createElement(TabContent, null, (_tabsMap$activeTab = tabsMap[activeTab]) == null ? void 0 : _tabsMap$activeTab.content)), cartItems.length > 0 && React.createElement(Footer$3, null, React.createElement(CTAButton, {
40202
40202
  icon: React.createElement(FaShoppingCart, null),
40203
- label: "Proceed to Checkout (" + currencySymbol + getTotalPrice().toFixed(2) + ")",
40203
+ label: "Checkout \xB7 " + getTotalItems() + " item" + (getTotalItems() !== 1 ? 's' : '') + " (" + currencySymbol + getTotalPrice().toFixed(2) + ")",
40204
40204
  onClick: handleOpenCart,
40205
40205
  fullWidth: true
40206
40206
  }))));
@@ -40236,30 +40236,22 @@ var TabContent = /*#__PURE__*/styled.div.withConfig({
40236
40236
  var Footer$3 = /*#__PURE__*/styled.div.withConfig({
40237
40237
  displayName: "Store__Footer",
40238
40238
  componentId: "sc-64dj00-7"
40239
- })(["display:flex;flex-direction:column;gap:1rem;padding:1rem;border-top:2px solid #f59e0b;background:rgba(0,0,0,0.2);flex-shrink:0;"]);
40240
- var CartSummary = /*#__PURE__*/styled.div.withConfig({
40241
- displayName: "Store__CartSummary",
40242
- componentId: "sc-64dj00-8"
40243
- })(["display:flex;flex-direction:column;gap:0.5rem;"]);
40244
- var CartInfo = /*#__PURE__*/styled.div.withConfig({
40245
- displayName: "Store__CartInfo",
40246
- componentId: "sc-64dj00-9"
40247
- })(["display:flex;align-items:center;gap:0.75rem;font-family:'Press Start 2P',cursive;font-size:0.75rem;color:#ffffff;span:last-child{color:#fef08a;}"]);
40239
+ })(["padding:0.5rem;border-top:2px solid #f59e0b;background:rgba(0,0,0,0.2);flex-shrink:0;"]);
40248
40240
  var TabLabelWithBadge = /*#__PURE__*/styled.span.withConfig({
40249
40241
  displayName: "Store__TabLabelWithBadge",
40250
- componentId: "sc-64dj00-10"
40242
+ componentId: "sc-64dj00-8"
40251
40243
  })(["display:inline-flex;align-items:center;gap:5px;"]);
40252
40244
  var LoadingMessage$1 = /*#__PURE__*/styled.div.withConfig({
40253
40245
  displayName: "Store__LoadingMessage",
40254
- componentId: "sc-64dj00-11"
40246
+ componentId: "sc-64dj00-9"
40255
40247
  })(["text-align:center;color:", ";padding:2rem;"], uiColors.white);
40256
40248
  var ErrorMessage$3 = /*#__PURE__*/styled.div.withConfig({
40257
40249
  displayName: "Store__ErrorMessage",
40258
- componentId: "sc-64dj00-12"
40250
+ componentId: "sc-64dj00-10"
40259
40251
  })(["text-align:center;color:", ";padding:2rem;"], uiColors.red);
40260
40252
  var CenteredContent = /*#__PURE__*/styled.div.withConfig({
40261
40253
  displayName: "Store__CenteredContent",
40262
- componentId: "sc-64dj00-13"
40254
+ componentId: "sc-64dj00-11"
40263
40255
  })(["display:flex;align-items:center;justify-content:center;height:100%;padding:2rem;"]);
40264
40256
 
40265
40257
  var TextArea = function TextArea(_ref) {