@rpg-engine/long-bow 0.6.65 → 0.6.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Friends/FriendList.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/long-bow.cjs.development.js +87 -85
- 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 +83 -86
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Friends/FriendList.tsx +86 -94
- package/src/components/PartySystem/PartyManager/PartyManager.tsx +0 -17
- package/src/components/Table/Table.tsx +33 -0
- package/src/index.tsx +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ICharacter } from '@rpg-engine/shared';
|
|
3
3
|
export declare type IFriend = Pick<ICharacter, 'name' | '_id' | 'isOnline'>;
|
|
4
4
|
interface IFriendListProps {
|
|
@@ -16,5 +16,5 @@ interface IFriendListProps {
|
|
|
16
16
|
onAcceptRequest: (character: IFriend) => void;
|
|
17
17
|
onRejectRequest: (character: IFriend) => void;
|
|
18
18
|
}
|
|
19
|
-
export declare const FriendList:
|
|
19
|
+
export declare const FriendList: React.FC<IFriendListProps>;
|
|
20
20
|
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const Table: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
2
|
+
export declare const TableRow: import("styled-components").StyledComponent<"tr", any, {}, never>;
|
|
3
|
+
export declare const TableHeader: import("styled-components").StyledComponent<"th", any, {}, never>;
|
|
4
|
+
export declare const TableCell: import("styled-components").StyledComponent<"td", any, {}, never>;
|
|
5
|
+
export declare const ActionButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -52,4 +52,5 @@ export * from './components/TradingMenu/TradingMenu';
|
|
|
52
52
|
export * from './components/Truncate';
|
|
53
53
|
export * from './components/Tutorial/TutorialStepper';
|
|
54
54
|
export * from './components/typography/DynamicText';
|
|
55
|
+
export * from './components/Table/Table';
|
|
55
56
|
export { useEventListener } from './hooks/useEventListener';
|
|
@@ -28787,6 +28787,27 @@ var EquipmentColumn = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
28787
28787
|
componentId: "sc-1wuddg2-1"
|
|
28788
28788
|
})(["display:flex;justify-content:center;flex-wrap:wrap;flex-direction:column;touch-action:none;"]);
|
|
28789
28789
|
|
|
28790
|
+
var Table = /*#__PURE__*/styled__default.table.withConfig({
|
|
28791
|
+
displayName: "Table",
|
|
28792
|
+
componentId: "sc-1c24pcj-0"
|
|
28793
|
+
})(["width:100%;border-collapse:collapse;margin-top:1rem;"]);
|
|
28794
|
+
var TableRow = /*#__PURE__*/styled__default.tr.withConfig({
|
|
28795
|
+
displayName: "Table__TableRow",
|
|
28796
|
+
componentId: "sc-1c24pcj-1"
|
|
28797
|
+
})(["&:nth-child(even){background-color:rgba(255,255,255,0.05) !important;}"]);
|
|
28798
|
+
var TableHeader = /*#__PURE__*/styled__default.th.withConfig({
|
|
28799
|
+
displayName: "Table__TableHeader",
|
|
28800
|
+
componentId: "sc-1c24pcj-2"
|
|
28801
|
+
})(["text-align:left;padding:0.5rem;color:", " !important;border-bottom:1px solid ", ";"], uiColors.yellow, uiColors.lightGray);
|
|
28802
|
+
var TableCell = /*#__PURE__*/styled__default.td.withConfig({
|
|
28803
|
+
displayName: "Table__TableCell",
|
|
28804
|
+
componentId: "sc-1c24pcj-3"
|
|
28805
|
+
})(["padding:0.5rem;color:", ";border-bottom:1px solid ", ";"], uiColors.white, uiColors.lightGray);
|
|
28806
|
+
var ActionButtons = /*#__PURE__*/styled__default.div.withConfig({
|
|
28807
|
+
displayName: "Table__ActionButtons",
|
|
28808
|
+
componentId: "sc-1c24pcj-4"
|
|
28809
|
+
})(["display:flex;gap:10px;align-items:center;"]);
|
|
28810
|
+
|
|
28790
28811
|
var SearchFriend = function SearchFriend(props) {
|
|
28791
28812
|
var searchedCharacters = props.searchedCharacters,
|
|
28792
28813
|
friendRequests = props.friendRequests,
|
|
@@ -28877,32 +28898,22 @@ var AcceptRejectButtonContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
28877
28898
|
componentId: "sc-1lt1ols-5"
|
|
28878
28899
|
})(["display:flex;justify-content:space-between;gap:0.5rem;"]);
|
|
28879
28900
|
|
|
28880
|
-
var FriendList = function FriendList(
|
|
28901
|
+
var FriendList = function FriendList(_ref) {
|
|
28902
|
+
var friends = _ref.friends,
|
|
28903
|
+
friendRequests = _ref.friendRequests,
|
|
28904
|
+
searchedCharacters = _ref.searchedCharacters,
|
|
28905
|
+
onFocus = _ref.onFocus,
|
|
28906
|
+
onBlur = _ref.onBlur,
|
|
28907
|
+
onSearch = _ref.onSearch,
|
|
28908
|
+
onAcceptRequest = _ref.onAcceptRequest,
|
|
28909
|
+
onSendFriendRequest = _ref.onSendFriendRequest,
|
|
28910
|
+
onRemoveFriend = _ref.onRemoveFriend,
|
|
28911
|
+
onOpenPrivateMessage = _ref.onOpenPrivateMessage,
|
|
28912
|
+
onRejectRequest = _ref.onRejectRequest;
|
|
28881
28913
|
var _useState = React.useState(false),
|
|
28882
28914
|
isAddFriendUI = _useState[0],
|
|
28883
28915
|
setIsAddFriendUI = _useState[1];
|
|
28884
|
-
|
|
28885
|
-
friends = props.friends,
|
|
28886
|
-
friendRequests = props.friendRequests,
|
|
28887
|
-
searchedCharacters = props.searchedCharacters,
|
|
28888
|
-
onBlur = props.onBlur,
|
|
28889
|
-
onFocus = props.onFocus,
|
|
28890
|
-
onClose = props.onClose,
|
|
28891
|
-
onSearch = props.onSearch,
|
|
28892
|
-
onAcceptRequest = props.onAcceptRequest,
|
|
28893
|
-
onSendFriendRequest = props.onSendFriendRequest,
|
|
28894
|
-
onRemoveFriend = props.onRemoveFriend,
|
|
28895
|
-
onOpenPrivateMessage = props.onOpenPrivateMessage,
|
|
28896
|
-
onRejectRequest = props.onRejectRequest;
|
|
28897
|
-
return React__default.createElement(DraggableContainer, {
|
|
28898
|
-
type: exports.RPGUIContainerTypes.Framed,
|
|
28899
|
-
onCloseButton: function onCloseButton() {
|
|
28900
|
-
if (onClose) onClose();
|
|
28901
|
-
},
|
|
28902
|
-
width: "800px",
|
|
28903
|
-
cancelDrag: "#FriendListContainer, .rpgui-dropdown-imp, input, .empty-slot, button",
|
|
28904
|
-
scale: scale
|
|
28905
|
-
}, isAddFriendUI ? React__default.createElement(SearchFriend, {
|
|
28916
|
+
return React__default.createElement(ListWrapper, null, isAddFriendUI ? React__default.createElement(SearchFriend, {
|
|
28906
28917
|
searchedCharacters: searchedCharacters,
|
|
28907
28918
|
onSendFriendRequest: onSendFriendRequest,
|
|
28908
28919
|
onAcceptRequest: onAcceptRequest,
|
|
@@ -28911,58 +28922,58 @@ var FriendList = function FriendList(props) {
|
|
|
28911
28922
|
onSearch: onSearch,
|
|
28912
28923
|
onBlur: onBlur,
|
|
28913
28924
|
onFocus: onFocus
|
|
28914
|
-
}) : React__default.createElement(
|
|
28915
|
-
return React__default.createElement(
|
|
28925
|
+
}) : React__default.createElement(React__default.Fragment, null, React__default.createElement(ScrollableArea, null, React__default.createElement(Table, null, React__default.createElement("thead", null, React__default.createElement(TableRow, null, React__default.createElement(TableHeader, null, "Online"), React__default.createElement(TableHeader, null, "Name"), React__default.createElement(TableHeader, null, "Actions"))), React__default.createElement("tbody", null, friends.map(function (friend) {
|
|
28926
|
+
return React__default.createElement(TableRow, {
|
|
28916
28927
|
key: friend._id
|
|
28917
|
-
}, React__default.createElement(
|
|
28928
|
+
}, React__default.createElement(TableCell, null, React__default.createElement(IsOnlineBadge, {
|
|
28918
28929
|
"$isOnline": friend.isOnline
|
|
28919
|
-
}), friend.name), React__default.createElement(
|
|
28920
|
-
|
|
28921
|
-
|
|
28930
|
+
})), React__default.createElement(TableCell, null, friend.name), React__default.createElement(TableCell, null, React__default.createElement(ActionButtons, null, React__default.createElement(UserAction, {
|
|
28931
|
+
color: uiColors.yellow,
|
|
28932
|
+
onClick: function onClick() {
|
|
28922
28933
|
return onOpenPrivateMessage(friend);
|
|
28923
28934
|
}
|
|
28924
|
-
}, "
|
|
28925
|
-
|
|
28926
|
-
|
|
28935
|
+
}, "Chat"), React__default.createElement(UserAction, {
|
|
28936
|
+
color: uiColors.red,
|
|
28937
|
+
onClick: function onClick() {
|
|
28927
28938
|
return onRemoveFriend(friend);
|
|
28928
28939
|
}
|
|
28929
|
-
}, "Remove")));
|
|
28930
|
-
})), React__default.createElement(ButtonContainer$1, null, React__default.createElement(Button, {
|
|
28940
|
+
}, "Remove"))));
|
|
28941
|
+
}))))), React__default.createElement(ButtonContainer$1, null, React__default.createElement(Button, {
|
|
28931
28942
|
buttonType: exports.ButtonTypes.RPGUIButton,
|
|
28932
28943
|
onClick: function onClick() {
|
|
28933
|
-
return setIsAddFriendUI(function (
|
|
28934
|
-
return !
|
|
28944
|
+
return setIsAddFriendUI(function (prev) {
|
|
28945
|
+
return !prev;
|
|
28935
28946
|
});
|
|
28936
28947
|
}
|
|
28937
28948
|
}, isAddFriendUI ? 'Back' : 'Add New Friend')));
|
|
28938
28949
|
};
|
|
28939
|
-
|
|
28940
|
-
|
|
28950
|
+
// Styled components for FriendList UI
|
|
28951
|
+
var ListWrapper = /*#__PURE__*/styled__default.div.withConfig({
|
|
28952
|
+
displayName: "FriendList__ListWrapper",
|
|
28941
28953
|
componentId: "sc-3jf9vt-0"
|
|
28942
|
-
})(["
|
|
28943
|
-
var
|
|
28944
|
-
displayName: "
|
|
28954
|
+
})(["margin-top:1rem;max-height:350px;display:flex;flex-direction:column;"]);
|
|
28955
|
+
var ScrollableArea = /*#__PURE__*/styled__default.div.withConfig({
|
|
28956
|
+
displayName: "FriendList__ScrollableArea",
|
|
28945
28957
|
componentId: "sc-3jf9vt-1"
|
|
28946
|
-
})(["
|
|
28947
|
-
var ListElement$4 = /*#__PURE__*/styled__default.li.withConfig({
|
|
28948
|
-
displayName: "FriendList__ListElement",
|
|
28949
|
-
componentId: "sc-3jf9vt-2"
|
|
28950
|
-
})(["margin:0.5rem 0 !important;font-size:", ";padding:0.5rem 4px;display:flex;align-items:center;justify-content:space-between;border-radius:4px;& div{display:flex;align-items:center;}"], uiFonts.size.small);
|
|
28958
|
+
})(["overflow-y:auto;max-height:300px;"]);
|
|
28951
28959
|
var IsOnlineBadge = /*#__PURE__*/styled__default.div.withConfig({
|
|
28952
28960
|
displayName: "FriendList__IsOnlineBadge",
|
|
28953
|
-
componentId: "sc-3jf9vt-
|
|
28954
|
-
})(["width:10px;height:10px;border-radius:50%;background-color:", ";margin-right:1rem;"], function (
|
|
28955
|
-
var $isOnline =
|
|
28961
|
+
componentId: "sc-3jf9vt-2"
|
|
28962
|
+
})(["width:10px;height:10px;border-radius:50%;background-color:", ";margin-right:1rem;"], function (_ref2) {
|
|
28963
|
+
var $isOnline = _ref2.$isOnline;
|
|
28956
28964
|
return $isOnline ? uiColors.lightGreen : uiColors.red;
|
|
28957
28965
|
});
|
|
28958
28966
|
var ButtonContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
28959
28967
|
displayName: "FriendList__ButtonContainer",
|
|
28960
|
-
componentId: "sc-3jf9vt-
|
|
28968
|
+
componentId: "sc-3jf9vt-3"
|
|
28961
28969
|
})(["display:flex;justify-content:center;align-items:center;width:100%;margin-top:1rem;"]);
|
|
28962
|
-
var
|
|
28963
|
-
displayName: "
|
|
28964
|
-
componentId: "sc-3jf9vt-
|
|
28965
|
-
})(["
|
|
28970
|
+
var UserAction = /*#__PURE__*/styled__default.span.withConfig({
|
|
28971
|
+
displayName: "FriendList__UserAction",
|
|
28972
|
+
componentId: "sc-3jf9vt-4"
|
|
28973
|
+
})(["color:", " !important;cursor:pointer;margin-right:0.5rem;&:hover{text-decoration:underline;}"], function (_ref3) {
|
|
28974
|
+
var color = _ref3.color;
|
|
28975
|
+
return color;
|
|
28976
|
+
});
|
|
28966
28977
|
|
|
28967
28978
|
var IS_MOBILE_OR_TABLET = /*#__PURE__*/shared.isMobileOrTablet();
|
|
28968
28979
|
|
|
@@ -30475,7 +30486,7 @@ var ListMenu = function ListMenu(_ref) {
|
|
|
30475
30486
|
overflow: 'hidden'
|
|
30476
30487
|
}
|
|
30477
30488
|
}, options.map(function (params, index) {
|
|
30478
|
-
return React__default.createElement(ListElement$
|
|
30489
|
+
return React__default.createElement(ListElement$4, {
|
|
30479
30490
|
key: (params == null ? void 0 : params.id) || index,
|
|
30480
30491
|
onPointerDown: function onPointerDown() {
|
|
30481
30492
|
onSelected(params == null ? void 0 : params.id);
|
|
@@ -30491,7 +30502,7 @@ var Container$l = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
30491
30502
|
}, function (props) {
|
|
30492
30503
|
return props.x || 0;
|
|
30493
30504
|
}, uiFonts.size.xsmall);
|
|
30494
|
-
var ListElement$
|
|
30505
|
+
var ListElement$4 = /*#__PURE__*/styled__default.li.withConfig({
|
|
30495
30506
|
displayName: "ListMenu__ListElement",
|
|
30496
30507
|
componentId: "sc-i9097t-1"
|
|
30497
30508
|
})(["margin-right:0.5rem;"]);
|
|
@@ -31407,13 +31418,7 @@ var PartyManager = function PartyManager(_ref) {
|
|
|
31407
31418
|
var sortedMembers = partyRows != null && partyRows.leader && partyRows != null && partyRows.members ? [partyRows.leader].concat(partyRows.members).sort(function (a, b) {
|
|
31408
31419
|
return a._id === partyRows.leader._id ? -1 : b._id === partyRows.leader._id ? 1 : 0;
|
|
31409
31420
|
}) : [];
|
|
31410
|
-
return React__default.createElement(React__default.Fragment, null, React__default.createElement(
|
|
31411
|
-
style: {
|
|
31412
|
-
width: '100%'
|
|
31413
|
-
}
|
|
31414
|
-
}, React__default.createElement(Title$7, null, "Party Dashboard"), React__default.createElement("hr", {
|
|
31415
|
-
className: "golden"
|
|
31416
|
-
}))), React__default.createElement(RowsWrapper$2, {
|
|
31421
|
+
return React__default.createElement(React__default.Fragment, null, React__default.createElement(RowsWrapper$2, {
|
|
31417
31422
|
className: "partyRows"
|
|
31418
31423
|
}, partyRows && sortedMembers.length ? sortedMembers.map(function (partyRow) {
|
|
31419
31424
|
return React__default.createElement(PartyManagerRow, {
|
|
@@ -31441,17 +31446,9 @@ var YellowText = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
31441
31446
|
displayName: "PartyManager__YellowText",
|
|
31442
31447
|
componentId: "sc-1yqcad8-1"
|
|
31443
31448
|
})(["color:", " !important;"], uiColors.yellow);
|
|
31444
|
-
var Wrapper$5 = /*#__PURE__*/styled__default.div.withConfig({
|
|
31445
|
-
displayName: "PartyManager__Wrapper",
|
|
31446
|
-
componentId: "sc-1yqcad8-2"
|
|
31447
|
-
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
31448
|
-
var Title$7 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
31449
|
-
displayName: "PartyManager__Title",
|
|
31450
|
-
componentId: "sc-1yqcad8-3"
|
|
31451
|
-
})(["font-size:0.6rem;color:", " !important;"], uiColors.yellow);
|
|
31452
31449
|
var NotInParty = /*#__PURE__*/styled__default.h1.withConfig({
|
|
31453
31450
|
displayName: "PartyManager__NotInParty",
|
|
31454
|
-
componentId: "sc-1yqcad8-
|
|
31451
|
+
componentId: "sc-1yqcad8-2"
|
|
31455
31452
|
})(["font-size:0.6rem;margin:auto;"]);
|
|
31456
31453
|
|
|
31457
31454
|
var mockedPartyRows = [{
|
|
@@ -31790,7 +31787,7 @@ var QuestInfo = function QuestInfo(_ref) {
|
|
|
31790
31787
|
onPointerDown: onRightClick
|
|
31791
31788
|
}), React__default.createElement(QuestContainer, null, React__default.createElement(TitleContainer$1, {
|
|
31792
31789
|
className: "drag-handler"
|
|
31793
|
-
}, React__default.createElement(Title$
|
|
31790
|
+
}, React__default.createElement(Title$7, null, React__default.createElement(Thumbnail, {
|
|
31794
31791
|
src: quests[currentIndex].thumbnail || img$8
|
|
31795
31792
|
}), quests[currentIndex].title), React__default.createElement(QuestSplitDiv, null, React__default.createElement("hr", {
|
|
31796
31793
|
className: "golden"
|
|
@@ -31809,7 +31806,7 @@ var QuestInfo = function QuestInfo(_ref) {
|
|
|
31809
31806
|
}, button.title);
|
|
31810
31807
|
})))) : React__default.createElement(QuestsContainer, null, React__default.createElement(QuestContainer, null, React__default.createElement(TitleContainer$1, {
|
|
31811
31808
|
className: "drag-handler"
|
|
31812
|
-
}, React__default.createElement(Title$
|
|
31809
|
+
}, React__default.createElement(Title$7, null, React__default.createElement(Thumbnail, {
|
|
31813
31810
|
src: quests[0].thumbnail || img$8
|
|
31814
31811
|
}), quests[0].title), React__default.createElement(QuestSplitDiv, null, React__default.createElement("hr", {
|
|
31815
31812
|
className: "golden"
|
|
@@ -31856,7 +31853,7 @@ var TitleContainer$1 = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
31856
31853
|
displayName: "QuestInfo__TitleContainer",
|
|
31857
31854
|
componentId: "sc-15s2boc-6"
|
|
31858
31855
|
})(["width:100%;display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;margin-top:1rem;"]);
|
|
31859
|
-
var Title$
|
|
31856
|
+
var Title$7 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
31860
31857
|
displayName: "QuestInfo__Title",
|
|
31861
31858
|
componentId: "sc-15s2boc-7"
|
|
31862
31859
|
})(["color:white;z-index:22;font-size:", " !important;color:", " !important;"], uiFonts.size.medium, uiColors.yellow);
|
|
@@ -31880,7 +31877,7 @@ var QuestList = function QuestList(_ref) {
|
|
|
31880
31877
|
style: {
|
|
31881
31878
|
width: '100%'
|
|
31882
31879
|
}
|
|
31883
|
-
}, React__default.createElement(Title$
|
|
31880
|
+
}, React__default.createElement(Title$8, null, "Quests"), React__default.createElement("hr", {
|
|
31884
31881
|
className: "golden"
|
|
31885
31882
|
}), React__default.createElement(QuestListContainer, null, quests ? quests.map(function (quest, i) {
|
|
31886
31883
|
return React__default.createElement("div", {
|
|
@@ -31901,7 +31898,7 @@ var QuestDraggableContainer$1 = /*#__PURE__*/styled__default(DraggableContainer)
|
|
|
31901
31898
|
displayName: "QuestList__QuestDraggableContainer",
|
|
31902
31899
|
componentId: "sc-1a2vx6q-0"
|
|
31903
31900
|
})([".container-close{top:10px;right:10px;}.quest-title{text-align:left;margin-left:44px;margin-top:20px;color:yellow;}.quest-desc{margin-top:12px;margin-left:44px;}.rpgui-progress{min-width:80%;margin:0 auto;}"]);
|
|
31904
|
-
var Title$
|
|
31901
|
+
var Title$8 = /*#__PURE__*/styled__default.h1.withConfig({
|
|
31905
31902
|
displayName: "QuestList__Title",
|
|
31906
31903
|
componentId: "sc-1a2vx6q-1"
|
|
31907
31904
|
})(["z-index:22;font-size:", " !important;color:yellow !important;"], uiFonts.size.medium);
|
|
@@ -32395,7 +32392,7 @@ var SpellInfo = function SpellInfo(_ref) {
|
|
|
32395
32392
|
castingType = spell.castingType,
|
|
32396
32393
|
cooldown = spell.cooldown,
|
|
32397
32394
|
maxDistanceGrid = spell.maxDistanceGrid;
|
|
32398
|
-
return React__default.createElement(Container$s, null, React__default.createElement(Header$1, null, React__default.createElement("div", null, React__default.createElement(Title$
|
|
32395
|
+
return React__default.createElement(Container$s, null, React__default.createElement(Header$1, null, React__default.createElement("div", null, React__default.createElement(Title$9, null, name), React__default.createElement(Type$1, null, magicWords))), React__default.createElement(Statistic$1, null, React__default.createElement("div", {
|
|
32399
32396
|
className: "label"
|
|
32400
32397
|
}, "Casting Type:"), React__default.createElement("div", {
|
|
32401
32398
|
className: "value"
|
|
@@ -32425,7 +32422,7 @@ var Container$s = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
32425
32422
|
displayName: "SpellInfo__Container",
|
|
32426
32423
|
componentId: "sc-4hbw3q-0"
|
|
32427
32424
|
})(["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);
|
|
32428
|
-
var Title$
|
|
32425
|
+
var Title$9 = /*#__PURE__*/styled__default.div.withConfig({
|
|
32429
32426
|
displayName: "SpellInfo__Title",
|
|
32430
32427
|
componentId: "sc-4hbw3q-1"
|
|
32431
32428
|
})(["font-size:", ";font-weight:bold;margin-bottom:0.5rem;display:flex;align-items:center;margin:0;"], uiFonts.size.medium);
|
|
@@ -32620,7 +32617,7 @@ var Spell = function Spell(_ref) {
|
|
|
32620
32617
|
imgScale: IMAGE_SCALE,
|
|
32621
32618
|
containerStyle: CONTAINER_STYLE,
|
|
32622
32619
|
centered: true
|
|
32623
|
-
})), React__default.createElement(Info, null, React__default.createElement(Title$
|
|
32620
|
+
})), React__default.createElement(Info, null, React__default.createElement(Title$a, null, React__default.createElement("span", null, name), React__default.createElement("span", {
|
|
32624
32621
|
className: "spell"
|
|
32625
32622
|
}, "(", magicWords, ")")), React__default.createElement(Description$3, null, description)), React__default.createElement(Divider, null), React__default.createElement(Cost, null, React__default.createElement("span", null, "Mana cost:"), React__default.createElement("span", {
|
|
32626
32623
|
className: "mana"
|
|
@@ -32641,7 +32638,7 @@ var Info = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
32641
32638
|
displayName: "Spell__Info",
|
|
32642
32639
|
componentId: "sc-j96fa2-2"
|
|
32643
32640
|
})(["width:0;flex:1;@media (orientation:portrait){display:none;}"]);
|
|
32644
|
-
var Title$
|
|
32641
|
+
var Title$a = /*#__PURE__*/styled__default.p.withConfig({
|
|
32645
32642
|
displayName: "Spell__Title",
|
|
32646
32643
|
componentId: "sc-j96fa2-3"
|
|
32647
32644
|
})(["display:flex;flex-wrap:wrap;align-items:center;margin-bottom:5px;margin:0;span{font-size:", " !important;font-weight:bold !important;color:", " !important;margin-right:0.5rem;}.spell{font-size:", " !important;font-weight:normal !important;color:", " !important;}"], uiFonts.size.medium, uiColors.yellow, uiFonts.size.small, uiColors.lightGray);
|
|
@@ -32705,7 +32702,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
32705
32702
|
height: "inherit",
|
|
32706
32703
|
cancelDrag: "#spellbook-search, #shortcuts_list, .spell",
|
|
32707
32704
|
scale: scale
|
|
32708
|
-
}, React__default.createElement(Container$w, null, React__default.createElement(Title$
|
|
32705
|
+
}, React__default.createElement(Container$w, null, React__default.createElement(Title$b, null, "Learned Spells"), React__default.createElement(ShortcutsSetter, {
|
|
32709
32706
|
setSettingShortcutIndex: setSettingShortcutIndex,
|
|
32710
32707
|
settingShortcutIndex: settingShortcutIndex,
|
|
32711
32708
|
shortcuts: shortcuts,
|
|
@@ -32737,7 +32734,7 @@ var Spellbook = function Spellbook(_ref) {
|
|
|
32737
32734
|
}, spell)));
|
|
32738
32735
|
}))));
|
|
32739
32736
|
};
|
|
32740
|
-
var Title$
|
|
32737
|
+
var Title$b = /*#__PURE__*/styled__default.h1.withConfig({
|
|
32741
32738
|
displayName: "Spellbook__Title",
|
|
32742
32739
|
componentId: "sc-r02nfq-0"
|
|
32743
32740
|
})(["font-size:", " !important;margin-bottom:0 !important;"], uiFonts.size.large);
|
|
@@ -33227,7 +33224,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
33227
33224
|
style: {
|
|
33228
33225
|
width: '100%'
|
|
33229
33226
|
}
|
|
33230
|
-
}, React__default.createElement(Title$
|
|
33227
|
+
}, React__default.createElement(Title$c, null, Capitalize(type), " Menu"), React__default.createElement("hr", {
|
|
33231
33228
|
className: "golden"
|
|
33232
33229
|
})), React__default.createElement(TradingComponentScrollWrapper, {
|
|
33233
33230
|
id: "TraderContainer"
|
|
@@ -33258,7 +33255,7 @@ var TradingMenu = function TradingMenu(_ref) {
|
|
|
33258
33255
|
}
|
|
33259
33256
|
}, "Cancel"))));
|
|
33260
33257
|
};
|
|
33261
|
-
var Title$
|
|
33258
|
+
var Title$c = /*#__PURE__*/styled__default.h1.withConfig({
|
|
33262
33259
|
displayName: "TradingMenu__Title",
|
|
33263
33260
|
componentId: "sc-1wjsz1l-0"
|
|
33264
33261
|
})(["z-index:22;font-size:0.6rem;color:yellow !important;"]);
|
|
@@ -33442,6 +33439,7 @@ var LessonContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
33442
33439
|
componentId: "sc-7tgzv2-6"
|
|
33443
33440
|
})(["display:flex;flex-direction:column;justify-content:space-between;min-height:200px;p{font-size:0.7rem !important;}"]);
|
|
33444
33441
|
|
|
33442
|
+
exports.ActionButtons = ActionButtons;
|
|
33445
33443
|
exports.AsyncDropdown = AsyncDropdown;
|
|
33446
33444
|
exports.Button = Button;
|
|
33447
33445
|
exports.CharacterSelection = CharacterSelection;
|
|
@@ -33496,6 +33494,10 @@ exports.Spellbook = Spellbook;
|
|
|
33496
33494
|
exports.SpriteFromAtlas = SpriteFromAtlas;
|
|
33497
33495
|
exports.Stepper = Stepper;
|
|
33498
33496
|
exports.TabBody = TabBody;
|
|
33497
|
+
exports.Table = Table;
|
|
33498
|
+
exports.TableCell = TableCell;
|
|
33499
|
+
exports.TableHeader = TableHeader;
|
|
33500
|
+
exports.TableRow = TableRow;
|
|
33499
33501
|
exports.TableTab = TableTab;
|
|
33500
33502
|
exports.TabsContainer = TabsContainer;
|
|
33501
33503
|
exports.TextArea = TextArea;
|