@rpg-engine/long-bow 0.6.93 → 0.6.95
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 +14 -10
- 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 +14 -10
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChatRevamp/ChatRevamp.tsx +16 -6
|
@@ -26575,10 +26575,10 @@ var ChatRevamp = function ChatRevamp(_ref) {
|
|
|
26575
26575
|
}
|
|
26576
26576
|
}, React__default.createElement(StatusDot, {
|
|
26577
26577
|
isUnseen: (unseenMessageCharacterIds == null ? void 0 : unseenMessageCharacterIds.includes(character._id)) || false
|
|
26578
|
-
}), React__default.createElement(Ellipsis, {
|
|
26578
|
+
}), React__default.createElement(EllipsisWrapper, null, React__default.createElement(Ellipsis, {
|
|
26579
26579
|
maxLines: 1,
|
|
26580
|
-
maxWidth: "
|
|
26581
|
-
}, character.name)), React__default.createElement(CloseButton$1, {
|
|
26580
|
+
maxWidth: "120px"
|
|
26581
|
+
}, character.name))), React__default.createElement(CloseButton$1, {
|
|
26582
26582
|
onClick: function onClick() {
|
|
26583
26583
|
return onRemoveRecentChatCharacter == null ? void 0 : onRemoveRecentChatCharacter(character);
|
|
26584
26584
|
}
|
|
@@ -26636,7 +26636,7 @@ var PrivateChatContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
26636
26636
|
var RecentChatTabContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26637
26637
|
displayName: "ChatRevamp__RecentChatTabContainer",
|
|
26638
26638
|
componentId: "sc-1sdiknw-4"
|
|
26639
|
-
})(["display:", ";flex-direction:column;border-right:1px solid ", ";outline:none;width:", " !important;transition:width 0.3s ease-in-out;overflow:hidden;@media (max-width:768px){width:", " !important;}"], function (props) {
|
|
26639
|
+
})(["display:", ";flex-direction:column;border-right:1px solid ", ";outline:none;width:", " !important;transition:width 0.3s ease-in-out;overflow:hidden;min-width:140px;@media (max-width:768px){width:", " !important;}"], function (props) {
|
|
26640
26640
|
return props.isPrivate ? 'flex' : 'none';
|
|
26641
26641
|
}, uiColors.gray, function (props) {
|
|
26642
26642
|
return props.isOpen ? '20%' : '30px';
|
|
@@ -26664,29 +26664,33 @@ var BurgerLineIcon = /*#__PURE__*/styled__default.span.withConfig({
|
|
|
26664
26664
|
var RecentChatLogContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26665
26665
|
displayName: "ChatRevamp__RecentChatLogContainer",
|
|
26666
26666
|
componentId: "sc-1sdiknw-9"
|
|
26667
|
-
})(["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;
|
|
26667
|
+
})(["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) {
|
|
26668
26668
|
return props.isOpen ? 1 : 0;
|
|
26669
26669
|
});
|
|
26670
26670
|
var ListElementContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26671
26671
|
displayName: "ChatRevamp__ListElementContainer",
|
|
26672
26672
|
componentId: "sc-1sdiknw-10"
|
|
26673
|
-
})(["display:flex;justify-content:space-between;align-items:center;"]);
|
|
26673
|
+
})(["display:flex;justify-content:space-between;align-items:center;width:100%;"]);
|
|
26674
26674
|
var ListElement$1 = /*#__PURE__*/styled__default.button.withConfig({
|
|
26675
26675
|
displayName: "ChatRevamp__ListElement",
|
|
26676
26676
|
componentId: "sc-1sdiknw-11"
|
|
26677
|
-
})(["margin:0.5rem 0 !important;font-size:", " !important;padding:8px;border-radius:4px;all:unset;color:", ";width:100%;position:relative;display:flex;align-items:center;gap:4px;transition:all 0.2s ease;&:hover{background-color:rgba(255,255,255,0.1);}"], uiFonts.size.small, function (props) {
|
|
26677
|
+
})(["margin:0.5rem 0 !important;font-size:", " !important;padding:8px 4px;border-radius:4px;all:unset;color:", ";width:100%;position:relative;display:flex;align-items:center;gap:4px;transition:all 0.2s ease;flex:1;min-width:0;&:hover{background-color:rgba(255,255,255,0.1);}"], uiFonts.size.small, function (props) {
|
|
26678
26678
|
return props.active ? uiColors.yellow : uiColors.white;
|
|
26679
26679
|
});
|
|
26680
|
+
var EllipsisWrapper = /*#__PURE__*/styled__default.div.withConfig({
|
|
26681
|
+
displayName: "ChatRevamp__EllipsisWrapper",
|
|
26682
|
+
componentId: "sc-1sdiknw-12"
|
|
26683
|
+
})(["flex:1;min-width:0;"]);
|
|
26680
26684
|
var StatusDot = /*#__PURE__*/styled__default.span.withConfig({
|
|
26681
26685
|
displayName: "ChatRevamp__StatusDot",
|
|
26682
|
-
componentId: "sc-1sdiknw-
|
|
26686
|
+
componentId: "sc-1sdiknw-13"
|
|
26683
26687
|
})(["width:6px;height:6px;border-radius:50%;background-color:", ";display:inline-block;margin-right:6px;"], function (props) {
|
|
26684
26688
|
return props.isUnseen ? uiColors.lightGreen : uiColors.gray;
|
|
26685
26689
|
});
|
|
26686
26690
|
var CloseButton$1 = /*#__PURE__*/styled__default.button.withConfig({
|
|
26687
26691
|
displayName: "ChatRevamp__CloseButton",
|
|
26688
|
-
componentId: "sc-1sdiknw-
|
|
26689
|
-
})(["all:unset;font-size:", ";margin:0 0.5rem;transition:all 0.2s ease-in-out;background-color:", ";color:", ";border-radius:50%;padding:4px;display:flex;align-items:center;justify-content:center;&:hover{background-color:", ";color:", ";}"], uiFonts.size.xxsmall, uiColors.red, uiColors.white, uiColors.white, uiColors.red);
|
|
26692
|
+
componentId: "sc-1sdiknw-14"
|
|
26693
|
+
})(["all:unset;font-size:", ";margin:0 0.5rem;transition:all 0.2s ease-in-out;background-color:", ";color:", ";border-radius:50%;padding:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0;&:hover{background-color:", ";color:", ";}"], uiFonts.size.xxsmall, uiColors.red, uiColors.white, uiColors.white, uiColors.red);
|
|
26690
26694
|
|
|
26691
26695
|
var CheckButton = function CheckButton(_ref) {
|
|
26692
26696
|
var items = _ref.items,
|