@rpg-engine/long-bow 0.7.1 → 0.7.3
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 +73 -77
- 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 +73 -77
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +2 -2
- package/src/components/ChatRevamp/ChatRevamp.tsx +2 -6
|
@@ -26206,7 +26206,7 @@ var SendButton = /*#__PURE__*/styled__default.button.withConfig({
|
|
|
26206
26206
|
var CloseButton = /*#__PURE__*/styled__default.button.withConfig({
|
|
26207
26207
|
displayName: "Chat__CloseButton",
|
|
26208
26208
|
componentId: "sc-1bk05n6-6"
|
|
26209
|
-
})(["position:absolute;top
|
|
26209
|
+
})(["position:absolute;top:0;right:0;background-color:transparent;border:none;color:white;font-size:16px;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center;transition:color 0.3s ease;&:hover{color:", ";}"], uiColors.darkYellow);
|
|
26210
26210
|
|
|
26211
26211
|
var _excluded$2 = ["innerRef"];
|
|
26212
26212
|
var Input = function Input(_ref) {
|
|
@@ -26596,7 +26596,7 @@ var ChatRevamp = function ChatRevamp(_ref) {
|
|
|
26596
26596
|
onBlur: onBlur
|
|
26597
26597
|
});
|
|
26598
26598
|
};
|
|
26599
|
-
return React__default.createElement(
|
|
26599
|
+
return React__default.createElement(React__default.Fragment, null, renderTabs(), React__default.createElement(PrivateChatContainer, {
|
|
26600
26600
|
width: (styles == null ? void 0 : styles.width) || '80%',
|
|
26601
26601
|
height: (styles == null ? void 0 : styles.height) || 'auto'
|
|
26602
26602
|
}, React__default.createElement(RecentChatTabContainer, {
|
|
@@ -26604,17 +26604,13 @@ var ChatRevamp = function ChatRevamp(_ref) {
|
|
|
26604
26604
|
isOpen: showRecentChats
|
|
26605
26605
|
}, renderRecentChatTopBar(), renderRecentChatList()), renderChatContent()));
|
|
26606
26606
|
};
|
|
26607
|
-
var Container$7 = /*#__PURE__*/styled__default.div.withConfig({
|
|
26608
|
-
displayName: "ChatRevamp__Container",
|
|
26609
|
-
componentId: "sc-1sdiknw-0"
|
|
26610
|
-
})(["max-width:800px;"]);
|
|
26611
26607
|
var TabContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26612
26608
|
displayName: "ChatRevamp__TabContainer",
|
|
26613
|
-
componentId: "sc-1sdiknw-
|
|
26609
|
+
componentId: "sc-1sdiknw-0"
|
|
26614
26610
|
})(["width:100%;display:flex;gap:10px;"]);
|
|
26615
26611
|
var Tab = /*#__PURE__*/styled__default.button.withConfig({
|
|
26616
26612
|
displayName: "ChatRevamp__Tab",
|
|
26617
|
-
componentId: "sc-1sdiknw-
|
|
26613
|
+
componentId: "sc-1sdiknw-1"
|
|
26618
26614
|
})(["width:120px;color:white;font-size:0.8rem;all:unset;padding:0.6rem;font-size:0.8rem;border-radius:5px 5px 0 0;border-width:0.25rem 0.25rem 0 0.25rem;border-style:solid;border-color:", ";background-color:", ";color:", ";"], function (props) {
|
|
26619
26615
|
return props.active ? '#c65102' : uiColors.gray;
|
|
26620
26616
|
}, function (props) {
|
|
@@ -26624,7 +26620,7 @@ var Tab = /*#__PURE__*/styled__default.button.withConfig({
|
|
|
26624
26620
|
});
|
|
26625
26621
|
var PrivateChatContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26626
26622
|
displayName: "ChatRevamp__PrivateChatContainer",
|
|
26627
|
-
componentId: "sc-1sdiknw-
|
|
26623
|
+
componentId: "sc-1sdiknw-2"
|
|
26628
26624
|
})(["width:", ";min-height:", " !important;padding:10px;background-color:rgba(0,0,0,0.2);height:auto;display:flex;gap:10px;"], function (_ref2) {
|
|
26629
26625
|
var width = _ref2.width;
|
|
26630
26626
|
return width;
|
|
@@ -26634,7 +26630,7 @@ var PrivateChatContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
26634
26630
|
});
|
|
26635
26631
|
var RecentChatTabContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26636
26632
|
displayName: "ChatRevamp__RecentChatTabContainer",
|
|
26637
|
-
componentId: "sc-1sdiknw-
|
|
26633
|
+
componentId: "sc-1sdiknw-3"
|
|
26638
26634
|
})(["display:", ";flex-direction:column;border-right:1px solid ", ";outline:none;width:", ";max-width:200px;min-width:", ";transition:all 0.3s ease-in-out;overflow:hidden;@media (max-width:768px){width:", ";min-width:", ";}"], function (props) {
|
|
26639
26635
|
return props.isPrivate ? 'flex' : 'none';
|
|
26640
26636
|
}, uiColors.gray, function (props) {
|
|
@@ -26648,47 +26644,47 @@ var RecentChatTabContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
26648
26644
|
});
|
|
26649
26645
|
var RecentChatTopBar = /*#__PURE__*/styled__default.div.withConfig({
|
|
26650
26646
|
displayName: "ChatRevamp__RecentChatTopBar",
|
|
26651
|
-
componentId: "sc-1sdiknw-
|
|
26647
|
+
componentId: "sc-1sdiknw-4"
|
|
26652
26648
|
})(["display:flex;align-items:center;justify-content:space-between;height:30px;"]);
|
|
26653
26649
|
var SearchButton$1 = /*#__PURE__*/styled__default.button.withConfig({
|
|
26654
26650
|
displayName: "ChatRevamp__SearchButton",
|
|
26655
|
-
componentId: "sc-1sdiknw-
|
|
26651
|
+
componentId: "sc-1sdiknw-5"
|
|
26656
26652
|
})(["border:none;background-color:transparent;display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding:4px;position:relative;"]);
|
|
26657
26653
|
var BurgerIconContainer = /*#__PURE__*/styled__default.button.withConfig({
|
|
26658
26654
|
displayName: "ChatRevamp__BurgerIconContainer",
|
|
26659
|
-
componentId: "sc-1sdiknw-
|
|
26655
|
+
componentId: "sc-1sdiknw-6"
|
|
26660
26656
|
})(["border:none;background-color:transparent;display:flex;flex-direction:column;align-items:flex-end;padding:4px;gap:2px;position:relative;&:after{content:'';width:6px;height:6px;position:absolute;top:0;right:2px;border-radius:50%;background-color:", ";display:", ";}"], uiColors.lightGreen, function (props) {
|
|
26661
26657
|
return props.hasUnseenMessages ? 'block' : 'none';
|
|
26662
26658
|
});
|
|
26663
26659
|
var BurgerLineIcon = /*#__PURE__*/styled__default.span.withConfig({
|
|
26664
26660
|
displayName: "ChatRevamp__BurgerLineIcon",
|
|
26665
|
-
componentId: "sc-1sdiknw-
|
|
26661
|
+
componentId: "sc-1sdiknw-7"
|
|
26666
26662
|
})(["width:1rem;height:2px;background-color:#ffffff;"]);
|
|
26667
26663
|
var RecentChatLogContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26668
26664
|
displayName: "ChatRevamp__RecentChatLogContainer",
|
|
26669
|
-
componentId: "sc-1sdiknw-
|
|
26665
|
+
componentId: "sc-1sdiknw-8"
|
|
26670
26666
|
})(["border:none;list-style:none;display:flex;opacity:", ";flex-direction:column;gap:0.5rem;transition:opacity 0.3s ease-in-out;padding:0;margin:0;flex:1;"], function (props) {
|
|
26671
26667
|
return props.isOpen ? 1 : 0;
|
|
26672
26668
|
});
|
|
26673
26669
|
var ListElementContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26674
26670
|
displayName: "ChatRevamp__ListElementContainer",
|
|
26675
|
-
componentId: "sc-1sdiknw-
|
|
26671
|
+
componentId: "sc-1sdiknw-9"
|
|
26676
26672
|
})(["display:flex;justify-content:space-between;align-items:center;"]);
|
|
26677
26673
|
var ListElement$1 = /*#__PURE__*/styled__default.button.withConfig({
|
|
26678
26674
|
displayName: "ChatRevamp__ListElement",
|
|
26679
|
-
componentId: "sc-1sdiknw-
|
|
26675
|
+
componentId: "sc-1sdiknw-10"
|
|
26680
26676
|
})(["margin:0.5rem 0 !important;font-size:", " !important;padding:2px;all:unset;color:", ";width:100%;position:relative;display:flex;align-items:center;gap:4px;&:hover{color:#ff0;}max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"], uiFonts.size.small, function (props) {
|
|
26681
26677
|
return props.active ? uiColors.yellow : uiColors.white;
|
|
26682
26678
|
});
|
|
26683
26679
|
var StatusDot = /*#__PURE__*/styled__default.span.withConfig({
|
|
26684
26680
|
displayName: "ChatRevamp__StatusDot",
|
|
26685
|
-
componentId: "sc-1sdiknw-
|
|
26681
|
+
componentId: "sc-1sdiknw-11"
|
|
26686
26682
|
})(["width:6px;height:6px;border-radius:50%;background-color:", ";display:inline-block;margin-right:6px;"], function (props) {
|
|
26687
26683
|
return props.isUnseen ? uiColors.lightGreen : uiColors.gray;
|
|
26688
26684
|
});
|
|
26689
26685
|
var CloseButton$2 = /*#__PURE__*/styled__default.button.withConfig({
|
|
26690
26686
|
displayName: "ChatRevamp__CloseButton",
|
|
26691
|
-
componentId: "sc-1sdiknw-
|
|
26687
|
+
componentId: "sc-1sdiknw-12"
|
|
26692
26688
|
})(["all:unset;font-size:", ";margin:0 0.5rem;transition:all 0.2s ease-in-out;background-color:", ";color:", ";&:hover{background-color:", ";color:", ";}"], uiFonts.size.xxsmall, uiColors.red, uiColors.white, uiColors.white, uiColors.red);
|
|
26693
26689
|
|
|
26694
26690
|
var CheckButton = function CheckButton(_ref) {
|
|
@@ -27031,7 +27027,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27031
27027
|
},
|
|
27032
27028
|
defaultPosition: initialPosition,
|
|
27033
27029
|
scale: scale
|
|
27034
|
-
}, React__default.createElement(Container$
|
|
27030
|
+
}, React__default.createElement(Container$7, {
|
|
27035
27031
|
ref: draggableRef,
|
|
27036
27032
|
width: width,
|
|
27037
27033
|
height: height || 'auto',
|
|
@@ -27050,7 +27046,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27050
27046
|
onPointerDown: onCloseButton
|
|
27051
27047
|
}, "X"), children));
|
|
27052
27048
|
};
|
|
27053
|
-
var Container$
|
|
27049
|
+
var Container$7 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27054
27050
|
displayName: "DraggableContainer__Container",
|
|
27055
27051
|
componentId: "sc-184mpyl-0"
|
|
27056
27052
|
})(["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) {
|
|
@@ -27134,11 +27130,11 @@ var countItemFromInventory = function countItemFromInventory(itemKey, inventory)
|
|
|
27134
27130
|
var modalRoot = /*#__PURE__*/document.getElementById('modal-root');
|
|
27135
27131
|
var ModalPortal = function ModalPortal(_ref) {
|
|
27136
27132
|
var children = _ref.children;
|
|
27137
|
-
return ReactDOM.createPortal(React__default.createElement(Container$
|
|
27133
|
+
return ReactDOM.createPortal(React__default.createElement(Container$8, {
|
|
27138
27134
|
className: "rpgui-content"
|
|
27139
27135
|
}, children), modalRoot);
|
|
27140
27136
|
};
|
|
27141
|
-
var Container$
|
|
27137
|
+
var Container$8 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27142
27138
|
displayName: "ModalPortal__Container",
|
|
27143
27139
|
componentId: "sc-dgmp04-0"
|
|
27144
27140
|
})(["position:static !important;"]);
|
|
@@ -27334,7 +27330,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
|
|
|
27334
27330
|
document.removeEventListener('clickOutside', function (_e) {});
|
|
27335
27331
|
};
|
|
27336
27332
|
}, []);
|
|
27337
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
27333
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$9, Object.assign({
|
|
27338
27334
|
fontSize: fontSize,
|
|
27339
27335
|
ref: ref
|
|
27340
27336
|
}, pos), React__default.createElement("ul", {
|
|
@@ -27351,7 +27347,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
|
|
|
27351
27347
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
27352
27348
|
}))));
|
|
27353
27349
|
};
|
|
27354
|
-
var Container$
|
|
27350
|
+
var Container$9 = /*#__PURE__*/styled__default.div.withConfig({
|
|
27355
27351
|
displayName: "RelativeListMenu__Container",
|
|
27356
27352
|
componentId: "sc-7hohf-0"
|
|
27357
27353
|
})(["position:absolute;top:", "px;left:", "px;display:flex;flex-direction:column;width:max-content;justify-content:start;align-items:flex-start;li{font-size:", "em;}"], function (props) {
|
|
@@ -27381,7 +27377,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
|
|
|
27381
27377
|
var _ref$current;
|
|
27382
27378
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
27383
27379
|
};
|
|
27384
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
27380
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$a, {
|
|
27385
27381
|
ref: ref,
|
|
27386
27382
|
onTouchEnd: function onTouchEnd() {
|
|
27387
27383
|
handleFadeOut();
|
|
@@ -27409,7 +27405,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
|
|
|
27409
27405
|
}, option.text);
|
|
27410
27406
|
}))));
|
|
27411
27407
|
};
|
|
27412
|
-
var Container$
|
|
27408
|
+
var Container$a = /*#__PURE__*/styled__default.div.withConfig({
|
|
27413
27409
|
displayName: "MobileItemTooltip__Container",
|
|
27414
27410
|
componentId: "sc-ku4p1j-0"
|
|
27415
27411
|
})(["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:640px){flex-direction:column;}"]);
|
|
@@ -27809,7 +27805,7 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
27809
27805
|
setDraggingItem(item);
|
|
27810
27806
|
}
|
|
27811
27807
|
};
|
|
27812
|
-
return React__default.createElement(Container$
|
|
27808
|
+
return React__default.createElement(Container$b, {
|
|
27813
27809
|
isDraggingItem: !!draggingItem,
|
|
27814
27810
|
item: item,
|
|
27815
27811
|
className: "rpgui-icon empty-slot",
|
|
@@ -27887,7 +27883,7 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
27887
27883
|
setIsTooltipVisible: setTooltipVisible
|
|
27888
27884
|
}));
|
|
27889
27885
|
});
|
|
27890
|
-
var Container$
|
|
27886
|
+
var Container$b = /*#__PURE__*/styled__default.div.withConfig({
|
|
27891
27887
|
displayName: "ItemSlot__Container",
|
|
27892
27888
|
componentId: "sc-l2j5ef-0"
|
|
27893
27889
|
})(["margin:0.1rem;.react-draggable-dragging{opacity:", ";}position:relative;.sprite-from-atlas-img--item{position:relative;top:1.5rem;left:1.5rem;border-color:", ";box-shadow:", " inset,", ";}&::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;border-radius:12px;pointer-events:none;animation:", ";@keyframes bg-color-change{0%{background-color:rgba(255 255 255 / 0.5);}50%{background-color:transparent;}100%{background-color:rgba(255 255 255 / 0.5);}}}"], function (_ref2) {
|
|
@@ -28003,7 +27999,7 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
28003
27999
|
});
|
|
28004
28000
|
};
|
|
28005
28001
|
var skillName = (_item$minRequirements = item.minRequirements) == null ? void 0 : (_item$minRequirements2 = _item$minRequirements.skill) == null ? void 0 : _item$minRequirements2.name;
|
|
28006
|
-
return React__default.createElement(Container$
|
|
28002
|
+
return React__default.createElement(Container$c, {
|
|
28007
28003
|
item: item
|
|
28008
28004
|
}, React__default.createElement(Header, null, React__default.createElement("div", null, React__default.createElement(Title$1, null, item.name), item.rarity !== 'Common' && React__default.createElement(Rarity, {
|
|
28009
28005
|
item: item
|
|
@@ -28017,7 +28013,7 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
28017
28013
|
"$isSpecial": true
|
|
28018
28014
|
}, "Two handed"), React__default.createElement(Description, null, item.description), item.maxStackSize && item.maxStackSize !== 1 && React__default.createElement(StackInfo, null, "x", Math.round(((_item$stackQty = item.stackQty) != null ? _item$stackQty : 1) * 100) / 100, "(", item.maxStackSize, ")"), renderMissingStatistic().length > 0 && React__default.createElement(MissingStatistics, null, React__default.createElement(Statistic, null, "Equipped Diff"), itemToCompare && renderMissingStatistic()));
|
|
28019
28015
|
};
|
|
28020
|
-
var Container$
|
|
28016
|
+
var Container$c = /*#__PURE__*/styled__default.div.withConfig({
|
|
28021
28017
|
displayName: "ItemInfo__Container",
|
|
28022
28018
|
componentId: "sc-1xm4q8k-0"
|
|
28023
28019
|
})(["color:white;background-color:#222;border-radius:5px;padding:0.5rem;font-size:", ";border:3px solid ", ";height:max-content;width:18rem;@media (max-width:640px){width:80vw;}"], uiFonts.size.small, function (_ref2) {
|
|
@@ -28163,7 +28159,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
|
|
|
28163
28159
|
}
|
|
28164
28160
|
return;
|
|
28165
28161
|
}, []);
|
|
28166
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
28162
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$d, {
|
|
28167
28163
|
ref: ref
|
|
28168
28164
|
}, React__default.createElement(ItemInfoDisplay, {
|
|
28169
28165
|
item: item,
|
|
@@ -28172,7 +28168,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
|
|
|
28172
28168
|
equipmentSet: equipmentSet
|
|
28173
28169
|
})));
|
|
28174
28170
|
};
|
|
28175
|
-
var Container$
|
|
28171
|
+
var Container$d = /*#__PURE__*/styled__default.div.withConfig({
|
|
28176
28172
|
displayName: "ItemTooltip__Container",
|
|
28177
28173
|
componentId: "sc-11d9r7x-0"
|
|
28178
28174
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -28531,7 +28527,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
28531
28527
|
onChange(selectedValue);
|
|
28532
28528
|
}
|
|
28533
28529
|
}, [selectedValue]);
|
|
28534
|
-
return React__default.createElement(Container$
|
|
28530
|
+
return React__default.createElement(Container$e, {
|
|
28535
28531
|
onMouseLeave: function onMouseLeave() {
|
|
28536
28532
|
return setOpened(false);
|
|
28537
28533
|
},
|
|
@@ -28559,7 +28555,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
28559
28555
|
}, option.option);
|
|
28560
28556
|
})));
|
|
28561
28557
|
};
|
|
28562
|
-
var Container$
|
|
28558
|
+
var Container$e = /*#__PURE__*/styled__default.div.withConfig({
|
|
28563
28559
|
displayName: "Dropdown__Container",
|
|
28564
28560
|
componentId: "sc-8arn65-0"
|
|
28565
28561
|
})(["position:relative;width:", ";"], function (props) {
|
|
@@ -28675,7 +28671,7 @@ var DraggedItem = function DraggedItem(_ref) {
|
|
|
28675
28671
|
var centeredX = x - OFFSET;
|
|
28676
28672
|
var centeredY = y - OFFSET;
|
|
28677
28673
|
var stackInfo = onRenderStackInfo((_item$_id = item == null ? void 0 : item._id) != null ? _item$_id : '', (_item$stackQty = item == null ? void 0 : item.stackQty) != null ? _item$stackQty : 0);
|
|
28678
|
-
return React__default.createElement(Container$
|
|
28674
|
+
return React__default.createElement(Container$f, null, React__default.createElement(SpriteContainer, {
|
|
28679
28675
|
x: centeredX,
|
|
28680
28676
|
y: centeredY
|
|
28681
28677
|
}, React__default.createElement(SpriteFromAtlas, {
|
|
@@ -28693,7 +28689,7 @@ var DraggedItem = function DraggedItem(_ref) {
|
|
|
28693
28689
|
}), stackInfo));
|
|
28694
28690
|
};
|
|
28695
28691
|
var pulse = "\n @keyframes pulse {\n 0%, 100% {\n transform: scale(1) rotate(-3deg);\n }\n 50% {\n transform: scale(0.95) rotate(-3deg);\n }\n }\n";
|
|
28696
|
-
var Container$
|
|
28692
|
+
var Container$f = /*#__PURE__*/styled__default.div.withConfig({
|
|
28697
28693
|
displayName: "DraggedItem__Container",
|
|
28698
28694
|
componentId: "sc-mlzzcp-0"
|
|
28699
28695
|
})(["position:relative;"]);
|
|
@@ -28901,7 +28897,7 @@ var SearchFriend = function SearchFriend(_ref) {
|
|
|
28901
28897
|
title: "Requests (" + friendRequests.length + ")",
|
|
28902
28898
|
content: requestsTabContent
|
|
28903
28899
|
}];
|
|
28904
|
-
return React__default.createElement(Container$
|
|
28900
|
+
return React__default.createElement(Container$g, null, React__default.createElement(TableTab, {
|
|
28905
28901
|
tabs: tabs,
|
|
28906
28902
|
activeTextColor: "#000",
|
|
28907
28903
|
inactiveColor: "#777",
|
|
@@ -28943,7 +28939,7 @@ var FriendRequestSection = function FriendRequestSection(_ref3) {
|
|
|
28943
28939
|
}, "Reject")));
|
|
28944
28940
|
})));
|
|
28945
28941
|
};
|
|
28946
|
-
var Container$
|
|
28942
|
+
var Container$g = /*#__PURE__*/styled__default.div.withConfig({
|
|
28947
28943
|
displayName: "SearchFriend__Container",
|
|
28948
28944
|
componentId: "sc-1lt1ols-0"
|
|
28949
28945
|
})(["display:flex;flex-direction:column;gap:1rem;"]);
|
|
@@ -29146,7 +29142,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
29146
29142
|
var _useState2 = React.useState(false),
|
|
29147
29143
|
showGoNextIndicator = _useState2[0],
|
|
29148
29144
|
setShowGoNextIndicator = _useState2[1];
|
|
29149
|
-
return React__default.createElement(Container$
|
|
29145
|
+
return React__default.createElement(Container$h, null, React__default.createElement(DynamicText, {
|
|
29150
29146
|
text: (textChunks == null ? void 0 : textChunks[chunkIndex]) || '',
|
|
29151
29147
|
onFinish: function onFinish() {
|
|
29152
29148
|
setShowGoNextIndicator(true);
|
|
@@ -29164,7 +29160,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
29164
29160
|
}
|
|
29165
29161
|
}));
|
|
29166
29162
|
};
|
|
29167
|
-
var Container$
|
|
29163
|
+
var Container$h = /*#__PURE__*/styled__default.div.withConfig({
|
|
29168
29164
|
displayName: "NPCDialogText__Container",
|
|
29169
29165
|
componentId: "sc-1cxkdh9-0"
|
|
29170
29166
|
})([""]);
|
|
@@ -29316,7 +29312,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
29316
29312
|
return null;
|
|
29317
29313
|
});
|
|
29318
29314
|
};
|
|
29319
|
-
return React__default.createElement(Container$
|
|
29315
|
+
return React__default.createElement(Container$i, null, React__default.createElement(QuestionContainer, null, React__default.createElement(DynamicText, {
|
|
29320
29316
|
text: currentQuestion.text,
|
|
29321
29317
|
onStart: function onStart() {
|
|
29322
29318
|
return setCanShowAnswers(false);
|
|
@@ -29326,7 +29322,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
29326
29322
|
}
|
|
29327
29323
|
})), canShowAnswers && React__default.createElement(AnswersContainer, null, onRenderCurrentAnswers()));
|
|
29328
29324
|
};
|
|
29329
|
-
var Container$
|
|
29325
|
+
var Container$i = /*#__PURE__*/styled__default.div.withConfig({
|
|
29330
29326
|
displayName: "QuestionDialog__Container",
|
|
29331
29327
|
componentId: "sc-bxc5u0-0"
|
|
29332
29328
|
})(["display:flex;word-break:break-all;box-sizing:border-box;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;"]);
|
|
@@ -29386,7 +29382,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
29386
29382
|
}
|
|
29387
29383
|
})), type === exports.NPCDialogType.TextAndThumbnail && React__default.createElement(ThumbnailContainer, null, React__default.createElement(NPCThumbnail, {
|
|
29388
29384
|
src: imagePath || img$7
|
|
29389
|
-
}))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$
|
|
29385
|
+
}))) : React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$j, null, React__default.createElement(CloseIcon, {
|
|
29390
29386
|
onPointerDown: _onClose
|
|
29391
29387
|
}, "X"), React__default.createElement(TextContainer$1, {
|
|
29392
29388
|
flex: type === exports.NPCDialogType.TextAndThumbnail ? '70%' : '100%'
|
|
@@ -29402,7 +29398,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
29402
29398
|
src: imagePath || img$7
|
|
29403
29399
|
})))));
|
|
29404
29400
|
};
|
|
29405
|
-
var Container$
|
|
29401
|
+
var Container$j = /*#__PURE__*/styled__default.div.withConfig({
|
|
29406
29402
|
displayName: "NPCDialog__Container",
|
|
29407
29403
|
componentId: "sc-1b4aw74-0"
|
|
29408
29404
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -29462,7 +29458,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
|
|
|
29462
29458
|
type: exports.RPGUIContainerTypes.FramedGold,
|
|
29463
29459
|
width: '50%',
|
|
29464
29460
|
height: '180px'
|
|
29465
|
-
}, React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$
|
|
29461
|
+
}, React__default.createElement(React__default.Fragment, null, React__default.createElement(Container$k, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React__default.createElement(React__default.Fragment, null, React__default.createElement(TextContainer$2, {
|
|
29466
29462
|
flex: '70%'
|
|
29467
29463
|
}, React__default.createElement(NPCDialogText, {
|
|
29468
29464
|
onStartStep: function onStartStep() {
|
|
@@ -29504,7 +29500,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
|
|
|
29504
29500
|
src: img$6
|
|
29505
29501
|
}))), ")"));
|
|
29506
29502
|
};
|
|
29507
|
-
var Container$
|
|
29503
|
+
var Container$k = /*#__PURE__*/styled__default.div.withConfig({
|
|
29508
29504
|
displayName: "NPCMultiDialog__Container",
|
|
29509
29505
|
componentId: "sc-rvu5wg-0"
|
|
29510
29506
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -29933,7 +29929,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
29933
29929
|
}
|
|
29934
29930
|
return null;
|
|
29935
29931
|
};
|
|
29936
|
-
return React__default.createElement(Container$
|
|
29932
|
+
return React__default.createElement(Container$l, null, React__default.createElement("p", null, "Shortcuts:"), React__default.createElement(List, {
|
|
29937
29933
|
id: "shortcuts_list"
|
|
29938
29934
|
}, Array.from({
|
|
29939
29935
|
length: 12
|
|
@@ -29951,7 +29947,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
29951
29947
|
}, getContent(i));
|
|
29952
29948
|
})));
|
|
29953
29949
|
};
|
|
29954
|
-
var Container$
|
|
29950
|
+
var Container$l = /*#__PURE__*/styled__default.div.withConfig({
|
|
29955
29951
|
displayName: "ShortcutsSetter__Container",
|
|
29956
29952
|
componentId: "sc-xuouuf-0"
|
|
29957
29953
|
})(["p{margin:0;margin-left:0.5rem;font-size:10px;}width:100%;"]);
|
|
@@ -30553,7 +30549,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
30553
30549
|
onSelected = _ref.onSelected,
|
|
30554
30550
|
x = _ref.x,
|
|
30555
30551
|
y = _ref.y;
|
|
30556
|
-
return React__default.createElement(Container$
|
|
30552
|
+
return React__default.createElement(Container$m, {
|
|
30557
30553
|
x: x,
|
|
30558
30554
|
y: y
|
|
30559
30555
|
}, React__default.createElement("ul", {
|
|
@@ -30570,7 +30566,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
30570
30566
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
30571
30567
|
})));
|
|
30572
30568
|
};
|
|
30573
|
-
var Container$
|
|
30569
|
+
var Container$m = /*#__PURE__*/styled__default.div.withConfig({
|
|
30574
30570
|
displayName: "ListMenu__Container",
|
|
30575
30571
|
componentId: "sc-i9097t-0"
|
|
30576
30572
|
})(["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) {
|
|
@@ -30589,7 +30585,7 @@ var Pager = function Pager(_ref) {
|
|
|
30589
30585
|
itemsPerPage = _ref.itemsPerPage,
|
|
30590
30586
|
onPageChange = _ref.onPageChange;
|
|
30591
30587
|
var totalPages = Math.ceil(totalItems / itemsPerPage);
|
|
30592
|
-
return React__default.createElement(Container$
|
|
30588
|
+
return React__default.createElement(Container$n, null, React__default.createElement("p", null, "Total items: ", totalItems), React__default.createElement(PagerContainer, null, React__default.createElement("button", {
|
|
30593
30589
|
disabled: currentPage === 1,
|
|
30594
30590
|
onPointerDown: function onPointerDown() {
|
|
30595
30591
|
return onPageChange(Math.max(currentPage - 1, 1));
|
|
@@ -30603,7 +30599,7 @@ var Pager = function Pager(_ref) {
|
|
|
30603
30599
|
}
|
|
30604
30600
|
}, '>')));
|
|
30605
30601
|
};
|
|
30606
|
-
var Container$
|
|
30602
|
+
var Container$n = /*#__PURE__*/styled__default.div.withConfig({
|
|
30607
30603
|
displayName: "Pager__Container",
|
|
30608
30604
|
componentId: "sc-1ekmf50-0"
|
|
30609
30605
|
})(["display:flex;flex-direction:column;align-items:center;p{margin:0;font-size:", ";}"], uiFonts.size.xsmall);
|
|
@@ -30616,7 +30612,7 @@ var ConfirmModal = function ConfirmModal(_ref) {
|
|
|
30616
30612
|
var onConfirm = _ref.onConfirm,
|
|
30617
30613
|
onClose = _ref.onClose,
|
|
30618
30614
|
message = _ref.message;
|
|
30619
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Background, null), React__default.createElement(Container$
|
|
30615
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Background, null), React__default.createElement(Container$o, {
|
|
30620
30616
|
onPointerDown: onClose
|
|
30621
30617
|
}, React__default.createElement(DraggableContainer, {
|
|
30622
30618
|
width: "auto",
|
|
@@ -30639,7 +30635,7 @@ var Background = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
30639
30635
|
displayName: "ConfirmModal__Background",
|
|
30640
30636
|
componentId: "sc-11qkyu1-0"
|
|
30641
30637
|
})(["position:absolute;width:100%;height:100%;background-color:#000000;opacity:0.5;left:0;top:0;z-index:1000;"]);
|
|
30642
|
-
var Container$
|
|
30638
|
+
var Container$o = /*#__PURE__*/styled__default.div.withConfig({
|
|
30643
30639
|
displayName: "ConfirmModal__Container",
|
|
30644
30640
|
componentId: "sc-11qkyu1-1"
|
|
30645
30641
|
})(["position:absolute;width:100%;height:100%;left:0;top:0;display:flex;justify-content:center;align-items:center;z-index:1001;"]);
|
|
@@ -31156,13 +31152,13 @@ var TabBody = function TabBody(_ref) {
|
|
|
31156
31152
|
children = _ref.children,
|
|
31157
31153
|
styles = _ref.styles,
|
|
31158
31154
|
centerContent = _ref.centerContent;
|
|
31159
|
-
return React__default.createElement(Container$
|
|
31155
|
+
return React__default.createElement(Container$p, {
|
|
31160
31156
|
styles: styles,
|
|
31161
31157
|
"data-tab-id": id,
|
|
31162
31158
|
centerContent: centerContent
|
|
31163
31159
|
}, children);
|
|
31164
31160
|
};
|
|
31165
|
-
var Container$
|
|
31161
|
+
var Container$p = /*#__PURE__*/styled__default.div.withConfig({
|
|
31166
31162
|
displayName: "TabBody__Container",
|
|
31167
31163
|
componentId: "sc-196oof2-0"
|
|
31168
31164
|
})(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
|
|
@@ -31790,7 +31786,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
31790
31786
|
}
|
|
31791
31787
|
return value * 100 / max;
|
|
31792
31788
|
};
|
|
31793
|
-
return React__default.createElement(Container$
|
|
31789
|
+
return React__default.createElement(Container$q, {
|
|
31794
31790
|
className: "rpgui-progress",
|
|
31795
31791
|
"data-value": calculatePercentageValue(max, value) / 100,
|
|
31796
31792
|
"data-rpguitype": "progress",
|
|
@@ -31820,7 +31816,7 @@ var TextOverlay$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
31820
31816
|
displayName: "ProgressBar__TextOverlay",
|
|
31821
31817
|
componentId: "sc-qa6fzh-1"
|
|
31822
31818
|
})(["width:100%;position:relative;"]);
|
|
31823
|
-
var Container$
|
|
31819
|
+
var Container$q = /*#__PURE__*/styled__default.div.withConfig({
|
|
31824
31820
|
displayName: "ProgressBar__Container",
|
|
31825
31821
|
componentId: "sc-qa6fzh-2"
|
|
31826
31822
|
})(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", " @media (max-width:950px){transform:scale(", ");}"], function (props) {
|
|
@@ -32112,9 +32108,9 @@ var InputRadio$1 = function InputRadio(_ref) {
|
|
|
32112
32108
|
|
|
32113
32109
|
var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
|
|
32114
32110
|
var children = _ref.children;
|
|
32115
|
-
return React__default.createElement(Container$
|
|
32111
|
+
return React__default.createElement(Container$r, null, children);
|
|
32116
32112
|
};
|
|
32117
|
-
var Container$
|
|
32113
|
+
var Container$r = /*#__PURE__*/styled__default.div.withConfig({
|
|
32118
32114
|
displayName: "RPGUIScrollbar__Container",
|
|
32119
32115
|
componentId: "sc-p3msmb-0"
|
|
32120
32116
|
})([".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;}"]);
|
|
@@ -32270,7 +32266,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
32270
32266
|
margin = _ref$margin === void 0 ? 20 : _ref$margin;
|
|
32271
32267
|
// Ensure the width is at least 1% if value is greater than 0
|
|
32272
32268
|
var width = value > 0 ? Math.max(1, Math.min(100, value)) : 0;
|
|
32273
|
-
return React__default.createElement(Container$
|
|
32269
|
+
return React__default.createElement(Container$s, {
|
|
32274
32270
|
className: "simple-progress-bar"
|
|
32275
32271
|
}, React__default.createElement(ProgressBarContainer, {
|
|
32276
32272
|
margin: margin
|
|
@@ -32279,7 +32275,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
32279
32275
|
bgColor: bgColor
|
|
32280
32276
|
}))));
|
|
32281
32277
|
};
|
|
32282
|
-
var Container$
|
|
32278
|
+
var Container$s = /*#__PURE__*/styled__default.div.withConfig({
|
|
32283
32279
|
displayName: "SimpleProgressBar__Container",
|
|
32284
32280
|
componentId: "sc-mbeil3-0"
|
|
32285
32281
|
})(["display:flex;justify-content:center;align-items:center;width:100%;"]);
|
|
@@ -32559,7 +32555,7 @@ var SpellInfo = function SpellInfo(_ref) {
|
|
|
32559
32555
|
castingType = spell.castingType,
|
|
32560
32556
|
cooldown = spell.cooldown,
|
|
32561
32557
|
maxDistanceGrid = spell.maxDistanceGrid;
|
|
32562
|
-
return React__default.createElement(Container$
|
|
32558
|
+
return React__default.createElement(Container$t, null, React__default.createElement(Header$1, null, React__default.createElement("div", null, React__default.createElement(Title$8, null, name), React__default.createElement(Type$1, null, magicWords))), React__default.createElement(Statistic$1, null, React__default.createElement("div", {
|
|
32563
32559
|
className: "label"
|
|
32564
32560
|
}, "Casting Type:"), React__default.createElement("div", {
|
|
32565
32561
|
className: "value"
|
|
@@ -32585,7 +32581,7 @@ var SpellInfo = function SpellInfo(_ref) {
|
|
|
32585
32581
|
className: "value"
|
|
32586
32582
|
}, requiredItem))), React__default.createElement(Description$2, null, description));
|
|
32587
32583
|
};
|
|
32588
|
-
var Container$
|
|
32584
|
+
var Container$t = /*#__PURE__*/styled__default.div.withConfig({
|
|
32589
32585
|
displayName: "SpellInfo__Container",
|
|
32590
32586
|
componentId: "sc-4hbw3q-0"
|
|
32591
32587
|
})(["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);
|
|
@@ -32639,7 +32635,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
32639
32635
|
var _ref$current;
|
|
32640
32636
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
32641
32637
|
};
|
|
32642
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
32638
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$u, {
|
|
32643
32639
|
ref: ref,
|
|
32644
32640
|
onTouchEnd: function onTouchEnd() {
|
|
32645
32641
|
handleFadeOut();
|
|
@@ -32664,7 +32660,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
32664
32660
|
}, option.text);
|
|
32665
32661
|
}))));
|
|
32666
32662
|
};
|
|
32667
|
-
var Container$
|
|
32663
|
+
var Container$u = /*#__PURE__*/styled__default.div.withConfig({
|
|
32668
32664
|
displayName: "MobileSpellTooltip__Container",
|
|
32669
32665
|
componentId: "sc-6p7uvr-0"
|
|
32670
32666
|
})(["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;}"]);
|
|
@@ -32705,13 +32701,13 @@ var MagicTooltip = function MagicTooltip(_ref) {
|
|
|
32705
32701
|
}
|
|
32706
32702
|
return;
|
|
32707
32703
|
}, []);
|
|
32708
|
-
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$
|
|
32704
|
+
return React__default.createElement(ModalPortal, null, React__default.createElement(Container$v, {
|
|
32709
32705
|
ref: ref
|
|
32710
32706
|
}, React__default.createElement(SpellInfoDisplay, {
|
|
32711
32707
|
spell: spell
|
|
32712
32708
|
})));
|
|
32713
32709
|
};
|
|
32714
|
-
var Container$
|
|
32710
|
+
var Container$v = /*#__PURE__*/styled__default.div.withConfig({
|
|
32715
32711
|
displayName: "SpellTooltip__Container",
|
|
32716
32712
|
componentId: "sc-1go0gwg-0"
|
|
32717
32713
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -32784,7 +32780,7 @@ var Spell = function Spell(_ref) {
|
|
|
32784
32780
|
var IMAGE_SCALE = 2;
|
|
32785
32781
|
return React__default.createElement(SpellInfoWrapper, {
|
|
32786
32782
|
spell: spell
|
|
32787
|
-
}, React__default.createElement(Container$
|
|
32783
|
+
}, React__default.createElement(Container$w, {
|
|
32788
32784
|
onPointerUp: onPointerUp == null ? void 0 : onPointerUp.bind(null, spellKey),
|
|
32789
32785
|
isSettingShortcut: isSettingShortcut && !disabled,
|
|
32790
32786
|
className: "spell"
|
|
@@ -32803,7 +32799,7 @@ var Spell = function Spell(_ref) {
|
|
|
32803
32799
|
className: "mana"
|
|
32804
32800
|
}, manaCost))));
|
|
32805
32801
|
};
|
|
32806
|
-
var Container$
|
|
32802
|
+
var Container$w = /*#__PURE__*/styled__default.button.withConfig({
|
|
32807
32803
|
displayName: "Spell__Container",
|
|
32808
32804
|
componentId: "sc-j96fa2-0"
|
|
32809
32805
|
})(["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) {
|
|
@@ -32882,7 +32878,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
32882
32878
|
height: "inherit",
|
|
32883
32879
|
cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
|
|
32884
32880
|
scale: scale
|
|
32885
|
-
}, React__default.createElement(Container$
|
|
32881
|
+
}, React__default.createElement(Container$x, null, React__default.createElement(Title$a, null, "Learned Spells"), React__default.createElement(ShortcutsSetter, {
|
|
32886
32882
|
setSettingShortcutIndex: setSettingShortcutIndex,
|
|
32887
32883
|
settingShortcutIndex: settingShortcutIndex,
|
|
32888
32884
|
shortcuts: shortcuts,
|
|
@@ -32918,7 +32914,7 @@ var Title$a = /*#__PURE__*/styled__default.h1.withConfig({
|
|
|
32918
32914
|
displayName: "Spellbook__Title",
|
|
32919
32915
|
componentId: "sc-r02nfq-0"
|
|
32920
32916
|
})(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
|
|
32921
|
-
var Container$
|
|
32917
|
+
var Container$x = /*#__PURE__*/styled__default.div.withConfig({
|
|
32922
32918
|
displayName: "Spellbook__Container",
|
|
32923
32919
|
componentId: "sc-r02nfq-1"
|
|
32924
32920
|
})(["width:100%;height:100%;color:white;display:flex;flex-direction:column;"]);
|
|
@@ -33469,11 +33465,11 @@ var Truncate = function Truncate(_ref) {
|
|
|
33469
33465
|
var _ref$maxLines = _ref.maxLines,
|
|
33470
33466
|
maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
|
|
33471
33467
|
children = _ref.children;
|
|
33472
|
-
return React__default.createElement(Container$
|
|
33468
|
+
return React__default.createElement(Container$y, {
|
|
33473
33469
|
maxLines: maxLines
|
|
33474
33470
|
}, children);
|
|
33475
33471
|
};
|
|
33476
|
-
var Container$
|
|
33472
|
+
var Container$y = /*#__PURE__*/styled__default.div.withConfig({
|
|
33477
33473
|
displayName: "Truncate__Container",
|
|
33478
33474
|
componentId: "sc-6x00qb-0"
|
|
33479
33475
|
})(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
|
|
@@ -33581,7 +33577,7 @@ var TutorialStepper = /*#__PURE__*/React__default.memo(function (_ref) {
|
|
|
33581
33577
|
};
|
|
33582
33578
|
});
|
|
33583
33579
|
}, [lessons, imageStyle]);
|
|
33584
|
-
return React__default.createElement(Container$
|
|
33580
|
+
return React__default.createElement(Container$z, null, React__default.createElement(Stepper, {
|
|
33585
33581
|
steps: generateLessons,
|
|
33586
33582
|
finalCTAButton: {
|
|
33587
33583
|
label: 'Close',
|
|
@@ -33598,7 +33594,7 @@ var LessonBody = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
33598
33594
|
displayName: "TutorialStepper__LessonBody",
|
|
33599
33595
|
componentId: "sc-7tgzv2-1"
|
|
33600
33596
|
})([""]);
|
|
33601
|
-
var Container$
|
|
33597
|
+
var Container$z = /*#__PURE__*/styled__default.div.withConfig({
|
|
33602
33598
|
displayName: "TutorialStepper__Container",
|
|
33603
33599
|
componentId: "sc-7tgzv2-2"
|
|
33604
33600
|
})(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);
|