@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
package/dist/long-bow.esm.js
CHANGED
|
@@ -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(
|
|
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: "
|
|
40203
|
+
label: "Checkout \xB7 " + getTotalItems() + " item" + (getTotalItems() !== 1 ? 's' : '') + " (" + currencySymbol + getTotalPrice().toFixed(2) + ")",
|
|
40204
40204
|
onClick: handleOpenCart,
|
|
40205
40205
|
fullWidth: true
|
|
40206
40206
|
}))));
|
|
@@ -40208,7 +40208,7 @@ var Store = function Store(_ref) {
|
|
|
40208
40208
|
var Container$Q = /*#__PURE__*/styled.div.withConfig({
|
|
40209
40209
|
displayName: "Store__Container",
|
|
40210
40210
|
componentId: "sc-64dj00-0"
|
|
40211
|
-
})(["display:flex;flex-direction:column;width:100%;height:100
|
|
40211
|
+
})(["display:flex;flex-direction:column;width:100%;height:calc(100% - 48px);gap:0.5rem;position:relative;overflow:hidden;"]);
|
|
40212
40212
|
var HeaderRow = /*#__PURE__*/styled.div.withConfig({
|
|
40213
40213
|
displayName: "Store__HeaderRow",
|
|
40214
40214
|
componentId: "sc-64dj00-1"
|
|
@@ -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
|
-
})(["
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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) {
|