@rpg-engine/long-bow 0.4.99 → 0.5.0
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 +12 -7
- 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 +12 -7
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/PartySystem/PartyManager/PartyManager.tsx +14 -6
package/dist/long-bow.esm.js
CHANGED
|
@@ -16462,6 +16462,7 @@ var PartyManager = function PartyManager(_ref) {
|
|
|
16462
16462
|
onClose = _ref.onClose,
|
|
16463
16463
|
_onRemovePlayer = _ref.onRemovePlayer,
|
|
16464
16464
|
_onChangeLeader = _ref.onChangeLeader;
|
|
16465
|
+
var invitationActionText = isMobileOrTablet() ? 'Tap' : 'Right click';
|
|
16465
16466
|
return React.createElement(DraggableContainer, {
|
|
16466
16467
|
type: RPGUIContainerTypes.Framed,
|
|
16467
16468
|
onCloseButton: onClose,
|
|
@@ -16504,23 +16505,27 @@ var PartyManager = function PartyManager(_ref) {
|
|
|
16504
16505
|
return _onChangeLeader(partyRow._id);
|
|
16505
16506
|
}
|
|
16506
16507
|
});
|
|
16507
|
-
})) : React.createElement(React.Fragment, null, React.createElement(
|
|
16508
|
+
})) : React.createElement(React.Fragment, null, React.createElement(NotInParty, null, React.createElement("p", null, "You're not in a party."), React.createElement("p", null, "Tip: ", React.createElement(YellowText, null, invitationActionText), " on a player to invite them.")))));
|
|
16508
16509
|
};
|
|
16510
|
+
var YellowText = /*#__PURE__*/styled.span.withConfig({
|
|
16511
|
+
displayName: "PartyManager__YellowText",
|
|
16512
|
+
componentId: "sc-1yqcad8-0"
|
|
16513
|
+
})(["color:", " !important;"], uiColors.yellow);
|
|
16509
16514
|
var Wrapper$5 = /*#__PURE__*/styled.div.withConfig({
|
|
16510
16515
|
displayName: "PartyManager__Wrapper",
|
|
16511
|
-
componentId: "sc-1yqcad8-
|
|
16516
|
+
componentId: "sc-1yqcad8-1"
|
|
16512
16517
|
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
16513
16518
|
var RowsWrapper$2 = /*#__PURE__*/styled.div.withConfig({
|
|
16514
16519
|
displayName: "PartyManager__RowsWrapper",
|
|
16515
|
-
componentId: "sc-1yqcad8-
|
|
16520
|
+
componentId: "sc-1yqcad8-2"
|
|
16516
16521
|
})(["width:100%;"]);
|
|
16517
16522
|
var Title$6 = /*#__PURE__*/styled.h1.withConfig({
|
|
16518
16523
|
displayName: "PartyManager__Title",
|
|
16519
|
-
componentId: "sc-1yqcad8-2"
|
|
16520
|
-
})(["font-size:0.6rem;color:", " !important;"], uiColors.yellow);
|
|
16521
|
-
var NotinParty = /*#__PURE__*/styled.h1.withConfig({
|
|
16522
|
-
displayName: "PartyManager__NotinParty",
|
|
16523
16524
|
componentId: "sc-1yqcad8-3"
|
|
16525
|
+
})(["font-size:0.6rem;color:", " !important;"], uiColors.yellow);
|
|
16526
|
+
var NotInParty = /*#__PURE__*/styled.h1.withConfig({
|
|
16527
|
+
displayName: "PartyManager__NotInParty",
|
|
16528
|
+
componentId: "sc-1yqcad8-4"
|
|
16524
16529
|
})(["font-size:0.6rem;margin:auto;"]);
|
|
16525
16530
|
|
|
16526
16531
|
var mockedPartyRows = [{
|