@rpg-engine/long-bow 0.6.92 → 0.6.94
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 +13 -9
- 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 +13 -9
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChatRevamp/ChatRevamp.tsx +15 -5
package/dist/long-bow.esm.js
CHANGED
|
@@ -26569,10 +26569,10 @@ var ChatRevamp = function ChatRevamp(_ref) {
|
|
|
26569
26569
|
}
|
|
26570
26570
|
}, React.createElement(StatusDot, {
|
|
26571
26571
|
isUnseen: (unseenMessageCharacterIds == null ? void 0 : unseenMessageCharacterIds.includes(character._id)) || false
|
|
26572
|
-
}), React.createElement(Ellipsis, {
|
|
26572
|
+
}), React.createElement(EllipsisWrapper, null, React.createElement(Ellipsis, {
|
|
26573
26573
|
maxLines: 1,
|
|
26574
|
-
maxWidth: "
|
|
26575
|
-
}, character.name)), React.createElement(CloseButton$1, {
|
|
26574
|
+
maxWidth: "120px"
|
|
26575
|
+
}, character.name))), React.createElement(CloseButton$1, {
|
|
26576
26576
|
onClick: function onClick() {
|
|
26577
26577
|
return onRemoveRecentChatCharacter == null ? void 0 : onRemoveRecentChatCharacter(character);
|
|
26578
26578
|
}
|
|
@@ -26658,29 +26658,33 @@ var BurgerLineIcon = /*#__PURE__*/styled.span.withConfig({
|
|
|
26658
26658
|
var RecentChatLogContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26659
26659
|
displayName: "ChatRevamp__RecentChatLogContainer",
|
|
26660
26660
|
componentId: "sc-1sdiknw-9"
|
|
26661
|
-
})(["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;
|
|
26661
|
+
})(["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) {
|
|
26662
26662
|
return props.isOpen ? 1 : 0;
|
|
26663
26663
|
});
|
|
26664
26664
|
var ListElementContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26665
26665
|
displayName: "ChatRevamp__ListElementContainer",
|
|
26666
26666
|
componentId: "sc-1sdiknw-10"
|
|
26667
|
-
})(["display:flex;justify-content:space-between;align-items:center;"]);
|
|
26667
|
+
})(["display:flex;justify-content:space-between;align-items:center;width:100%;"]);
|
|
26668
26668
|
var ListElement$1 = /*#__PURE__*/styled.button.withConfig({
|
|
26669
26669
|
displayName: "ChatRevamp__ListElement",
|
|
26670
26670
|
componentId: "sc-1sdiknw-11"
|
|
26671
|
-
})(["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) {
|
|
26671
|
+
})(["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) {
|
|
26672
26672
|
return props.active ? uiColors.yellow : uiColors.white;
|
|
26673
26673
|
});
|
|
26674
|
+
var EllipsisWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
26675
|
+
displayName: "ChatRevamp__EllipsisWrapper",
|
|
26676
|
+
componentId: "sc-1sdiknw-12"
|
|
26677
|
+
})(["flex:1;min-width:0;"]);
|
|
26674
26678
|
var StatusDot = /*#__PURE__*/styled.span.withConfig({
|
|
26675
26679
|
displayName: "ChatRevamp__StatusDot",
|
|
26676
|
-
componentId: "sc-1sdiknw-
|
|
26680
|
+
componentId: "sc-1sdiknw-13"
|
|
26677
26681
|
})(["width:6px;height:6px;border-radius:50%;background-color:", ";display:inline-block;margin-right:6px;"], function (props) {
|
|
26678
26682
|
return props.isUnseen ? uiColors.lightGreen : uiColors.gray;
|
|
26679
26683
|
});
|
|
26680
26684
|
var CloseButton$1 = /*#__PURE__*/styled.button.withConfig({
|
|
26681
26685
|
displayName: "ChatRevamp__CloseButton",
|
|
26682
|
-
componentId: "sc-1sdiknw-
|
|
26683
|
-
})(["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);
|
|
26686
|
+
componentId: "sc-1sdiknw-14"
|
|
26687
|
+
})(["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);
|
|
26684
26688
|
|
|
26685
26689
|
var CheckButton = function CheckButton(_ref) {
|
|
26686
26690
|
var items = _ref.items,
|