@rpg-engine/long-bow 0.8.34 → 0.8.35
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 +38 -97
- 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 +38 -97
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/InformationCenter/InformationCenter.tsx +0 -13
- package/src/stories/UI/info/InformationCenter.stories.tsx +2 -2
|
@@ -32395,55 +32395,6 @@ var SearchBarActions$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
32395
32395
|
componentId: "sc-e3h0p2-1"
|
|
32396
32396
|
})(["display:flex;align-items:center;gap:0.5rem;"]);
|
|
32397
32397
|
|
|
32398
|
-
var InformationCenterFAQSection = function InformationCenterFAQSection(_ref) {
|
|
32399
|
-
var faqItems = _ref.faqItems,
|
|
32400
|
-
initialSearchQuery = _ref.initialSearchQuery,
|
|
32401
|
-
tabId = _ref.tabId;
|
|
32402
|
-
var _useState = React.useState(initialSearchQuery),
|
|
32403
|
-
searchQuery = _useState[0],
|
|
32404
|
-
setSearchQuery = _useState[1];
|
|
32405
|
-
React.useEffect(function () {
|
|
32406
|
-
setSearchQuery(initialSearchQuery);
|
|
32407
|
-
}, [initialSearchQuery]);
|
|
32408
|
-
var filteredFaqs = React.useMemo(function () {
|
|
32409
|
-
if (!searchQuery) return faqItems;
|
|
32410
|
-
return faqItems.filter(function (faq) {
|
|
32411
|
-
return faq.question.toLowerCase().includes(searchQuery.toLowerCase()) || faq.answer.toLowerCase().includes(searchQuery.toLowerCase());
|
|
32412
|
-
});
|
|
32413
|
-
}, [searchQuery, faqItems]);
|
|
32414
|
-
var renderItem = function renderItem(item) {
|
|
32415
|
-
return React__default.createElement(StyledCollapsible$2, {
|
|
32416
|
-
title: item.question
|
|
32417
|
-
}, React__default.createElement(Answer$1, null, item.answer));
|
|
32418
|
-
};
|
|
32419
|
-
return React__default.createElement(Container$r, null, React__default.createElement(SearchHeader, {
|
|
32420
|
-
searchOptions: {
|
|
32421
|
-
value: searchQuery,
|
|
32422
|
-
onChange: setSearchQuery,
|
|
32423
|
-
placeholder: 'Search FAQs...'
|
|
32424
|
-
}
|
|
32425
|
-
}), React__default.createElement(PaginatedContent, {
|
|
32426
|
-
items: filteredFaqs,
|
|
32427
|
-
renderItem: renderItem,
|
|
32428
|
-
emptyMessage: "No FAQ items found",
|
|
32429
|
-
tabId: tabId,
|
|
32430
|
-
layout: "list",
|
|
32431
|
-
itemsPerPage: 10
|
|
32432
|
-
}));
|
|
32433
|
-
};
|
|
32434
|
-
var Container$r = /*#__PURE__*/styled__default.div.withConfig({
|
|
32435
|
-
displayName: "InformationCenterFaqSection__Container",
|
|
32436
|
-
componentId: "sc-ofmaa9-0"
|
|
32437
|
-
})(["display:flex;flex-direction:column;gap:1rem;width:100%;"]);
|
|
32438
|
-
var StyledCollapsible$2 = /*#__PURE__*/styled__default(Collapsible).withConfig({
|
|
32439
|
-
displayName: "InformationCenterFaqSection__StyledCollapsible",
|
|
32440
|
-
componentId: "sc-ofmaa9-1"
|
|
32441
|
-
})(["margin-bottom:0.5rem;&:last-child{margin-bottom:0;}"]);
|
|
32442
|
-
var Answer$1 = /*#__PURE__*/styled__default.p.withConfig({
|
|
32443
|
-
displayName: "InformationCenterFaqSection__Answer",
|
|
32444
|
-
componentId: "sc-ofmaa9-2"
|
|
32445
|
-
})(["font-size:0.9rem;color:#ffffff;margin:0;line-height:1.5;"]);
|
|
32446
|
-
|
|
32447
32398
|
var ITEMS_PER_PAGE$2 = 3;
|
|
32448
32399
|
var GRID_COLUMNS = 3;
|
|
32449
32400
|
var InformationCenterTutorialsSection = function InformationCenterTutorialsSection(_ref) {
|
|
@@ -32583,8 +32534,6 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
32583
32534
|
entitiesAtlasIMG = _ref.entitiesAtlasIMG,
|
|
32584
32535
|
iconsAtlasIMG = _ref.iconsAtlasIMG,
|
|
32585
32536
|
iconsAtlasJSON = _ref.iconsAtlasJSON,
|
|
32586
|
-
_ref$faqItems = _ref.faqItems,
|
|
32587
|
-
faqItems = _ref$faqItems === void 0 ? [] : _ref$faqItems,
|
|
32588
32537
|
_ref$bestiaryItems = _ref.bestiaryItems,
|
|
32589
32538
|
bestiaryItems = _ref$bestiaryItems === void 0 ? [] : _ref$bestiaryItems,
|
|
32590
32539
|
_ref$videoGuides = _ref.videoGuides,
|
|
@@ -32630,14 +32579,6 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
32630
32579
|
initialSearchQuery: initialSearchQuery,
|
|
32631
32580
|
tabId: "items"
|
|
32632
32581
|
})
|
|
32633
|
-
}, {
|
|
32634
|
-
id: 'faq',
|
|
32635
|
-
title: 'FAQ',
|
|
32636
|
-
content: React__default.createElement(InformationCenterFAQSection, {
|
|
32637
|
-
faqItems: faqItems,
|
|
32638
|
-
initialSearchQuery: initialSearchQuery,
|
|
32639
|
-
tabId: "faq"
|
|
32640
|
-
})
|
|
32641
32582
|
}, {
|
|
32642
32583
|
id: 'tutorials',
|
|
32643
32584
|
title: 'Tutorials',
|
|
@@ -32650,7 +32591,7 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
32650
32591
|
return React__default.createElement(DraggableContainer, {
|
|
32651
32592
|
title: "Information Center",
|
|
32652
32593
|
type: exports.RPGUIContainerTypes.Framed
|
|
32653
|
-
}, React__default.createElement(Container$
|
|
32594
|
+
}, React__default.createElement(Container$r, null, React__default.createElement(InternalTabs, {
|
|
32654
32595
|
tabs: tabs,
|
|
32655
32596
|
activeTextColor: "#000000",
|
|
32656
32597
|
activeTab: activeTab,
|
|
@@ -32661,7 +32602,7 @@ var InformationCenter = function InformationCenter(_ref) {
|
|
|
32661
32602
|
hoverColor: "#fef3c7"
|
|
32662
32603
|
})));
|
|
32663
32604
|
};
|
|
32664
|
-
var Container$
|
|
32605
|
+
var Container$r = /*#__PURE__*/styled__default.div.withConfig({
|
|
32665
32606
|
displayName: "InformationCenter__Container",
|
|
32666
32607
|
componentId: "sc-1ttl62e-0"
|
|
32667
32608
|
})(["width:100%;max-width:800px;margin:0 auto;padding:1rem;"]);
|
|
@@ -32832,7 +32773,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
32832
32773
|
}
|
|
32833
32774
|
return null;
|
|
32834
32775
|
};
|
|
32835
|
-
return React__default.createElement(Container$
|
|
32776
|
+
return React__default.createElement(Container$s, null, React__default.createElement("p", null, "Shortcuts:"), React__default.createElement(List, {
|
|
32836
32777
|
id: "shortcuts_list"
|
|
32837
32778
|
}, Array.from({
|
|
32838
32779
|
length: 12
|
|
@@ -32850,7 +32791,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
32850
32791
|
}, getContent(i));
|
|
32851
32792
|
})));
|
|
32852
32793
|
};
|
|
32853
|
-
var Container$
|
|
32794
|
+
var Container$s = /*#__PURE__*/styled__default.div.withConfig({
|
|
32854
32795
|
displayName: "ShortcutsSetter__Container",
|
|
32855
32796
|
componentId: "sc-xuouuf-0"
|
|
32856
32797
|
})(["p{margin:0;margin-left:0.5rem;font-size:10px;}width:100%;"]);
|
|
@@ -33294,7 +33235,7 @@ var ConfirmModal = function ConfirmModal(_ref) {
|
|
|
33294
33235
|
e.stopPropagation();
|
|
33295
33236
|
onClose();
|
|
33296
33237
|
};
|
|
33297
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Background, null), React__default.createElement(Container$
|
|
33238
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Background, null), React__default.createElement(Container$t, {
|
|
33298
33239
|
onClick: handleClose
|
|
33299
33240
|
}, React__default.createElement(DraggableContainer, {
|
|
33300
33241
|
width: "auto",
|
|
@@ -33317,7 +33258,7 @@ var Background = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
33317
33258
|
displayName: "ConfirmModal__Background",
|
|
33318
33259
|
componentId: "sc-11qkyu1-0"
|
|
33319
33260
|
})(["position:absolute;width:100%;height:100%;background-color:#000000;opacity:0.5;left:0;top:0;z-index:1000;"]);
|
|
33320
|
-
var Container$
|
|
33261
|
+
var Container$t = /*#__PURE__*/styled__default.div.withConfig({
|
|
33321
33262
|
displayName: "ConfirmModal__Container",
|
|
33322
33263
|
componentId: "sc-11qkyu1-1"
|
|
33323
33264
|
})(["position:absolute;width:100%;height:100%;left:0;top:0;display:flex;justify-content:center;align-items:center;z-index:1001;"]);
|
|
@@ -33372,7 +33313,7 @@ var ColorSelector = function ColorSelector(_ref) {
|
|
|
33372
33313
|
cancelDrag: ".react-colorful",
|
|
33373
33314
|
width: "25rem",
|
|
33374
33315
|
onCloseButton: onClose
|
|
33375
|
-
}, React__default.createElement(Container$
|
|
33316
|
+
}, React__default.createElement(Container$u, null, React__default.createElement(Header$3, null, "Select Color"), React__default.createElement(ColorPickerWrapper, null, React__default.createElement(reactColorful.HexColorPicker, {
|
|
33376
33317
|
color: currentColor,
|
|
33377
33318
|
onChange: function onChange(color) {
|
|
33378
33319
|
setCurrentColor(color);
|
|
@@ -33388,7 +33329,7 @@ var ColorSelector = function ColorSelector(_ref) {
|
|
|
33388
33329
|
onClose: handleClose
|
|
33389
33330
|
}));
|
|
33390
33331
|
};
|
|
33391
|
-
var Container$
|
|
33332
|
+
var Container$u = /*#__PURE__*/styled__default.div.withConfig({
|
|
33392
33333
|
displayName: "ItemPropertyColorSelector__Container",
|
|
33393
33334
|
componentId: "sc-me1r4z-0"
|
|
33394
33335
|
})(["text-align:center;background:inherit;display:flex;flex-direction:column;gap:1.5rem;align-items:center;width:100%;max-width:24rem;margin:0 auto;"]);
|
|
@@ -33744,7 +33685,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
33744
33685
|
onSelected = _ref.onSelected,
|
|
33745
33686
|
x = _ref.x,
|
|
33746
33687
|
y = _ref.y;
|
|
33747
|
-
return React__default.createElement(Container$
|
|
33688
|
+
return React__default.createElement(Container$v, {
|
|
33748
33689
|
x: x,
|
|
33749
33690
|
y: y
|
|
33750
33691
|
}, React__default.createElement("ul", {
|
|
@@ -33761,7 +33702,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
33761
33702
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
33762
33703
|
})));
|
|
33763
33704
|
};
|
|
33764
|
-
var Container$
|
|
33705
|
+
var Container$v = /*#__PURE__*/styled__default.div.withConfig({
|
|
33765
33706
|
displayName: "ListMenu__Container",
|
|
33766
33707
|
componentId: "sc-i9097t-0"
|
|
33767
33708
|
})(["display:flex;flex-direction:column;width:100%;justify-content:start;align-items:flex-start;position:absolute;top:", "px;left:", "px;li{font-size:", ";}"], function (props) {
|
|
@@ -33780,7 +33721,7 @@ var Pager = function Pager(_ref) {
|
|
|
33780
33721
|
itemsPerPage = _ref.itemsPerPage,
|
|
33781
33722
|
onPageChange = _ref.onPageChange;
|
|
33782
33723
|
var totalPages = Math.ceil(totalItems / itemsPerPage);
|
|
33783
|
-
return React__default.createElement(Container$
|
|
33724
|
+
return React__default.createElement(Container$w, null, React__default.createElement("p", null, "Total items: ", totalItems), React__default.createElement(PagerContainer, null, React__default.createElement("button", {
|
|
33784
33725
|
disabled: currentPage === 1,
|
|
33785
33726
|
onPointerDown: function onPointerDown() {
|
|
33786
33727
|
return onPageChange(Math.max(currentPage - 1, 1));
|
|
@@ -33794,7 +33735,7 @@ var Pager = function Pager(_ref) {
|
|
|
33794
33735
|
}
|
|
33795
33736
|
}, '>')));
|
|
33796
33737
|
};
|
|
33797
|
-
var Container$
|
|
33738
|
+
var Container$w = /*#__PURE__*/styled__default.div.withConfig({
|
|
33798
33739
|
displayName: "Pager__Container",
|
|
33799
33740
|
componentId: "sc-1ekmf50-0"
|
|
33800
33741
|
})(["display:flex;flex-direction:column;align-items:center;p{margin:0;font-size:", ";}"], uiFonts.size.xsmall);
|
|
@@ -34315,13 +34256,13 @@ var TabBody = function TabBody(_ref) {
|
|
|
34315
34256
|
children = _ref.children,
|
|
34316
34257
|
styles = _ref.styles,
|
|
34317
34258
|
centerContent = _ref.centerContent;
|
|
34318
|
-
return React__default.createElement(Container$
|
|
34259
|
+
return React__default.createElement(Container$x, {
|
|
34319
34260
|
styles: styles,
|
|
34320
34261
|
"data-tab-id": id,
|
|
34321
34262
|
centerContent: centerContent
|
|
34322
34263
|
}, children);
|
|
34323
34264
|
};
|
|
34324
|
-
var Container$
|
|
34265
|
+
var Container$x = /*#__PURE__*/styled__default.div.withConfig({
|
|
34325
34266
|
displayName: "TabBody__Container",
|
|
34326
34267
|
componentId: "sc-196oof2-0"
|
|
34327
34268
|
})(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
|
|
@@ -34973,7 +34914,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
34973
34914
|
}
|
|
34974
34915
|
return value * 100 / max;
|
|
34975
34916
|
};
|
|
34976
|
-
return React__default.createElement(Container$
|
|
34917
|
+
return React__default.createElement(Container$y, {
|
|
34977
34918
|
className: "rpgui-progress",
|
|
34978
34919
|
"data-value": calculatePercentageValue(max, value) / 100,
|
|
34979
34920
|
"data-rpguitype": "progress",
|
|
@@ -35003,7 +34944,7 @@ var TextOverlay$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
35003
34944
|
displayName: "ProgressBar__TextOverlay",
|
|
35004
34945
|
componentId: "sc-qa6fzh-1"
|
|
35005
34946
|
})(["width:100%;position:relative;"]);
|
|
35006
|
-
var Container$
|
|
34947
|
+
var Container$y = /*#__PURE__*/styled__default.div.withConfig({
|
|
35007
34948
|
displayName: "ProgressBar__Container",
|
|
35008
34949
|
componentId: "sc-qa6fzh-2"
|
|
35009
34950
|
})(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", " @media (max-width:950px){transform:scale(", ");}"], function (props) {
|
|
@@ -35244,9 +35185,9 @@ var InputRadio = function InputRadio(_ref) {
|
|
|
35244
35185
|
|
|
35245
35186
|
var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
|
|
35246
35187
|
var children = _ref.children;
|
|
35247
|
-
return React__default.createElement(Container$
|
|
35188
|
+
return React__default.createElement(Container$z, null, children);
|
|
35248
35189
|
};
|
|
35249
|
-
var Container$
|
|
35190
|
+
var Container$z = /*#__PURE__*/styled__default.div.withConfig({
|
|
35250
35191
|
displayName: "RPGUIScrollbar__Container",
|
|
35251
35192
|
componentId: "sc-p3msmb-0"
|
|
35252
35193
|
})([".rpgui-content ::-webkit-scrollbar,.rpgui-content::-webkit-scrollbar{width:25px !important;}.rpgui-content ::-webkit-scrollbar-track,.rpgui-content::-webkit-scrollbar-track{background-size:25px 60px !important;}"]);
|
|
@@ -35402,7 +35343,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
35402
35343
|
margin = _ref$margin === void 0 ? 20 : _ref$margin;
|
|
35403
35344
|
// Ensure the width is at least 1% if value is greater than 0
|
|
35404
35345
|
var width = value > 0 ? Math.max(1, Math.min(100, value)) : 0;
|
|
35405
|
-
return React__default.createElement(Container$
|
|
35346
|
+
return React__default.createElement(Container$A, {
|
|
35406
35347
|
className: "simple-progress-bar"
|
|
35407
35348
|
}, React__default.createElement(ProgressBarContainer, {
|
|
35408
35349
|
margin: margin
|
|
@@ -35411,7 +35352,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
35411
35352
|
bgColor: bgColor
|
|
35412
35353
|
}))));
|
|
35413
35354
|
};
|
|
35414
|
-
var Container$
|
|
35355
|
+
var Container$A = /*#__PURE__*/styled__default.div.withConfig({
|
|
35415
35356
|
displayName: "SimpleProgressBar__Container",
|
|
35416
35357
|
componentId: "sc-mbeil3-0"
|
|
35417
35358
|
})(["display:flex;justify-content:center;align-items:center;width:100%;"]);
|
|
@@ -35744,7 +35685,7 @@ var SocialModal = function SocialModal(_ref) {
|
|
|
35744
35685
|
title: "Social Channels",
|
|
35745
35686
|
width: "500px",
|
|
35746
35687
|
onCloseButton: onClose
|
|
35747
|
-
}, React__default.createElement(Container$
|
|
35688
|
+
}, React__default.createElement(Container$B, null, React__default.createElement(HeaderImage, {
|
|
35748
35689
|
src: img$9,
|
|
35749
35690
|
alt: ""
|
|
35750
35691
|
}), React__default.createElement(ButtonsContainer$1, null, React__default.createElement(MainButtons, null, React__default.createElement(SocialButton$1, {
|
|
@@ -35762,7 +35703,7 @@ var SocialModal = function SocialModal(_ref) {
|
|
|
35762
35703
|
onClick: handleWhatsAppClick
|
|
35763
35704
|
}, React__default.createElement(fa.FaWhatsapp, null), " Join WhatsApp")))));
|
|
35764
35705
|
};
|
|
35765
|
-
var Container$
|
|
35706
|
+
var Container$B = /*#__PURE__*/styled__default.div.withConfig({
|
|
35766
35707
|
displayName: "SocialModal__Container",
|
|
35767
35708
|
componentId: "sc-tbjhp9-0"
|
|
35768
35709
|
})(["width:100%;display:flex;flex-direction:column;gap:16px;background-color:#5c4132;position:relative;border-radius:8px;overflow:hidden;&:before,&:after{content:'';position:absolute;left:0;right:0;height:3px;}&:before{bottom:0;background:linear-gradient( to right,#5c4132 0%,#2b1810 2%,#2b1810 98%,#5c4132 100% );}"]);
|
|
@@ -35808,7 +35749,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
|
|
|
35808
35749
|
castingType = spell.castingType,
|
|
35809
35750
|
cooldown = spell.cooldown,
|
|
35810
35751
|
maxDistanceGrid = spell.maxDistanceGrid;
|
|
35811
|
-
return React__default.createElement(Container$
|
|
35752
|
+
return React__default.createElement(Container$C, null, React__default.createElement(Header$5, null, React__default.createElement("div", null, React__default.createElement(Title$b, null, name), React__default.createElement(Type$1, null, magicWords))), React__default.createElement(Statistic$1, null, React__default.createElement("div", {
|
|
35812
35753
|
className: "label"
|
|
35813
35754
|
}, "Casting Type:"), React__default.createElement("div", {
|
|
35814
35755
|
className: "value"
|
|
@@ -35834,7 +35775,7 @@ var SpellInfo$1 = function SpellInfo(_ref) {
|
|
|
35834
35775
|
className: "value"
|
|
35835
35776
|
}, requiredItem))), React__default.createElement(Description$4, null, description));
|
|
35836
35777
|
};
|
|
35837
|
-
var Container$
|
|
35778
|
+
var Container$C = /*#__PURE__*/styled__default.div.withConfig({
|
|
35838
35779
|
displayName: "SpellInfo__Container",
|
|
35839
35780
|
componentId: "sc-4hbw3q-0"
|
|
35840
35781
|
})(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";height:max-content;width:30rem;@media (max-width:580px){width:80vw;}"], uiFonts.size.small, uiColors.lightGray);
|
|
@@ -35888,7 +35829,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
35888
35829
|
var _ref$current;
|
|
35889
35830
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
35890
35831
|
};
|
|
35891
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
35832
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$D, {
|
|
35892
35833
|
ref: ref,
|
|
35893
35834
|
onTouchEnd: function onTouchEnd() {
|
|
35894
35835
|
handleFadeOut();
|
|
@@ -35913,7 +35854,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
35913
35854
|
}, option.text);
|
|
35914
35855
|
}))));
|
|
35915
35856
|
};
|
|
35916
|
-
var Container$
|
|
35857
|
+
var Container$D = /*#__PURE__*/styled__default.div.withConfig({
|
|
35917
35858
|
displayName: "MobileSpellTooltip__Container",
|
|
35918
35859
|
componentId: "sc-6p7uvr-0"
|
|
35919
35860
|
})(["position:absolute;z-index:100;left:0;top:0;width:100vw;height:100vh;background-color:rgba(0 0 0 / 0.5);display:flex;justify-content:center;align-items:center;gap:0.5rem;transition:opacity 0.08s;animation:fadeIn 0.1s forwards;@keyframes fadeIn{0%{opacity:0;}100%{opacity:0.92;}}@keyframes fadeOut{0%{opacity:0.92;}100%{opacity:0;}}&.fadeOut{animation:fadeOut 0.1s forwards;}@media (max-width:580px){flex-direction:column;}"]);
|
|
@@ -35954,13 +35895,13 @@ var MagicTooltip = function MagicTooltip(_ref) {
|
|
|
35954
35895
|
}
|
|
35955
35896
|
return;
|
|
35956
35897
|
}, []);
|
|
35957
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
35898
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$E, {
|
|
35958
35899
|
ref: ref
|
|
35959
35900
|
}, React__default.createElement(SpellInfoDisplay, {
|
|
35960
35901
|
spell: spell
|
|
35961
35902
|
})));
|
|
35962
35903
|
};
|
|
35963
|
-
var Container$
|
|
35904
|
+
var Container$E = /*#__PURE__*/styled__default.div.withConfig({
|
|
35964
35905
|
displayName: "SpellTooltip__Container",
|
|
35965
35906
|
componentId: "sc-1go0gwg-0"
|
|
35966
35907
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -36033,7 +35974,7 @@ var Spell = function Spell(_ref) {
|
|
|
36033
35974
|
var IMAGE_SCALE = 2;
|
|
36034
35975
|
return React__default.createElement(SpellInfoWrapper, {
|
|
36035
35976
|
spell: spell
|
|
36036
|
-
}, React__default.createElement(Container$
|
|
35977
|
+
}, React__default.createElement(Container$F, {
|
|
36037
35978
|
onPointerUp: onPointerUp == null ? void 0 : onPointerUp.bind(null, spellKey),
|
|
36038
35979
|
isSettingShortcut: isSettingShortcut && !disabled,
|
|
36039
35980
|
className: "spell"
|
|
@@ -36052,7 +35993,7 @@ var Spell = function Spell(_ref) {
|
|
|
36052
35993
|
className: "mana"
|
|
36053
35994
|
}, manaCost))));
|
|
36054
35995
|
};
|
|
36055
|
-
var Container$
|
|
35996
|
+
var Container$F = /*#__PURE__*/styled__default.button.withConfig({
|
|
36056
35997
|
displayName: "Spell__Container",
|
|
36057
35998
|
componentId: "sc-j96fa2-0"
|
|
36058
35999
|
})(["display:block;background:none;border:2px solid transparent;border-radius:1rem;width:100%;display:flex;gap:1rem;align-items:center;padding:0 1rem;text-align:left;position:relative;animation:", ";@keyframes border-color-change{0%{border-color:", ";}50%{border-color:transparent;}100%{border-color:", ";}}&:hover,&:focus{background-color:", ";}&:active{background:none;}"], function (_ref2) {
|
|
@@ -36131,7 +36072,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
36131
36072
|
height: "inherit",
|
|
36132
36073
|
cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
|
|
36133
36074
|
scale: scale
|
|
36134
|
-
}, React__default.createElement(Container$
|
|
36075
|
+
}, React__default.createElement(Container$G, null, React__default.createElement(Title$d, null, "Learned Spells"), React__default.createElement(ShortcutsSetter, {
|
|
36135
36076
|
setSettingShortcutIndex: setSettingShortcutIndex,
|
|
36136
36077
|
settingShortcutIndex: settingShortcutIndex,
|
|
36137
36078
|
shortcuts: shortcuts,
|
|
@@ -36167,7 +36108,7 @@ var Title$d = /*#__PURE__*/styled__default.h1.withConfig({
|
|
|
36167
36108
|
displayName: "Spellbook__Title",
|
|
36168
36109
|
componentId: "sc-r02nfq-0"
|
|
36169
36110
|
})(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
|
|
36170
|
-
var Container$
|
|
36111
|
+
var Container$G = /*#__PURE__*/styled__default.div.withConfig({
|
|
36171
36112
|
displayName: "Spellbook__Container",
|
|
36172
36113
|
componentId: "sc-r02nfq-1"
|
|
36173
36114
|
})(["width:100%;height:100%;color:white;display:flex;flex-direction:column;"]);
|
|
@@ -36649,7 +36590,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
36649
36590
|
width: "500px",
|
|
36650
36591
|
cancelDrag: "#TraderContainer",
|
|
36651
36592
|
scale: scale
|
|
36652
|
-
}, React__default.createElement(Container$
|
|
36593
|
+
}, React__default.createElement(Container$H, null, React__default.createElement(Title$e, null, type.charAt(0).toUpperCase() + type.slice(1), " Menu"), React__default.createElement("hr", {
|
|
36653
36594
|
className: "golden"
|
|
36654
36595
|
}), React__default.createElement(ScrollWrapper, {
|
|
36655
36596
|
id: "TraderContainer"
|
|
@@ -36677,7 +36618,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
36677
36618
|
onPointerDown: onClose
|
|
36678
36619
|
}, "Cancel"))));
|
|
36679
36620
|
};
|
|
36680
|
-
var Container$
|
|
36621
|
+
var Container$H = /*#__PURE__*/styled__default.div.withConfig({
|
|
36681
36622
|
displayName: "TradingMenu__Container",
|
|
36682
36623
|
componentId: "sc-1wjsz1l-0"
|
|
36683
36624
|
})(["width:100%;"]);
|
|
@@ -36711,11 +36652,11 @@ var Truncate = function Truncate(_ref) {
|
|
|
36711
36652
|
var _ref$maxLines = _ref.maxLines,
|
|
36712
36653
|
maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
|
|
36713
36654
|
children = _ref.children;
|
|
36714
|
-
return React__default.createElement(Container$
|
|
36655
|
+
return React__default.createElement(Container$I, {
|
|
36715
36656
|
maxLines: maxLines
|
|
36716
36657
|
}, children);
|
|
36717
36658
|
};
|
|
36718
|
-
var Container$
|
|
36659
|
+
var Container$I = /*#__PURE__*/styled__default.div.withConfig({
|
|
36719
36660
|
displayName: "Truncate__Container",
|
|
36720
36661
|
componentId: "sc-6x00qb-0"
|
|
36721
36662
|
})(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
|
|
@@ -36823,7 +36764,7 @@ var TutorialStepper = /*#__PURE__*/React__default.memo(function (_ref) {
|
|
|
36823
36764
|
};
|
|
36824
36765
|
});
|
|
36825
36766
|
}, [lessons, imageStyle]);
|
|
36826
|
-
return React__default.createElement(Container$
|
|
36767
|
+
return React__default.createElement(Container$J, null, React__default.createElement(Stepper, {
|
|
36827
36768
|
steps: generateLessons,
|
|
36828
36769
|
finalCTAButton: {
|
|
36829
36770
|
label: 'Close',
|
|
@@ -36840,7 +36781,7 @@ var LessonBody = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
36840
36781
|
displayName: "TutorialStepper__LessonBody",
|
|
36841
36782
|
componentId: "sc-7tgzv2-1"
|
|
36842
36783
|
})([""]);
|
|
36843
|
-
var Container$
|
|
36784
|
+
var Container$J = /*#__PURE__*/styled__default.div.withConfig({
|
|
36844
36785
|
displayName: "TutorialStepper__Container",
|
|
36845
36786
|
componentId: "sc-7tgzv2-2"
|
|
36846
36787
|
})(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);
|