@rpg-engine/long-bow 0.8.215 → 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.
- package/dist/long-bow.cjs.development.js +8 -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 +8 -16
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Store/Store.tsx +4 -35
|
@@ -40200,9 +40200,9 @@ var Store = function Store(_ref) {
|
|
|
40200
40200
|
})), React__default.createElement(CartButtonWrapper, null, React__default.createElement(CTAButton, {
|
|
40201
40201
|
icon: React__default.createElement(fa.FaShoppingCart, null),
|
|
40202
40202
|
onClick: handleOpenCart
|
|
40203
|
-
}), getTotalItems() > 0 && React__default.createElement(CartBadge, null, getTotalItems()))), React__default.createElement(TabContent, null, (_tabsMap$activeTab = tabsMap[activeTab]) == null ? void 0 : _tabsMap$activeTab.content)), cartItems.length > 0 && React__default.createElement(Footer$3, null, React__default.createElement(
|
|
40203
|
+
}), getTotalItems() > 0 && React__default.createElement(CartBadge, null, getTotalItems()))), React__default.createElement(TabContent, null, (_tabsMap$activeTab = tabsMap[activeTab]) == null ? void 0 : _tabsMap$activeTab.content)), cartItems.length > 0 && React__default.createElement(Footer$3, null, React__default.createElement(CTAButton, {
|
|
40204
40204
|
icon: React__default.createElement(fa.FaShoppingCart, null),
|
|
40205
|
-
label: "
|
|
40205
|
+
label: "Checkout \xB7 " + getTotalItems() + " item" + (getTotalItems() !== 1 ? 's' : '') + " (" + currencySymbol + getTotalPrice().toFixed(2) + ")",
|
|
40206
40206
|
onClick: handleOpenCart,
|
|
40207
40207
|
fullWidth: true
|
|
40208
40208
|
}))));
|
|
@@ -40210,7 +40210,7 @@ var Store = function Store(_ref) {
|
|
|
40210
40210
|
var Container$Q = /*#__PURE__*/styled__default.div.withConfig({
|
|
40211
40211
|
displayName: "Store__Container",
|
|
40212
40212
|
componentId: "sc-64dj00-0"
|
|
40213
|
-
})(["display:flex;flex-direction:column;width:100%;height:100
|
|
40213
|
+
})(["display:flex;flex-direction:column;width:100%;height:calc(100% - 48px);gap:0.5rem;position:relative;overflow:hidden;"]);
|
|
40214
40214
|
var HeaderRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
40215
40215
|
displayName: "Store__HeaderRow",
|
|
40216
40216
|
componentId: "sc-64dj00-1"
|
|
@@ -40238,30 +40238,22 @@ var TabContent = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
40238
40238
|
var Footer$3 = /*#__PURE__*/styled__default.div.withConfig({
|
|
40239
40239
|
displayName: "Store__Footer",
|
|
40240
40240
|
componentId: "sc-64dj00-7"
|
|
40241
|
-
})(["
|
|
40242
|
-
var CartSummary = /*#__PURE__*/styled__default.div.withConfig({
|
|
40243
|
-
displayName: "Store__CartSummary",
|
|
40244
|
-
componentId: "sc-64dj00-8"
|
|
40245
|
-
})(["display:flex;flex-direction:column;gap:0.5rem;"]);
|
|
40246
|
-
var CartInfo = /*#__PURE__*/styled__default.div.withConfig({
|
|
40247
|
-
displayName: "Store__CartInfo",
|
|
40248
|
-
componentId: "sc-64dj00-9"
|
|
40249
|
-
})(["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;}"]);
|
|
40241
|
+
})(["padding:0.5rem;border-top:2px solid #f59e0b;background:rgba(0,0,0,0.2);flex-shrink:0;"]);
|
|
40250
40242
|
var TabLabelWithBadge = /*#__PURE__*/styled__default.span.withConfig({
|
|
40251
40243
|
displayName: "Store__TabLabelWithBadge",
|
|
40252
|
-
componentId: "sc-64dj00-
|
|
40244
|
+
componentId: "sc-64dj00-8"
|
|
40253
40245
|
})(["display:inline-flex;align-items:center;gap:5px;"]);
|
|
40254
40246
|
var LoadingMessage$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
40255
40247
|
displayName: "Store__LoadingMessage",
|
|
40256
|
-
componentId: "sc-64dj00-
|
|
40248
|
+
componentId: "sc-64dj00-9"
|
|
40257
40249
|
})(["text-align:center;color:", ";padding:2rem;"], uiColors.white);
|
|
40258
40250
|
var ErrorMessage$3 = /*#__PURE__*/styled__default.div.withConfig({
|
|
40259
40251
|
displayName: "Store__ErrorMessage",
|
|
40260
|
-
componentId: "sc-64dj00-
|
|
40252
|
+
componentId: "sc-64dj00-10"
|
|
40261
40253
|
})(["text-align:center;color:", ";padding:2rem;"], uiColors.red);
|
|
40262
40254
|
var CenteredContent = /*#__PURE__*/styled__default.div.withConfig({
|
|
40263
40255
|
displayName: "Store__CenteredContent",
|
|
40264
|
-
componentId: "sc-64dj00-
|
|
40256
|
+
componentId: "sc-64dj00-11"
|
|
40265
40257
|
})(["display:flex;align-items:center;justify-content:center;height:100%;padding:2rem;"]);
|
|
40266
40258
|
|
|
40267
40259
|
var TextArea = function TextArea(_ref) {
|