@rpg-engine/long-bow 0.8.221 → 0.8.222
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 -6
- 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 -6
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DraggableContainer.tsx +6 -0
- package/src/components/Store/CartView.tsx +19 -0
|
@@ -2566,7 +2566,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
2566
2566
|
var Container$a = /*#__PURE__*/styled__default.div.withConfig({
|
|
2567
2567
|
displayName: "DraggableContainer__Container",
|
|
2568
2568
|
componentId: "sc-184mpyl-0"
|
|
2569
|
-
})(["height:", ";width:", ";min-width:", ";min-height:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}"], function (props) {
|
|
2569
|
+
})(["height:", ";width:", ";min-width:", ";min-height:", ";display:flex;flex-wrap:wrap;image-rendering:pixelated;overflow-y:hidden;", " ", " &.rpgui-container{padding-top:1.5rem;}@media (max-width:600px){width:100vw !important;min-width:unset !important;height:100dvh !important;}"], function (props) {
|
|
2570
2570
|
return props.height;
|
|
2571
2571
|
}, function (_ref2) {
|
|
2572
2572
|
var width = _ref2.width;
|
|
@@ -37703,7 +37703,7 @@ var CartView = function CartView(_ref2) {
|
|
|
37703
37703
|
var Container$M = /*#__PURE__*/styled__default.div.withConfig({
|
|
37704
37704
|
displayName: "CartView__Container",
|
|
37705
37705
|
componentId: "sc-ydtyl1-0"
|
|
37706
|
-
})(["display:flex;flex-direction:column;width:100%;height:100%;padding:1rem;overflow:hidden;box-sizing:border-box;"]);
|
|
37706
|
+
})(["display:flex;flex-direction:column;width:100%;height:100%;padding:1rem;overflow:hidden;box-sizing:border-box;@media (max-width:480px){padding:0.75rem 0.5rem;}"]);
|
|
37707
37707
|
var Header$g = /*#__PURE__*/styled__default.div.withConfig({
|
|
37708
37708
|
displayName: "CartView__Header",
|
|
37709
37709
|
componentId: "sc-ydtyl1-1"
|
|
@@ -37727,7 +37727,7 @@ var CartItems = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
37727
37727
|
var OrderSummaryPanel = /*#__PURE__*/styled__default.div.withConfig({
|
|
37728
37728
|
displayName: "CartView__OrderSummaryPanel",
|
|
37729
37729
|
componentId: "sc-ydtyl1-6"
|
|
37730
|
-
})(["display:flex;flex-direction:column;gap:0.5rem;padding:1rem;background:rgba(0,0,0,0.25);border:1px solid rgba(255,255,255,0.08);border-radius:6px;align-self:start;"]);
|
|
37730
|
+
})(["display:flex;flex-direction:column;gap:0.5rem;padding:1rem;background:rgba(0,0,0,0.25);border:1px solid rgba(255,255,255,0.08);border-radius:6px;align-self:start;@media (max-width:480px){padding:0.75rem;}"]);
|
|
37731
37731
|
var EmptyCart = /*#__PURE__*/styled__default.div.withConfig({
|
|
37732
37732
|
displayName: "CartView__EmptyCart",
|
|
37733
37733
|
componentId: "sc-ydtyl1-7"
|
|
@@ -37735,7 +37735,7 @@ var EmptyCart = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
37735
37735
|
var CartItemRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
37736
37736
|
displayName: "CartView__CartItemRow",
|
|
37737
37737
|
componentId: "sc-ydtyl1-8"
|
|
37738
|
-
})(["display:flex;align-items:center;gap:0.75rem;padding:0.5rem 0.75rem;background:rgba(0,0,0,0.2);border-radius:4px;"]);
|
|
37738
|
+
})(["display:flex;align-items:center;gap:0.75rem;padding:0.5rem 0.75rem;background:rgba(0,0,0,0.2);border-radius:4px;@media (max-width:480px){gap:0.5rem;padding:0.4rem 0.5rem;}"]);
|
|
37739
37739
|
var ItemIconContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
37740
37740
|
displayName: "CartView__ItemIconContainer",
|
|
37741
37741
|
componentId: "sc-ydtyl1-9"
|
|
@@ -37751,7 +37751,7 @@ var ItemName$6 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
37751
37751
|
var ItemInfo$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
37752
37752
|
displayName: "CartView__ItemInfo",
|
|
37753
37753
|
componentId: "sc-ydtyl1-12"
|
|
37754
|
-
})(["display:flex;align-items:center;gap:0.4rem;font-family:'Press Start 2P',cursive;font-size:0.55rem;color:#fef08a;"]);
|
|
37754
|
+
})(["display:flex;align-items:center;flex-wrap:wrap;gap:0.4rem;font-family:'Press Start 2P',cursive;font-size:0.55rem;color:#fef08a;"]);
|
|
37755
37755
|
var Footer$2 = /*#__PURE__*/styled__default.div.withConfig({
|
|
37756
37756
|
displayName: "CartView__Footer",
|
|
37757
37757
|
componentId: "sc-ydtyl1-13"
|
|
@@ -37763,12 +37763,14 @@ var OrderSummaryLabel = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
37763
37763
|
var TotalRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
37764
37764
|
displayName: "CartView__TotalRow",
|
|
37765
37765
|
componentId: "sc-ydtyl1-15"
|
|
37766
|
-
})(["display:flex;align-items:center;justify-content:space-between;gap:1rem;font-family:'Press Start 2P',cursive;font-size:", ";color:", ";", " span:last-child{color:#fef08a;}"], function (p) {
|
|
37766
|
+
})(["display:flex;align-items:center;justify-content:space-between;gap:1rem;font-family:'Press Start 2P',cursive;font-size:", ";color:", ";", " span:last-child{color:#fef08a;}@media (max-width:480px){font-size:", ";gap:0.5rem;}"], function (p) {
|
|
37767
37767
|
return p.$isTotal ? '1rem' : '0.75rem';
|
|
37768
37768
|
}, function (p) {
|
|
37769
37769
|
return p.$isTotal ? '#ffffff' : 'rgba(255,255,255,0.7)';
|
|
37770
37770
|
}, function (p) {
|
|
37771
37771
|
return p.$isTotal && "\n padding-top: 0.5rem;\n border-top: 1px solid rgba(255,255,255,0.15);\n margin-top: 0.25rem;\n ";
|
|
37772
|
+
}, function (p) {
|
|
37773
|
+
return p.$isTotal ? '0.7rem' : '0.55rem';
|
|
37772
37774
|
});
|
|
37773
37775
|
var PaymentMethodRow = /*#__PURE__*/styled__default.div.withConfig({
|
|
37774
37776
|
displayName: "CartView__PaymentMethodRow",
|