@rpg-engine/long-bow 0.7.2 → 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 +72 -76
- 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 +72 -76
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChatRevamp/ChatRevamp.tsx +2 -6
package/dist/long-bow.esm.js
CHANGED
|
@@ -26590,7 +26590,7 @@ var ChatRevamp = function ChatRevamp(_ref) {
|
|
|
26590
26590
|
onBlur: onBlur
|
|
26591
26591
|
});
|
|
26592
26592
|
};
|
|
26593
|
-
return React.createElement(
|
|
26593
|
+
return React.createElement(React.Fragment, null, renderTabs(), React.createElement(PrivateChatContainer, {
|
|
26594
26594
|
width: (styles == null ? void 0 : styles.width) || '80%',
|
|
26595
26595
|
height: (styles == null ? void 0 : styles.height) || 'auto'
|
|
26596
26596
|
}, React.createElement(RecentChatTabContainer, {
|
|
@@ -26598,17 +26598,13 @@ var ChatRevamp = function ChatRevamp(_ref) {
|
|
|
26598
26598
|
isOpen: showRecentChats
|
|
26599
26599
|
}, renderRecentChatTopBar(), renderRecentChatList()), renderChatContent()));
|
|
26600
26600
|
};
|
|
26601
|
-
var Container$7 = /*#__PURE__*/styled.div.withConfig({
|
|
26602
|
-
displayName: "ChatRevamp__Container",
|
|
26603
|
-
componentId: "sc-1sdiknw-0"
|
|
26604
|
-
})(["max-width:800px;"]);
|
|
26605
26601
|
var TabContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26606
26602
|
displayName: "ChatRevamp__TabContainer",
|
|
26607
|
-
componentId: "sc-1sdiknw-
|
|
26603
|
+
componentId: "sc-1sdiknw-0"
|
|
26608
26604
|
})(["width:100%;display:flex;gap:10px;"]);
|
|
26609
26605
|
var Tab = /*#__PURE__*/styled.button.withConfig({
|
|
26610
26606
|
displayName: "ChatRevamp__Tab",
|
|
26611
|
-
componentId: "sc-1sdiknw-
|
|
26607
|
+
componentId: "sc-1sdiknw-1"
|
|
26612
26608
|
})(["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) {
|
|
26613
26609
|
return props.active ? '#c65102' : uiColors.gray;
|
|
26614
26610
|
}, function (props) {
|
|
@@ -26618,7 +26614,7 @@ var Tab = /*#__PURE__*/styled.button.withConfig({
|
|
|
26618
26614
|
});
|
|
26619
26615
|
var PrivateChatContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26620
26616
|
displayName: "ChatRevamp__PrivateChatContainer",
|
|
26621
|
-
componentId: "sc-1sdiknw-
|
|
26617
|
+
componentId: "sc-1sdiknw-2"
|
|
26622
26618
|
})(["width:", ";min-height:", " !important;padding:10px;background-color:rgba(0,0,0,0.2);height:auto;display:flex;gap:10px;"], function (_ref2) {
|
|
26623
26619
|
var width = _ref2.width;
|
|
26624
26620
|
return width;
|
|
@@ -26628,7 +26624,7 @@ var PrivateChatContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
26628
26624
|
});
|
|
26629
26625
|
var RecentChatTabContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26630
26626
|
displayName: "ChatRevamp__RecentChatTabContainer",
|
|
26631
|
-
componentId: "sc-1sdiknw-
|
|
26627
|
+
componentId: "sc-1sdiknw-3"
|
|
26632
26628
|
})(["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) {
|
|
26633
26629
|
return props.isPrivate ? 'flex' : 'none';
|
|
26634
26630
|
}, uiColors.gray, function (props) {
|
|
@@ -26642,47 +26638,47 @@ var RecentChatTabContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
26642
26638
|
});
|
|
26643
26639
|
var RecentChatTopBar = /*#__PURE__*/styled.div.withConfig({
|
|
26644
26640
|
displayName: "ChatRevamp__RecentChatTopBar",
|
|
26645
|
-
componentId: "sc-1sdiknw-
|
|
26641
|
+
componentId: "sc-1sdiknw-4"
|
|
26646
26642
|
})(["display:flex;align-items:center;justify-content:space-between;height:30px;"]);
|
|
26647
26643
|
var SearchButton$1 = /*#__PURE__*/styled.button.withConfig({
|
|
26648
26644
|
displayName: "ChatRevamp__SearchButton",
|
|
26649
|
-
componentId: "sc-1sdiknw-
|
|
26645
|
+
componentId: "sc-1sdiknw-5"
|
|
26650
26646
|
})(["border:none;background-color:transparent;display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding:4px;position:relative;"]);
|
|
26651
26647
|
var BurgerIconContainer = /*#__PURE__*/styled.button.withConfig({
|
|
26652
26648
|
displayName: "ChatRevamp__BurgerIconContainer",
|
|
26653
|
-
componentId: "sc-1sdiknw-
|
|
26649
|
+
componentId: "sc-1sdiknw-6"
|
|
26654
26650
|
})(["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) {
|
|
26655
26651
|
return props.hasUnseenMessages ? 'block' : 'none';
|
|
26656
26652
|
});
|
|
26657
26653
|
var BurgerLineIcon = /*#__PURE__*/styled.span.withConfig({
|
|
26658
26654
|
displayName: "ChatRevamp__BurgerLineIcon",
|
|
26659
|
-
componentId: "sc-1sdiknw-
|
|
26655
|
+
componentId: "sc-1sdiknw-7"
|
|
26660
26656
|
})(["width:1rem;height:2px;background-color:#ffffff;"]);
|
|
26661
26657
|
var RecentChatLogContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26662
26658
|
displayName: "ChatRevamp__RecentChatLogContainer",
|
|
26663
|
-
componentId: "sc-1sdiknw-
|
|
26659
|
+
componentId: "sc-1sdiknw-8"
|
|
26664
26660
|
})(["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) {
|
|
26665
26661
|
return props.isOpen ? 1 : 0;
|
|
26666
26662
|
});
|
|
26667
26663
|
var ListElementContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26668
26664
|
displayName: "ChatRevamp__ListElementContainer",
|
|
26669
|
-
componentId: "sc-1sdiknw-
|
|
26665
|
+
componentId: "sc-1sdiknw-9"
|
|
26670
26666
|
})(["display:flex;justify-content:space-between;align-items:center;"]);
|
|
26671
26667
|
var ListElement$1 = /*#__PURE__*/styled.button.withConfig({
|
|
26672
26668
|
displayName: "ChatRevamp__ListElement",
|
|
26673
|
-
componentId: "sc-1sdiknw-
|
|
26669
|
+
componentId: "sc-1sdiknw-10"
|
|
26674
26670
|
})(["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) {
|
|
26675
26671
|
return props.active ? uiColors.yellow : uiColors.white;
|
|
26676
26672
|
});
|
|
26677
26673
|
var StatusDot = /*#__PURE__*/styled.span.withConfig({
|
|
26678
26674
|
displayName: "ChatRevamp__StatusDot",
|
|
26679
|
-
componentId: "sc-1sdiknw-
|
|
26675
|
+
componentId: "sc-1sdiknw-11"
|
|
26680
26676
|
})(["width:6px;height:6px;border-radius:50%;background-color:", ";display:inline-block;margin-right:6px;"], function (props) {
|
|
26681
26677
|
return props.isUnseen ? uiColors.lightGreen : uiColors.gray;
|
|
26682
26678
|
});
|
|
26683
26679
|
var CloseButton$2 = /*#__PURE__*/styled.button.withConfig({
|
|
26684
26680
|
displayName: "ChatRevamp__CloseButton",
|
|
26685
|
-
componentId: "sc-1sdiknw-
|
|
26681
|
+
componentId: "sc-1sdiknw-12"
|
|
26686
26682
|
})(["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);
|
|
26687
26683
|
|
|
26688
26684
|
var CheckButton = function CheckButton(_ref) {
|
|
@@ -27025,7 +27021,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27025
27021
|
},
|
|
27026
27022
|
defaultPosition: initialPosition,
|
|
27027
27023
|
scale: scale
|
|
27028
|
-
}, React.createElement(Container$
|
|
27024
|
+
}, React.createElement(Container$7, {
|
|
27029
27025
|
ref: draggableRef,
|
|
27030
27026
|
width: width,
|
|
27031
27027
|
height: height || 'auto',
|
|
@@ -27044,7 +27040,7 @@ var DraggableContainer = function DraggableContainer(_ref) {
|
|
|
27044
27040
|
onPointerDown: onCloseButton
|
|
27045
27041
|
}, "X"), children));
|
|
27046
27042
|
};
|
|
27047
|
-
var Container$
|
|
27043
|
+
var Container$7 = /*#__PURE__*/styled.div.withConfig({
|
|
27048
27044
|
displayName: "DraggableContainer__Container",
|
|
27049
27045
|
componentId: "sc-184mpyl-0"
|
|
27050
27046
|
})(["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) {
|
|
@@ -27128,11 +27124,11 @@ var countItemFromInventory = function countItemFromInventory(itemKey, inventory)
|
|
|
27128
27124
|
var modalRoot = /*#__PURE__*/document.getElementById('modal-root');
|
|
27129
27125
|
var ModalPortal = function ModalPortal(_ref) {
|
|
27130
27126
|
var children = _ref.children;
|
|
27131
|
-
return ReactDOM.createPortal(React.createElement(Container$
|
|
27127
|
+
return ReactDOM.createPortal(React.createElement(Container$8, {
|
|
27132
27128
|
className: "rpgui-content"
|
|
27133
27129
|
}, children), modalRoot);
|
|
27134
27130
|
};
|
|
27135
|
-
var Container$
|
|
27131
|
+
var Container$8 = /*#__PURE__*/styled.div.withConfig({
|
|
27136
27132
|
displayName: "ModalPortal__Container",
|
|
27137
27133
|
componentId: "sc-dgmp04-0"
|
|
27138
27134
|
})(["position:static !important;"]);
|
|
@@ -27328,7 +27324,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
|
|
|
27328
27324
|
document.removeEventListener('clickOutside', function (_e) {});
|
|
27329
27325
|
};
|
|
27330
27326
|
}, []);
|
|
27331
|
-
return React.createElement(ModalPortal, null, React.createElement(Container$
|
|
27327
|
+
return React.createElement(ModalPortal, null, React.createElement(Container$9, Object.assign({
|
|
27332
27328
|
fontSize: fontSize,
|
|
27333
27329
|
ref: ref
|
|
27334
27330
|
}, pos), React.createElement("ul", {
|
|
@@ -27345,7 +27341,7 @@ var RelativeListMenu = function RelativeListMenu(_ref) {
|
|
|
27345
27341
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
27346
27342
|
}))));
|
|
27347
27343
|
};
|
|
27348
|
-
var Container$
|
|
27344
|
+
var Container$9 = /*#__PURE__*/styled.div.withConfig({
|
|
27349
27345
|
displayName: "RelativeListMenu__Container",
|
|
27350
27346
|
componentId: "sc-7hohf-0"
|
|
27351
27347
|
})(["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) {
|
|
@@ -27375,7 +27371,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
|
|
|
27375
27371
|
var _ref$current;
|
|
27376
27372
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
27377
27373
|
};
|
|
27378
|
-
return React.createElement(ModalPortal, null, React.createElement(Container$
|
|
27374
|
+
return React.createElement(ModalPortal, null, React.createElement(Container$a, {
|
|
27379
27375
|
ref: ref,
|
|
27380
27376
|
onTouchEnd: function onTouchEnd() {
|
|
27381
27377
|
handleFadeOut();
|
|
@@ -27403,7 +27399,7 @@ var MobileItemTooltip = function MobileItemTooltip(_ref) {
|
|
|
27403
27399
|
}, option.text);
|
|
27404
27400
|
}))));
|
|
27405
27401
|
};
|
|
27406
|
-
var Container$
|
|
27402
|
+
var Container$a = /*#__PURE__*/styled.div.withConfig({
|
|
27407
27403
|
displayName: "MobileItemTooltip__Container",
|
|
27408
27404
|
componentId: "sc-ku4p1j-0"
|
|
27409
27405
|
})(["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;}"]);
|
|
@@ -27803,7 +27799,7 @@ var ItemSlot = /*#__PURE__*/observer(function (_ref) {
|
|
|
27803
27799
|
setDraggingItem(item);
|
|
27804
27800
|
}
|
|
27805
27801
|
};
|
|
27806
|
-
return React.createElement(Container$
|
|
27802
|
+
return React.createElement(Container$b, {
|
|
27807
27803
|
isDraggingItem: !!draggingItem,
|
|
27808
27804
|
item: item,
|
|
27809
27805
|
className: "rpgui-icon empty-slot",
|
|
@@ -27881,7 +27877,7 @@ var ItemSlot = /*#__PURE__*/observer(function (_ref) {
|
|
|
27881
27877
|
setIsTooltipVisible: setTooltipVisible
|
|
27882
27878
|
}));
|
|
27883
27879
|
});
|
|
27884
|
-
var Container$
|
|
27880
|
+
var Container$b = /*#__PURE__*/styled.div.withConfig({
|
|
27885
27881
|
displayName: "ItemSlot__Container",
|
|
27886
27882
|
componentId: "sc-l2j5ef-0"
|
|
27887
27883
|
})(["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) {
|
|
@@ -27997,7 +27993,7 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
27997
27993
|
});
|
|
27998
27994
|
};
|
|
27999
27995
|
var skillName = (_item$minRequirements = item.minRequirements) == null ? void 0 : (_item$minRequirements2 = _item$minRequirements.skill) == null ? void 0 : _item$minRequirements2.name;
|
|
28000
|
-
return React.createElement(Container$
|
|
27996
|
+
return React.createElement(Container$c, {
|
|
28001
27997
|
item: item
|
|
28002
27998
|
}, React.createElement(Header, null, React.createElement("div", null, React.createElement(Title$1, null, item.name), item.rarity !== 'Common' && React.createElement(Rarity, {
|
|
28003
27999
|
item: item
|
|
@@ -28011,7 +28007,7 @@ var ItemInfo = function ItemInfo(_ref) {
|
|
|
28011
28007
|
"$isSpecial": true
|
|
28012
28008
|
}, "Two handed"), React.createElement(Description, null, item.description), item.maxStackSize && item.maxStackSize !== 1 && React.createElement(StackInfo, null, "x", Math.round(((_item$stackQty = item.stackQty) != null ? _item$stackQty : 1) * 100) / 100, "(", item.maxStackSize, ")"), renderMissingStatistic().length > 0 && React.createElement(MissingStatistics, null, React.createElement(Statistic, null, "Equipped Diff"), itemToCompare && renderMissingStatistic()));
|
|
28013
28009
|
};
|
|
28014
|
-
var Container$
|
|
28010
|
+
var Container$c = /*#__PURE__*/styled.div.withConfig({
|
|
28015
28011
|
displayName: "ItemInfo__Container",
|
|
28016
28012
|
componentId: "sc-1xm4q8k-0"
|
|
28017
28013
|
})(["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) {
|
|
@@ -28157,7 +28153,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
|
|
|
28157
28153
|
}
|
|
28158
28154
|
return;
|
|
28159
28155
|
}, []);
|
|
28160
|
-
return React.createElement(ModalPortal, null, React.createElement(Container$
|
|
28156
|
+
return React.createElement(ModalPortal, null, React.createElement(Container$d, {
|
|
28161
28157
|
ref: ref
|
|
28162
28158
|
}, React.createElement(ItemInfoDisplay, {
|
|
28163
28159
|
item: item,
|
|
@@ -28166,7 +28162,7 @@ var ItemTooltip = function ItemTooltip(_ref) {
|
|
|
28166
28162
|
equipmentSet: equipmentSet
|
|
28167
28163
|
})));
|
|
28168
28164
|
};
|
|
28169
|
-
var Container$
|
|
28165
|
+
var Container$d = /*#__PURE__*/styled.div.withConfig({
|
|
28170
28166
|
displayName: "ItemTooltip__Container",
|
|
28171
28167
|
componentId: "sc-11d9r7x-0"
|
|
28172
28168
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -28525,7 +28521,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
28525
28521
|
onChange(selectedValue);
|
|
28526
28522
|
}
|
|
28527
28523
|
}, [selectedValue]);
|
|
28528
|
-
return React.createElement(Container$
|
|
28524
|
+
return React.createElement(Container$e, {
|
|
28529
28525
|
onMouseLeave: function onMouseLeave() {
|
|
28530
28526
|
return setOpened(false);
|
|
28531
28527
|
},
|
|
@@ -28553,7 +28549,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
28553
28549
|
}, option.option);
|
|
28554
28550
|
})));
|
|
28555
28551
|
};
|
|
28556
|
-
var Container$
|
|
28552
|
+
var Container$e = /*#__PURE__*/styled.div.withConfig({
|
|
28557
28553
|
displayName: "Dropdown__Container",
|
|
28558
28554
|
componentId: "sc-8arn65-0"
|
|
28559
28555
|
})(["position:relative;width:", ";"], function (props) {
|
|
@@ -28669,7 +28665,7 @@ var DraggedItem = function DraggedItem(_ref) {
|
|
|
28669
28665
|
var centeredX = x - OFFSET;
|
|
28670
28666
|
var centeredY = y - OFFSET;
|
|
28671
28667
|
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);
|
|
28672
|
-
return React.createElement(Container$
|
|
28668
|
+
return React.createElement(Container$f, null, React.createElement(SpriteContainer, {
|
|
28673
28669
|
x: centeredX,
|
|
28674
28670
|
y: centeredY
|
|
28675
28671
|
}, React.createElement(SpriteFromAtlas, {
|
|
@@ -28687,7 +28683,7 @@ var DraggedItem = function DraggedItem(_ref) {
|
|
|
28687
28683
|
}), stackInfo));
|
|
28688
28684
|
};
|
|
28689
28685
|
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";
|
|
28690
|
-
var Container$
|
|
28686
|
+
var Container$f = /*#__PURE__*/styled.div.withConfig({
|
|
28691
28687
|
displayName: "DraggedItem__Container",
|
|
28692
28688
|
componentId: "sc-mlzzcp-0"
|
|
28693
28689
|
})(["position:relative;"]);
|
|
@@ -28895,7 +28891,7 @@ var SearchFriend = function SearchFriend(_ref) {
|
|
|
28895
28891
|
title: "Requests (" + friendRequests.length + ")",
|
|
28896
28892
|
content: requestsTabContent
|
|
28897
28893
|
}];
|
|
28898
|
-
return React.createElement(Container$
|
|
28894
|
+
return React.createElement(Container$g, null, React.createElement(TableTab, {
|
|
28899
28895
|
tabs: tabs,
|
|
28900
28896
|
activeTextColor: "#000",
|
|
28901
28897
|
inactiveColor: "#777",
|
|
@@ -28937,7 +28933,7 @@ var FriendRequestSection = function FriendRequestSection(_ref3) {
|
|
|
28937
28933
|
}, "Reject")));
|
|
28938
28934
|
})));
|
|
28939
28935
|
};
|
|
28940
|
-
var Container$
|
|
28936
|
+
var Container$g = /*#__PURE__*/styled.div.withConfig({
|
|
28941
28937
|
displayName: "SearchFriend__Container",
|
|
28942
28938
|
componentId: "sc-1lt1ols-0"
|
|
28943
28939
|
})(["display:flex;flex-direction:column;gap:1rem;"]);
|
|
@@ -29140,7 +29136,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
29140
29136
|
var _useState2 = useState(false),
|
|
29141
29137
|
showGoNextIndicator = _useState2[0],
|
|
29142
29138
|
setShowGoNextIndicator = _useState2[1];
|
|
29143
|
-
return React.createElement(Container$
|
|
29139
|
+
return React.createElement(Container$h, null, React.createElement(DynamicText, {
|
|
29144
29140
|
text: (textChunks == null ? void 0 : textChunks[chunkIndex]) || '',
|
|
29145
29141
|
onFinish: function onFinish() {
|
|
29146
29142
|
setShowGoNextIndicator(true);
|
|
@@ -29158,7 +29154,7 @@ var NPCDialogText = function NPCDialogText(_ref) {
|
|
|
29158
29154
|
}
|
|
29159
29155
|
}));
|
|
29160
29156
|
};
|
|
29161
|
-
var Container$
|
|
29157
|
+
var Container$h = /*#__PURE__*/styled.div.withConfig({
|
|
29162
29158
|
displayName: "NPCDialogText__Container",
|
|
29163
29159
|
componentId: "sc-1cxkdh9-0"
|
|
29164
29160
|
})([""]);
|
|
@@ -29310,7 +29306,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
29310
29306
|
return null;
|
|
29311
29307
|
});
|
|
29312
29308
|
};
|
|
29313
|
-
return React.createElement(Container$
|
|
29309
|
+
return React.createElement(Container$i, null, React.createElement(QuestionContainer, null, React.createElement(DynamicText, {
|
|
29314
29310
|
text: currentQuestion.text,
|
|
29315
29311
|
onStart: function onStart() {
|
|
29316
29312
|
return setCanShowAnswers(false);
|
|
@@ -29320,7 +29316,7 @@ var QuestionDialog = function QuestionDialog(_ref) {
|
|
|
29320
29316
|
}
|
|
29321
29317
|
})), canShowAnswers && React.createElement(AnswersContainer, null, onRenderCurrentAnswers()));
|
|
29322
29318
|
};
|
|
29323
|
-
var Container$
|
|
29319
|
+
var Container$i = /*#__PURE__*/styled.div.withConfig({
|
|
29324
29320
|
displayName: "QuestionDialog__Container",
|
|
29325
29321
|
componentId: "sc-bxc5u0-0"
|
|
29326
29322
|
})(["display:flex;word-break:break-all;box-sizing:border-box;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;"]);
|
|
@@ -29381,7 +29377,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
29381
29377
|
}
|
|
29382
29378
|
})), type === NPCDialogType.TextAndThumbnail && React.createElement(ThumbnailContainer, null, React.createElement(NPCThumbnail, {
|
|
29383
29379
|
src: imagePath || img$7
|
|
29384
|
-
}))) : React.createElement(React.Fragment, null, React.createElement(Container$
|
|
29380
|
+
}))) : React.createElement(React.Fragment, null, React.createElement(Container$j, null, React.createElement(CloseIcon, {
|
|
29385
29381
|
onPointerDown: _onClose
|
|
29386
29382
|
}, "X"), React.createElement(TextContainer$1, {
|
|
29387
29383
|
flex: type === NPCDialogType.TextAndThumbnail ? '70%' : '100%'
|
|
@@ -29397,7 +29393,7 @@ var NPCDialog = function NPCDialog(_ref) {
|
|
|
29397
29393
|
src: imagePath || img$7
|
|
29398
29394
|
})))));
|
|
29399
29395
|
};
|
|
29400
|
-
var Container$
|
|
29396
|
+
var Container$j = /*#__PURE__*/styled.div.withConfig({
|
|
29401
29397
|
displayName: "NPCDialog__Container",
|
|
29402
29398
|
componentId: "sc-1b4aw74-0"
|
|
29403
29399
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -29458,7 +29454,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
|
|
|
29458
29454
|
type: RPGUIContainerTypes.FramedGold,
|
|
29459
29455
|
width: '50%',
|
|
29460
29456
|
height: '180px'
|
|
29461
|
-
}, React.createElement(React.Fragment, null, React.createElement(Container$
|
|
29457
|
+
}, React.createElement(React.Fragment, null, React.createElement(Container$k, null, ((_textAndTypeArray$sli = textAndTypeArray[slide]) == null ? void 0 : _textAndTypeArray$sli.imageSide) === 'right' && React.createElement(React.Fragment, null, React.createElement(TextContainer$2, {
|
|
29462
29458
|
flex: '70%'
|
|
29463
29459
|
}, React.createElement(NPCDialogText, {
|
|
29464
29460
|
onStartStep: function onStartStep() {
|
|
@@ -29500,7 +29496,7 @@ var NPCMultiDialog = function NPCMultiDialog(_ref) {
|
|
|
29500
29496
|
src: img$6
|
|
29501
29497
|
}))), ")"));
|
|
29502
29498
|
};
|
|
29503
|
-
var Container$
|
|
29499
|
+
var Container$k = /*#__PURE__*/styled.div.withConfig({
|
|
29504
29500
|
displayName: "NPCMultiDialog__Container",
|
|
29505
29501
|
componentId: "sc-rvu5wg-0"
|
|
29506
29502
|
})(["display:flex;width:100%;height:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;position:relative;"]);
|
|
@@ -29929,7 +29925,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
29929
29925
|
}
|
|
29930
29926
|
return null;
|
|
29931
29927
|
};
|
|
29932
|
-
return React.createElement(Container$
|
|
29928
|
+
return React.createElement(Container$l, null, React.createElement("p", null, "Shortcuts:"), React.createElement(List, {
|
|
29933
29929
|
id: "shortcuts_list"
|
|
29934
29930
|
}, Array.from({
|
|
29935
29931
|
length: 12
|
|
@@ -29947,7 +29943,7 @@ var ShortcutsSetter = function ShortcutsSetter(_ref) {
|
|
|
29947
29943
|
}, getContent(i));
|
|
29948
29944
|
})));
|
|
29949
29945
|
};
|
|
29950
|
-
var Container$
|
|
29946
|
+
var Container$l = /*#__PURE__*/styled.div.withConfig({
|
|
29951
29947
|
displayName: "ShortcutsSetter__Container",
|
|
29952
29948
|
componentId: "sc-xuouuf-0"
|
|
29953
29949
|
})(["p{margin:0;margin-left:0.5rem;font-size:10px;}width:100%;"]);
|
|
@@ -30550,7 +30546,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
30550
30546
|
onSelected = _ref.onSelected,
|
|
30551
30547
|
x = _ref.x,
|
|
30552
30548
|
y = _ref.y;
|
|
30553
|
-
return React.createElement(Container$
|
|
30549
|
+
return React.createElement(Container$m, {
|
|
30554
30550
|
x: x,
|
|
30555
30551
|
y: y
|
|
30556
30552
|
}, React.createElement("ul", {
|
|
@@ -30567,7 +30563,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
30567
30563
|
}, (params == null ? void 0 : params.text) || 'No text');
|
|
30568
30564
|
})));
|
|
30569
30565
|
};
|
|
30570
|
-
var Container$
|
|
30566
|
+
var Container$m = /*#__PURE__*/styled.div.withConfig({
|
|
30571
30567
|
displayName: "ListMenu__Container",
|
|
30572
30568
|
componentId: "sc-i9097t-0"
|
|
30573
30569
|
})(["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) {
|
|
@@ -30586,7 +30582,7 @@ var Pager = function Pager(_ref) {
|
|
|
30586
30582
|
itemsPerPage = _ref.itemsPerPage,
|
|
30587
30583
|
onPageChange = _ref.onPageChange;
|
|
30588
30584
|
var totalPages = Math.ceil(totalItems / itemsPerPage);
|
|
30589
|
-
return React.createElement(Container$
|
|
30585
|
+
return React.createElement(Container$n, null, React.createElement("p", null, "Total items: ", totalItems), React.createElement(PagerContainer, null, React.createElement("button", {
|
|
30590
30586
|
disabled: currentPage === 1,
|
|
30591
30587
|
onPointerDown: function onPointerDown() {
|
|
30592
30588
|
return onPageChange(Math.max(currentPage - 1, 1));
|
|
@@ -30600,7 +30596,7 @@ var Pager = function Pager(_ref) {
|
|
|
30600
30596
|
}
|
|
30601
30597
|
}, '>')));
|
|
30602
30598
|
};
|
|
30603
|
-
var Container$
|
|
30599
|
+
var Container$n = /*#__PURE__*/styled.div.withConfig({
|
|
30604
30600
|
displayName: "Pager__Container",
|
|
30605
30601
|
componentId: "sc-1ekmf50-0"
|
|
30606
30602
|
})(["display:flex;flex-direction:column;align-items:center;p{margin:0;font-size:", ";}"], uiFonts.size.xsmall);
|
|
@@ -30613,7 +30609,7 @@ var ConfirmModal = function ConfirmModal(_ref) {
|
|
|
30613
30609
|
var onConfirm = _ref.onConfirm,
|
|
30614
30610
|
onClose = _ref.onClose,
|
|
30615
30611
|
message = _ref.message;
|
|
30616
|
-
return React.createElement(ModalPortal, null, React.createElement(Background, null), React.createElement(Container$
|
|
30612
|
+
return React.createElement(ModalPortal, null, React.createElement(Background, null), React.createElement(Container$o, {
|
|
30617
30613
|
onPointerDown: onClose
|
|
30618
30614
|
}, React.createElement(DraggableContainer, {
|
|
30619
30615
|
width: "auto",
|
|
@@ -30636,7 +30632,7 @@ var Background = /*#__PURE__*/styled.div.withConfig({
|
|
|
30636
30632
|
displayName: "ConfirmModal__Background",
|
|
30637
30633
|
componentId: "sc-11qkyu1-0"
|
|
30638
30634
|
})(["position:absolute;width:100%;height:100%;background-color:#000000;opacity:0.5;left:0;top:0;z-index:1000;"]);
|
|
30639
|
-
var Container$
|
|
30635
|
+
var Container$o = /*#__PURE__*/styled.div.withConfig({
|
|
30640
30636
|
displayName: "ConfirmModal__Container",
|
|
30641
30637
|
componentId: "sc-11qkyu1-1"
|
|
30642
30638
|
})(["position:absolute;width:100%;height:100%;left:0;top:0;display:flex;justify-content:center;align-items:center;z-index:1001;"]);
|
|
@@ -31153,13 +31149,13 @@ var TabBody = function TabBody(_ref) {
|
|
|
31153
31149
|
children = _ref.children,
|
|
31154
31150
|
styles = _ref.styles,
|
|
31155
31151
|
centerContent = _ref.centerContent;
|
|
31156
|
-
return React.createElement(Container$
|
|
31152
|
+
return React.createElement(Container$p, {
|
|
31157
31153
|
styles: styles,
|
|
31158
31154
|
"data-tab-id": id,
|
|
31159
31155
|
centerContent: centerContent
|
|
31160
31156
|
}, children);
|
|
31161
31157
|
};
|
|
31162
|
-
var Container$
|
|
31158
|
+
var Container$p = /*#__PURE__*/styled.div.withConfig({
|
|
31163
31159
|
displayName: "TabBody__Container",
|
|
31164
31160
|
componentId: "sc-196oof2-0"
|
|
31165
31161
|
})(["width:", ";height:", ";overflow-y:auto;display:", ";justify-content:", ";align-items:", ";"], function (props) {
|
|
@@ -31788,7 +31784,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
31788
31784
|
}
|
|
31789
31785
|
return value * 100 / max;
|
|
31790
31786
|
};
|
|
31791
|
-
return React.createElement(Container$
|
|
31787
|
+
return React.createElement(Container$q, {
|
|
31792
31788
|
className: "rpgui-progress",
|
|
31793
31789
|
"data-value": calculatePercentageValue(max, value) / 100,
|
|
31794
31790
|
"data-rpguitype": "progress",
|
|
@@ -31818,7 +31814,7 @@ var TextOverlay$1 = /*#__PURE__*/styled.div.withConfig({
|
|
|
31818
31814
|
displayName: "ProgressBar__TextOverlay",
|
|
31819
31815
|
componentId: "sc-qa6fzh-1"
|
|
31820
31816
|
})(["width:100%;position:relative;"]);
|
|
31821
|
-
var Container$
|
|
31817
|
+
var Container$q = /*#__PURE__*/styled.div.withConfig({
|
|
31822
31818
|
displayName: "ProgressBar__Container",
|
|
31823
31819
|
componentId: "sc-qa6fzh-2"
|
|
31824
31820
|
})(["display:flex;flex-direction:column;min-width:", "px;width:", "%;justify-content:start;align-items:flex-start;", " @media (max-width:950px){transform:scale(", ");}"], function (props) {
|
|
@@ -32110,9 +32106,9 @@ var InputRadio$1 = function InputRadio(_ref) {
|
|
|
32110
32106
|
|
|
32111
32107
|
var RPGUIScrollbar = function RPGUIScrollbar(_ref) {
|
|
32112
32108
|
var children = _ref.children;
|
|
32113
|
-
return React.createElement(Container$
|
|
32109
|
+
return React.createElement(Container$r, null, children);
|
|
32114
32110
|
};
|
|
32115
|
-
var Container$
|
|
32111
|
+
var Container$r = /*#__PURE__*/styled.div.withConfig({
|
|
32116
32112
|
displayName: "RPGUIScrollbar__Container",
|
|
32117
32113
|
componentId: "sc-p3msmb-0"
|
|
32118
32114
|
})([".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;}"]);
|
|
@@ -32268,7 +32264,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
32268
32264
|
margin = _ref$margin === void 0 ? 20 : _ref$margin;
|
|
32269
32265
|
// Ensure the width is at least 1% if value is greater than 0
|
|
32270
32266
|
var width = value > 0 ? Math.max(1, Math.min(100, value)) : 0;
|
|
32271
|
-
return React.createElement(Container$
|
|
32267
|
+
return React.createElement(Container$s, {
|
|
32272
32268
|
className: "simple-progress-bar"
|
|
32273
32269
|
}, React.createElement(ProgressBarContainer, {
|
|
32274
32270
|
margin: margin
|
|
@@ -32277,7 +32273,7 @@ var SimpleProgressBar = function SimpleProgressBar(_ref) {
|
|
|
32277
32273
|
bgColor: bgColor
|
|
32278
32274
|
}))));
|
|
32279
32275
|
};
|
|
32280
|
-
var Container$
|
|
32276
|
+
var Container$s = /*#__PURE__*/styled.div.withConfig({
|
|
32281
32277
|
displayName: "SimpleProgressBar__Container",
|
|
32282
32278
|
componentId: "sc-mbeil3-0"
|
|
32283
32279
|
})(["display:flex;justify-content:center;align-items:center;width:100%;"]);
|
|
@@ -32557,7 +32553,7 @@ var SpellInfo = function SpellInfo(_ref) {
|
|
|
32557
32553
|
castingType = spell.castingType,
|
|
32558
32554
|
cooldown = spell.cooldown,
|
|
32559
32555
|
maxDistanceGrid = spell.maxDistanceGrid;
|
|
32560
|
-
return React.createElement(Container$
|
|
32556
|
+
return React.createElement(Container$t, null, React.createElement(Header$1, null, React.createElement("div", null, React.createElement(Title$8, null, name), React.createElement(Type$1, null, magicWords))), React.createElement(Statistic$1, null, React.createElement("div", {
|
|
32561
32557
|
className: "label"
|
|
32562
32558
|
}, "Casting Type:"), React.createElement("div", {
|
|
32563
32559
|
className: "value"
|
|
@@ -32583,7 +32579,7 @@ var SpellInfo = function SpellInfo(_ref) {
|
|
|
32583
32579
|
className: "value"
|
|
32584
32580
|
}, requiredItem))), React.createElement(Description$2, null, description));
|
|
32585
32581
|
};
|
|
32586
|
-
var Container$
|
|
32582
|
+
var Container$t = /*#__PURE__*/styled.div.withConfig({
|
|
32587
32583
|
displayName: "SpellInfo__Container",
|
|
32588
32584
|
componentId: "sc-4hbw3q-0"
|
|
32589
32585
|
})(["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);
|
|
@@ -32637,7 +32633,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
32637
32633
|
var _ref$current;
|
|
32638
32634
|
(_ref$current = ref.current) == null ? void 0 : _ref$current.classList.add('fadeOut');
|
|
32639
32635
|
};
|
|
32640
|
-
return React.createElement(ModalPortal, null, React.createElement(Container$
|
|
32636
|
+
return React.createElement(ModalPortal, null, React.createElement(Container$u, {
|
|
32641
32637
|
ref: ref,
|
|
32642
32638
|
onTouchEnd: function onTouchEnd() {
|
|
32643
32639
|
handleFadeOut();
|
|
@@ -32662,7 +32658,7 @@ var MobileSpellTooltip = function MobileSpellTooltip(_ref) {
|
|
|
32662
32658
|
}, option.text);
|
|
32663
32659
|
}))));
|
|
32664
32660
|
};
|
|
32665
|
-
var Container$
|
|
32661
|
+
var Container$u = /*#__PURE__*/styled.div.withConfig({
|
|
32666
32662
|
displayName: "MobileSpellTooltip__Container",
|
|
32667
32663
|
componentId: "sc-6p7uvr-0"
|
|
32668
32664
|
})(["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;}"]);
|
|
@@ -32703,13 +32699,13 @@ var MagicTooltip = function MagicTooltip(_ref) {
|
|
|
32703
32699
|
}
|
|
32704
32700
|
return;
|
|
32705
32701
|
}, []);
|
|
32706
|
-
return React.createElement(ModalPortal, null, React.createElement(Container$
|
|
32702
|
+
return React.createElement(ModalPortal, null, React.createElement(Container$v, {
|
|
32707
32703
|
ref: ref
|
|
32708
32704
|
}, React.createElement(SpellInfoDisplay, {
|
|
32709
32705
|
spell: spell
|
|
32710
32706
|
})));
|
|
32711
32707
|
};
|
|
32712
|
-
var Container$
|
|
32708
|
+
var Container$v = /*#__PURE__*/styled.div.withConfig({
|
|
32713
32709
|
displayName: "SpellTooltip__Container",
|
|
32714
32710
|
componentId: "sc-1go0gwg-0"
|
|
32715
32711
|
})(["position:absolute;z-index:100;pointer-events:none;left:0;top:0;opacity:0;transition:opacity 0.08s;"]);
|
|
@@ -32782,7 +32778,7 @@ var Spell = function Spell(_ref) {
|
|
|
32782
32778
|
var IMAGE_SCALE = 2;
|
|
32783
32779
|
return React.createElement(SpellInfoWrapper, {
|
|
32784
32780
|
spell: spell
|
|
32785
|
-
}, React.createElement(Container$
|
|
32781
|
+
}, React.createElement(Container$w, {
|
|
32786
32782
|
onPointerUp: onPointerUp == null ? void 0 : onPointerUp.bind(null, spellKey),
|
|
32787
32783
|
isSettingShortcut: isSettingShortcut && !disabled,
|
|
32788
32784
|
className: "spell"
|
|
@@ -32801,7 +32797,7 @@ var Spell = function Spell(_ref) {
|
|
|
32801
32797
|
className: "mana"
|
|
32802
32798
|
}, manaCost))));
|
|
32803
32799
|
};
|
|
32804
|
-
var Container$
|
|
32800
|
+
var Container$w = /*#__PURE__*/styled.button.withConfig({
|
|
32805
32801
|
displayName: "Spell__Container",
|
|
32806
32802
|
componentId: "sc-j96fa2-0"
|
|
32807
32803
|
})(["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) {
|
|
@@ -32880,7 +32876,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
32880
32876
|
height: "inherit",
|
|
32881
32877
|
cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
|
|
32882
32878
|
scale: scale
|
|
32883
|
-
}, React.createElement(Container$
|
|
32879
|
+
}, React.createElement(Container$x, null, React.createElement(Title$a, null, "Learned Spells"), React.createElement(ShortcutsSetter, {
|
|
32884
32880
|
setSettingShortcutIndex: setSettingShortcutIndex,
|
|
32885
32881
|
settingShortcutIndex: settingShortcutIndex,
|
|
32886
32882
|
shortcuts: shortcuts,
|
|
@@ -32916,7 +32912,7 @@ var Title$a = /*#__PURE__*/styled.h1.withConfig({
|
|
|
32916
32912
|
displayName: "Spellbook__Title",
|
|
32917
32913
|
componentId: "sc-r02nfq-0"
|
|
32918
32914
|
})(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
|
|
32919
|
-
var Container$
|
|
32915
|
+
var Container$x = /*#__PURE__*/styled.div.withConfig({
|
|
32920
32916
|
displayName: "Spellbook__Container",
|
|
32921
32917
|
componentId: "sc-r02nfq-1"
|
|
32922
32918
|
})(["width:100%;height:100%;color:white;display:flex;flex-direction:column;"]);
|
|
@@ -33467,11 +33463,11 @@ var Truncate = function Truncate(_ref) {
|
|
|
33467
33463
|
var _ref$maxLines = _ref.maxLines,
|
|
33468
33464
|
maxLines = _ref$maxLines === void 0 ? 1 : _ref$maxLines,
|
|
33469
33465
|
children = _ref.children;
|
|
33470
|
-
return React.createElement(Container$
|
|
33466
|
+
return React.createElement(Container$y, {
|
|
33471
33467
|
maxLines: maxLines
|
|
33472
33468
|
}, children);
|
|
33473
33469
|
};
|
|
33474
|
-
var Container$
|
|
33470
|
+
var Container$y = /*#__PURE__*/styled.div.withConfig({
|
|
33475
33471
|
displayName: "Truncate__Container",
|
|
33476
33472
|
componentId: "sc-6x00qb-0"
|
|
33477
33473
|
})(["display:-webkit-box;max-width:100%;max-height:100%;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;"], function (props) {
|
|
@@ -33579,7 +33575,7 @@ var TutorialStepper = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
33579
33575
|
};
|
|
33580
33576
|
});
|
|
33581
33577
|
}, [lessons, imageStyle]);
|
|
33582
|
-
return React.createElement(Container$
|
|
33578
|
+
return React.createElement(Container$z, null, React.createElement(Stepper, {
|
|
33583
33579
|
steps: generateLessons,
|
|
33584
33580
|
finalCTAButton: {
|
|
33585
33581
|
label: 'Close',
|
|
@@ -33596,7 +33592,7 @@ var LessonBody = /*#__PURE__*/styled.div.withConfig({
|
|
|
33596
33592
|
displayName: "TutorialStepper__LessonBody",
|
|
33597
33593
|
componentId: "sc-7tgzv2-1"
|
|
33598
33594
|
})([""]);
|
|
33599
|
-
var Container$
|
|
33595
|
+
var Container$z = /*#__PURE__*/styled.div.withConfig({
|
|
33600
33596
|
displayName: "TutorialStepper__Container",
|
|
33601
33597
|
componentId: "sc-7tgzv2-2"
|
|
33602
33598
|
})(["width:80%;max-width:600px;@media (max-width:600px){width:95%;}"]);
|