@rpg-engine/long-bow 0.8.160 → 0.8.161
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/components/Pager.d.ts +1 -0
- package/dist/long-bow.cjs.development.js +80 -38
- 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 +80 -38
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Marketplace/BlueprintSearchModal.tsx +68 -29
- package/src/components/Marketplace/BlueprintTable.tsx +30 -21
- package/src/components/Pager.tsx +13 -5
package/dist/long-bow.esm.js
CHANGED
|
@@ -21,11 +21,11 @@ import { ShoppingBag } from 'pixelarticons/react/ShoppingBag';
|
|
|
21
21
|
import { ShoppingCart } from 'pixelarticons/react/ShoppingCart';
|
|
22
22
|
import { Store as Store$1 } from 'pixelarticons/react/Store';
|
|
23
23
|
import { Wallet } from 'pixelarticons/react/Wallet';
|
|
24
|
+
import { SortVertical } from 'pixelarticons/react/SortVertical';
|
|
24
25
|
import { Search } from 'pixelarticons/react/Search';
|
|
25
26
|
import { Delete } from 'pixelarticons/react/Delete';
|
|
26
27
|
import 'rpgui/rpgui.css';
|
|
27
28
|
import 'rpgui/rpgui.min.js';
|
|
28
|
-
import { SortVertical } from 'pixelarticons/react/SortVertical';
|
|
29
29
|
import { Coins } from 'pixelarticons/react/Coins';
|
|
30
30
|
import capitalize from 'lodash-es/capitalize';
|
|
31
31
|
|
|
@@ -44501,9 +44501,13 @@ var Pager = function Pager(_ref) {
|
|
|
44501
44501
|
var totalItems = _ref.totalItems,
|
|
44502
44502
|
currentPage = _ref.currentPage,
|
|
44503
44503
|
itemsPerPage = _ref.itemsPerPage,
|
|
44504
|
-
onPageChange = _ref.onPageChange
|
|
44504
|
+
onPageChange = _ref.onPageChange,
|
|
44505
|
+
_ref$compact = _ref.compact,
|
|
44506
|
+
compact = _ref$compact === void 0 ? false : _ref$compact;
|
|
44505
44507
|
var totalPages = Math.ceil(totalItems / itemsPerPage);
|
|
44506
|
-
return React.createElement(Container$A, null, React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer,
|
|
44508
|
+
return React.createElement(Container$A, null, !compact && React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer, {
|
|
44509
|
+
"$compact": compact
|
|
44510
|
+
}, React.createElement("button", {
|
|
44507
44511
|
disabled: currentPage === 1,
|
|
44508
44512
|
onPointerDown: function onPointerDown() {
|
|
44509
44513
|
return onPageChange(Math.max(currentPage - 1, 1));
|
|
@@ -44524,7 +44528,19 @@ var Container$A = /*#__PURE__*/styled.div.withConfig({
|
|
|
44524
44528
|
var PagerContainer = /*#__PURE__*/styled.div.withConfig({
|
|
44525
44529
|
displayName: "Pager__PagerContainer",
|
|
44526
44530
|
componentId: "sc-1ekmf50-1"
|
|
44527
|
-
})(["display:flex;justify-content:center;align-items:center;gap:5px;p{margin:0;}div{color:white;}button{width:
|
|
44531
|
+
})(["display:flex;justify-content:center;align-items:center;gap:5px;p{margin:0;}div{color:white;", "}button{width:", " !important;height:", " !important;font-size:", " !important;background-color:", ";border:none;border-radius:5px;color:white;:hover{background-color:", ";}:disabled{opacity:0.5;}&.active{background-color:", ";font-weight:bold;color:black;}}"], function (_ref2) {
|
|
44532
|
+
var $compact = _ref2.$compact;
|
|
44533
|
+
return $compact && "\n font-size: 0.55rem !important;\n padding: 2px 6px !important;\n min-width: unset !important;\n ";
|
|
44534
|
+
}, function (_ref3) {
|
|
44535
|
+
var $compact = _ref3.$compact;
|
|
44536
|
+
return $compact ? '24px' : '40px';
|
|
44537
|
+
}, function (_ref4) {
|
|
44538
|
+
var $compact = _ref4.$compact;
|
|
44539
|
+
return $compact ? '24px' : '40px';
|
|
44540
|
+
}, function (_ref5) {
|
|
44541
|
+
var $compact = _ref5.$compact;
|
|
44542
|
+
return $compact ? '0.55rem' : 'inherit';
|
|
44543
|
+
}, uiColors.darkGray, uiColors.lightGray, uiColors.orange);
|
|
44528
44544
|
|
|
44529
44545
|
var Tabs = function Tabs(_ref) {
|
|
44530
44546
|
var options = _ref.options,
|
|
@@ -44580,24 +44596,25 @@ var BlueprintTable = function BlueprintTable(_ref) {
|
|
|
44580
44596
|
atlasJSON: atlasJSON,
|
|
44581
44597
|
atlasIMG: atlasIMG,
|
|
44582
44598
|
spriteKey: blueprint.texturePath || blueprint.key,
|
|
44583
|
-
width:
|
|
44584
|
-
height:
|
|
44585
|
-
imgScale:
|
|
44599
|
+
width: 24,
|
|
44600
|
+
height: 24,
|
|
44601
|
+
imgScale: 1.5,
|
|
44586
44602
|
centered: true
|
|
44587
44603
|
})), React.createElement(ColName, null, React.createElement(BlueprintName, null, blueprint.name), (blueprint.type || blueprint.subType) && React.createElement(BlueprintMeta, null, [blueprint.type, blueprint.subType].filter(Boolean).filter(function (v, i, arr) {
|
|
44588
44604
|
return arr.indexOf(v) === i;
|
|
44589
44605
|
}).join(' · '))), React.createElement(ColType, null, React.createElement(TypeText, null, blueprint.type), blueprint.subType && blueprint.subType !== blueprint.type && React.createElement(SubTypeText, null, blueprint.subType)), React.createElement(ColTier, null, "T", blueprint.tier));
|
|
44590
44606
|
}));
|
|
44591
44607
|
};
|
|
44592
|
-
var tableRowBase = "\n display: grid;\n grid-template-columns:
|
|
44608
|
+
var tableRowBase = "\n display: grid;\n grid-template-columns: 28px 1fr 100px 40px;\n align-items: center;\n gap: 6px;\n padding: 3px 8px;\n";
|
|
44609
|
+
var mobileRowOverride = "\n @media (max-width: 600px) {\n padding: 1px 6px;\n gap: 4px;\n }\n";
|
|
44593
44610
|
var ResultsHeader = /*#__PURE__*/styled.div.withConfig({
|
|
44594
44611
|
displayName: "BlueprintTable__ResultsHeader",
|
|
44595
44612
|
componentId: "sc-1ysxhx2-0"
|
|
44596
|
-
})(["", " background:rgba(0,0,0,0.4);border-bottom:1px solid rgba(255,255,255,0.1);position:sticky;top:0;z-index:1
|
|
44613
|
+
})(["", " ", " background:rgba(0,0,0,0.4);border-bottom:1px solid rgba(255,255,255,0.1);position:sticky;top:0;z-index:1;&& > *{font-size:0.48rem !important;color:#555 !important;text-transform:uppercase;letter-spacing:1px;}"], tableRowBase, mobileRowOverride);
|
|
44597
44614
|
var ResultRow = /*#__PURE__*/styled.div.withConfig({
|
|
44598
44615
|
displayName: "BlueprintTable__ResultRow",
|
|
44599
44616
|
componentId: "sc-1ysxhx2-1"
|
|
44600
|
-
})(["", " border-bottom:1px solid rgba(255,255,255,0.04);cursor:", ";transition:background 0.1s;&:hover{background:", ";}&:last-child{border-bottom:none;}"], tableRowBase, function (p) {
|
|
44617
|
+
})(["", " ", " border-bottom:1px solid rgba(255,255,255,0.04);cursor:", ";transition:background 0.1s;&:hover{background:", ";}&:last-child{border-bottom:none;}"], tableRowBase, mobileRowOverride, function (p) {
|
|
44601
44618
|
return p.$selectable ? 'pointer' : 'default';
|
|
44602
44619
|
}, function (p) {
|
|
44603
44620
|
return p.$selectable ? 'rgba(245, 158, 11, 0.08)' : 'none';
|
|
@@ -44605,7 +44622,7 @@ var ResultRow = /*#__PURE__*/styled.div.withConfig({
|
|
|
44605
44622
|
var SpriteWrapper$1 = /*#__PURE__*/styled.div.withConfig({
|
|
44606
44623
|
displayName: "BlueprintTable__SpriteWrapper",
|
|
44607
44624
|
componentId: "sc-1ysxhx2-2"
|
|
44608
|
-
})(["display:flex;align-items:center;justify-content:center;width:
|
|
44625
|
+
})(["display:flex;align-items:center;justify-content:center;width:28px;height:24px;"]);
|
|
44609
44626
|
var ColName = /*#__PURE__*/styled.div.withConfig({
|
|
44610
44627
|
displayName: "BlueprintTable__ColName",
|
|
44611
44628
|
componentId: "sc-1ysxhx2-3"
|
|
@@ -44613,11 +44630,11 @@ var ColName = /*#__PURE__*/styled.div.withConfig({
|
|
|
44613
44630
|
var BlueprintName = /*#__PURE__*/styled.span.withConfig({
|
|
44614
44631
|
displayName: "BlueprintTable__BlueprintName",
|
|
44615
44632
|
componentId: "sc-1ysxhx2-4"
|
|
44616
|
-
})(["font-size:0.
|
|
44633
|
+
})(["font-size:0.6rem !important;color:#e5e7eb !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]);
|
|
44617
44634
|
var BlueprintMeta = /*#__PURE__*/styled.span.withConfig({
|
|
44618
44635
|
displayName: "BlueprintTable__BlueprintMeta",
|
|
44619
44636
|
componentId: "sc-1ysxhx2-5"
|
|
44620
|
-
})(["font-size:0.
|
|
44637
|
+
})(["font-size:0.5rem !important;color:#f59e0b !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]);
|
|
44621
44638
|
var ColType = /*#__PURE__*/styled.div.withConfig({
|
|
44622
44639
|
displayName: "BlueprintTable__ColType",
|
|
44623
44640
|
componentId: "sc-1ysxhx2-6"
|
|
@@ -44625,15 +44642,15 @@ var ColType = /*#__PURE__*/styled.div.withConfig({
|
|
|
44625
44642
|
var TypeText = /*#__PURE__*/styled.span.withConfig({
|
|
44626
44643
|
displayName: "BlueprintTable__TypeText",
|
|
44627
44644
|
componentId: "sc-1ysxhx2-7"
|
|
44628
|
-
})(["font-size:0.
|
|
44645
|
+
})(["font-size:0.52rem !important;color:#9ca3af !important;"]);
|
|
44629
44646
|
var SubTypeText = /*#__PURE__*/styled.span.withConfig({
|
|
44630
44647
|
displayName: "BlueprintTable__SubTypeText",
|
|
44631
44648
|
componentId: "sc-1ysxhx2-8"
|
|
44632
|
-
})(["font-size:0.
|
|
44649
|
+
})(["font-size:0.46rem !important;color:#f59e0b !important;"]);
|
|
44633
44650
|
var ColTier = /*#__PURE__*/styled.div.withConfig({
|
|
44634
44651
|
displayName: "BlueprintTable__ColTier",
|
|
44635
44652
|
componentId: "sc-1ysxhx2-9"
|
|
44636
|
-
})(["font-size:0.
|
|
44653
|
+
})(["font-size:0.6rem !important;color:#f59e0b !important;text-align:center;"]);
|
|
44637
44654
|
|
|
44638
44655
|
var BLUEPRINTS_PER_PAGE = 10;
|
|
44639
44656
|
var scaleIn = /*#__PURE__*/keyframes(["from{transform:scale(0.85);opacity:0;}to{transform:scale(1);opacity:1;}"]);
|
|
@@ -44685,6 +44702,9 @@ var BlueprintSearchModal = function BlueprintSearchModal(_ref) {
|
|
|
44685
44702
|
var _useState3 = useState(''),
|
|
44686
44703
|
selectedSubType = _useState3[0],
|
|
44687
44704
|
setSelectedSubType = _useState3[1];
|
|
44705
|
+
var _useState4 = useState(false),
|
|
44706
|
+
showFilters = _useState4[0],
|
|
44707
|
+
setShowFilters = _useState4[1];
|
|
44688
44708
|
var searchNameRef = useRef(searchName);
|
|
44689
44709
|
var selectedTypeRef = useRef(selectedType);
|
|
44690
44710
|
var selectedSubTypeRef = useRef(selectedSubType);
|
|
@@ -44761,7 +44781,19 @@ var BlueprintSearchModal = function BlueprintSearchModal(_ref) {
|
|
|
44761
44781
|
placeholder: "Search by name...",
|
|
44762
44782
|
onFocus: disableHotkeys,
|
|
44763
44783
|
onBlur: enableHotkeys
|
|
44764
|
-
})
|
|
44784
|
+
}), React.createElement(FilterButton$1, {
|
|
44785
|
+
type: "button",
|
|
44786
|
+
"$active": showFilters,
|
|
44787
|
+
onPointerDown: function onPointerDown() {
|
|
44788
|
+
return setShowFilters(function (v) {
|
|
44789
|
+
return !v;
|
|
44790
|
+
});
|
|
44791
|
+
},
|
|
44792
|
+
"aria-label": "Toggle filters"
|
|
44793
|
+
}, React.createElement(SortVertical, {
|
|
44794
|
+
width: 16,
|
|
44795
|
+
height: 16
|
|
44796
|
+
}))), showFilters && React.createElement(FiltersRow, null, React.createElement(StyledDropdown$3, {
|
|
44765
44797
|
key: "type-" + selectedType,
|
|
44766
44798
|
options: typeOptions,
|
|
44767
44799
|
onChange: handleTypeChange,
|
|
@@ -44778,12 +44810,13 @@ var BlueprintSearchModal = function BlueprintSearchModal(_ref) {
|
|
|
44778
44810
|
atlasJSON: atlasJSON,
|
|
44779
44811
|
atlasIMG: atlasIMG,
|
|
44780
44812
|
onSelect: onSelect
|
|
44781
|
-
})), isLoading && React.createElement(LoadingOverlay, null, React.createElement(LoadingText, null, "Loading..."))), React.createElement(
|
|
44813
|
+
})), isLoading && React.createElement(LoadingOverlay, null, React.createElement(LoadingText, null, "Loading..."))), React.createElement(Pager, {
|
|
44814
|
+
compact: true,
|
|
44782
44815
|
totalItems: totalCount,
|
|
44783
44816
|
currentPage: currentPage,
|
|
44784
44817
|
itemsPerPage: BLUEPRINTS_PER_PAGE,
|
|
44785
44818
|
onPageChange: handlePageChange
|
|
44786
|
-
}))))
|
|
44819
|
+
}))));
|
|
44787
44820
|
};
|
|
44788
44821
|
var Overlay$4 = /*#__PURE__*/styled.div.withConfig({
|
|
44789
44822
|
displayName: "BlueprintSearchModal__Overlay",
|
|
@@ -44796,7 +44829,7 @@ var ModalContainer$2 = /*#__PURE__*/styled.div.withConfig({
|
|
|
44796
44829
|
var ModalContent$2 = /*#__PURE__*/styled.div.withConfig({
|
|
44797
44830
|
displayName: "BlueprintSearchModal__ModalContent",
|
|
44798
44831
|
componentId: "sc-i7bssq-2"
|
|
44799
|
-
})(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px;width:600px;max-width:90%;display:flex;flex-direction:column;gap:12px;pointer-events:auto;animation:", " 0.15s ease-out;"], scaleIn);
|
|
44832
|
+
})(["background:#1a1a2e;border:2px solid #f59e0b;border-radius:8px;padding:20px 24px;width:600px;max-width:90%;max-height:90dvh;display:flex;flex-direction:column;gap:12px;overflow:hidden;pointer-events:auto;animation:", " 0.15s ease-out;@media (max-width:950px){max-width:96%;max-height:95dvh;min-height:75dvh;padding:14px 16px;gap:8px;}"], scaleIn);
|
|
44800
44833
|
var Header$8 = /*#__PURE__*/styled.div.withConfig({
|
|
44801
44834
|
displayName: "BlueprintSearchModal__Header",
|
|
44802
44835
|
componentId: "sc-i7bssq-3"
|
|
@@ -44817,40 +44850,49 @@ var StyledInput$2 = /*#__PURE__*/styled(Input).withConfig({
|
|
|
44817
44850
|
displayName: "BlueprintSearchModal__StyledInput",
|
|
44818
44851
|
componentId: "sc-i7bssq-7"
|
|
44819
44852
|
})(["flex:1;"]);
|
|
44853
|
+
var FilterButton$1 = /*#__PURE__*/styled.button.withConfig({
|
|
44854
|
+
displayName: "BlueprintSearchModal__FilterButton",
|
|
44855
|
+
componentId: "sc-i7bssq-8"
|
|
44856
|
+
})(["flex-shrink:0;width:28px;height:28px;border-radius:6px;border:1px solid ", ";background:", ";color:", ";cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color 0.15s,border-color 0.15s,background 0.15s;&:hover{color:#f59e0b;border-color:rgba(245,158,11,0.45);}"], function (_ref2) {
|
|
44857
|
+
var $active = _ref2.$active;
|
|
44858
|
+
return $active ? 'rgba(245, 158, 11, 0.55)' : 'rgba(255, 255, 255, 0.08)';
|
|
44859
|
+
}, function (_ref3) {
|
|
44860
|
+
var $active = _ref3.$active;
|
|
44861
|
+
return $active ? 'rgba(245, 158, 11, 0.14)' : 'rgba(255, 255, 255, 0.03)';
|
|
44862
|
+
}, function (_ref4) {
|
|
44863
|
+
var $active = _ref4.$active;
|
|
44864
|
+
return $active ? '#f59e0b' : '#ccc';
|
|
44865
|
+
});
|
|
44820
44866
|
var FiltersRow = /*#__PURE__*/styled.div.withConfig({
|
|
44821
44867
|
displayName: "BlueprintSearchModal__FiltersRow",
|
|
44822
|
-
componentId: "sc-i7bssq-
|
|
44868
|
+
componentId: "sc-i7bssq-9"
|
|
44823
44869
|
})(["display:grid;grid-template-columns:1fr 1fr;gap:8px;"]);
|
|
44824
44870
|
var StyledDropdown$3 = /*#__PURE__*/styled(Dropdown).withConfig({
|
|
44825
44871
|
displayName: "BlueprintSearchModal__StyledDropdown",
|
|
44826
|
-
componentId: "sc-i7bssq-
|
|
44872
|
+
componentId: "sc-i7bssq-10"
|
|
44827
44873
|
})(["margin:0px !important;width:100% !important;"]);
|
|
44828
44874
|
var ResultsWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
44829
44875
|
displayName: "BlueprintSearchModal__ResultsWrapper",
|
|
44830
|
-
componentId: "sc-i7bssq-
|
|
44831
|
-
})(["position:relative;overflow-y:auto;height:
|
|
44876
|
+
componentId: "sc-i7bssq-11"
|
|
44877
|
+
})(["position:relative;overflow-y:auto;flex:1;min-height:80px;display:flex;flex-direction:column;background:rgba(0,0,0,0.2);border:1px solid rgba(255,255,255,0.05);border-radius:4px;"]);
|
|
44832
44878
|
var ResultsContent = /*#__PURE__*/styled.div.withConfig({
|
|
44833
44879
|
displayName: "BlueprintSearchModal__ResultsContent",
|
|
44834
|
-
componentId: "sc-i7bssq-
|
|
44880
|
+
componentId: "sc-i7bssq-12"
|
|
44835
44881
|
})(["opacity:", ";transition:opacity 0.15s ease;"], function (p) {
|
|
44836
44882
|
return p.$dimmed ? 0.4 : 1;
|
|
44837
44883
|
});
|
|
44838
44884
|
var LoadingOverlay = /*#__PURE__*/styled.div.withConfig({
|
|
44839
44885
|
displayName: "BlueprintSearchModal__LoadingOverlay",
|
|
44840
|
-
componentId: "sc-i7bssq-
|
|
44886
|
+
componentId: "sc-i7bssq-13"
|
|
44841
44887
|
})(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;"]);
|
|
44842
44888
|
var LoadingText = /*#__PURE__*/styled.span.withConfig({
|
|
44843
44889
|
displayName: "BlueprintSearchModal__LoadingText",
|
|
44844
|
-
componentId: "sc-i7bssq-
|
|
44890
|
+
componentId: "sc-i7bssq-14"
|
|
44845
44891
|
})(["font-size:0.55rem;color:#f59e0b;text-transform:uppercase;letter-spacing:1px;"]);
|
|
44846
44892
|
var EmptyState$2 = /*#__PURE__*/styled.div.withConfig({
|
|
44847
44893
|
displayName: "BlueprintSearchModal__EmptyState",
|
|
44848
|
-
componentId: "sc-i7bssq-14"
|
|
44849
|
-
})(["display:flex;align-items:center;justify-content:center;height:100%;font-size:0.55rem;color:#666;text-transform:uppercase;letter-spacing:1px;"]);
|
|
44850
|
-
var PagerContainer$1 = /*#__PURE__*/styled.div.withConfig({
|
|
44851
|
-
displayName: "BlueprintSearchModal__PagerContainer",
|
|
44852
44894
|
componentId: "sc-i7bssq-15"
|
|
44853
|
-
})(["display:flex;justify-content:center;
|
|
44895
|
+
})(["display:flex;align-items:center;justify-content:center;flex:1;font-size:0.55rem;color:#666;text-transform:uppercase;letter-spacing:1px;"]);
|
|
44854
44896
|
|
|
44855
44897
|
var SegmentedToggle = function SegmentedToggle(_ref) {
|
|
44856
44898
|
var options = _ref.options,
|
|
@@ -46198,7 +46240,7 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46198
46240
|
onBlur: enableHotkeys,
|
|
46199
46241
|
onFocus: disableHotkeys,
|
|
46200
46242
|
className: "search-input"
|
|
46201
|
-
})), React.createElement(FilterButton$
|
|
46243
|
+
})), React.createElement(FilterButton$2, {
|
|
46202
46244
|
type: "button",
|
|
46203
46245
|
"$active": showFilters,
|
|
46204
46246
|
onClick: function onClick() {
|
|
@@ -46345,7 +46387,7 @@ var SearchField = /*#__PURE__*/styled.div.withConfig({
|
|
|
46345
46387
|
displayName: "BuyPanel__SearchField",
|
|
46346
46388
|
componentId: "sc-1si8t7i-1"
|
|
46347
46389
|
})(["min-width:0;input.search-input{height:10px;width:100%;}"]);
|
|
46348
|
-
var FilterButton$
|
|
46390
|
+
var FilterButton$2 = /*#__PURE__*/styled.button.withConfig({
|
|
46349
46391
|
displayName: "BuyPanel__FilterButton",
|
|
46350
46392
|
componentId: "sc-1si8t7i-2"
|
|
46351
46393
|
})(["width:36px;height:36px;border-radius:8px;border:1px solid ", ";background:", ";color:", ";cursor:pointer;display:flex;align-items:center;justify-content:center;transition:color 0.15s,border-color 0.15s,background 0.15s;&:hover{color:#f59e0b;border-color:rgba(245,158,11,0.45);}"], function (_ref3) {
|
|
@@ -46518,7 +46560,7 @@ var HistoryPanel = function HistoryPanel(_ref) {
|
|
|
46518
46560
|
}))), React.createElement(GoldAmount, {
|
|
46519
46561
|
"$type": tx.type
|
|
46520
46562
|
}, getGoldSign(tx.type), tx.goldAmount, "g"))));
|
|
46521
|
-
})), React.createElement(PagerContainer$
|
|
46563
|
+
})), React.createElement(PagerContainer$1, null, React.createElement(Pager, {
|
|
46522
46564
|
totalItems: totalCount,
|
|
46523
46565
|
currentPage: currentPage,
|
|
46524
46566
|
itemsPerPage: itemsPerPage,
|
|
@@ -46626,7 +46668,7 @@ var EmptyState$4 = /*#__PURE__*/styled.div.withConfig({
|
|
|
46626
46668
|
displayName: "HistoryPanel__EmptyState",
|
|
46627
46669
|
componentId: "sc-74mioa-20"
|
|
46628
46670
|
})(["display:flex;align-items:center;justify-content:center;height:45px;font-size:0.5rem;color:#555;text-transform:uppercase;letter-spacing:1px;background:rgba(0,0,0,0.15);border-radius:4px;"]);
|
|
46629
|
-
var PagerContainer$
|
|
46671
|
+
var PagerContainer$1 = /*#__PURE__*/styled.div.withConfig({
|
|
46630
46672
|
displayName: "HistoryPanel__PagerContainer",
|
|
46631
46673
|
componentId: "sc-74mioa-21"
|
|
46632
46674
|
})(["display:flex;justify-content:center;margin-top:4px;"]);
|
|
@@ -47097,9 +47139,9 @@ var Marketplace = function Marketplace(props) {
|
|
|
47097
47139
|
}), activeTab === 'wallet' && showWalletTab && walletProps && React.createElement(DCWalletContent, Object.assign({}, walletProps)), activeTab === 'settings' && React.createElement(MarketplaceSettingsPanel, {
|
|
47098
47140
|
acceptedCurrency: acceptedCurrency,
|
|
47099
47141
|
onAcceptedCurrencyChange: handleCurrencyChange
|
|
47100
|
-
}), showSharedPager && React.createElement(PagerContainer$
|
|
47142
|
+
}), showSharedPager && React.createElement(PagerContainer$2, null, React.createElement(Pager, Object.assign({}, props))));
|
|
47101
47143
|
};
|
|
47102
|
-
var PagerContainer$
|
|
47144
|
+
var PagerContainer$2 = /*#__PURE__*/styled.div.withConfig({
|
|
47103
47145
|
displayName: "Marketplace__PagerContainer",
|
|
47104
47146
|
componentId: "sc-h904b1-0"
|
|
47105
47147
|
})(["display:flex;justify-content:center;align-items:center;width:95%;margin:6px auto 0 auto;padding:4px 10px;"]);
|