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