@rpg-engine/long-bow 0.7.5 → 0.7.7
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 +19 -15
- 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 +19 -15
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +51 -69
- package/src/components/ChatRevamp/ChatRevamp.tsx +1 -1
package/dist/long-bow.esm.js
CHANGED
|
@@ -26168,34 +26168,38 @@ var Chat = function Chat(_ref) {
|
|
|
26168
26168
|
var ChatContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26169
26169
|
displayName: "Chat__ChatContainer",
|
|
26170
26170
|
componentId: "sc-1bk05n6-0"
|
|
26171
|
-
})(["width:
|
|
26171
|
+
})(["width:", ";height:", ";background-color:#1e1e1e;display:flex;flex-direction:column;position:relative;border-radius:8px;border:1px solid rgba(0,0,0,0.1);overflow:hidden;"], function (props) {
|
|
26172
|
+
return props.width;
|
|
26173
|
+
}, function (props) {
|
|
26174
|
+
return props.height;
|
|
26175
|
+
});
|
|
26176
|
+
var CloseButton = /*#__PURE__*/styled.button.withConfig({
|
|
26177
|
+
displayName: "Chat__CloseButton",
|
|
26178
|
+
componentId: "sc-1bk05n6-1"
|
|
26179
|
+
})(["position:absolute;top:8px;right:8px;background-color:transparent;border:none;color:white;font-size:16px;cursor:pointer;z-index:1;"]);
|
|
26172
26180
|
var MessagesContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26173
26181
|
displayName: "Chat__MessagesContainer",
|
|
26174
|
-
componentId: "sc-1bk05n6-
|
|
26175
|
-
})(["flex-grow:1;overflow-y:auto;padding:
|
|
26182
|
+
componentId: "sc-1bk05n6-2"
|
|
26183
|
+
})(["flex-grow:1;overflow-y:auto;padding:12px;margin-bottom:8px;scrollbar-width:thin;scrollbar-color:#333 #1e1e1e;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:#1e1e1e;}&::-webkit-scrollbar-thumb{background-color:#333;border-radius:3px;}"]);
|
|
26176
26184
|
var Message = /*#__PURE__*/styled.div.withConfig({
|
|
26177
26185
|
displayName: "Chat__Message",
|
|
26178
|
-
componentId: "sc-1bk05n6-
|
|
26179
|
-
})(["margin-bottom:
|
|
26186
|
+
componentId: "sc-1bk05n6-3"
|
|
26187
|
+
})(["margin-bottom:6px;color:", ";font-family:'Press Start 2P',cursive;font-size:0.7rem;line-height:1.4;word-break:break-word;"], function (_ref2) {
|
|
26180
26188
|
var color = _ref2.color;
|
|
26181
26189
|
return color;
|
|
26182
26190
|
});
|
|
26183
26191
|
var Form = /*#__PURE__*/styled.form.withConfig({
|
|
26184
26192
|
displayName: "Chat__Form",
|
|
26185
|
-
componentId: "sc-1bk05n6-
|
|
26186
|
-
})(["display:flex;
|
|
26193
|
+
componentId: "sc-1bk05n6-4"
|
|
26194
|
+
})(["display:flex;padding:8px;background-color:#2a2a2a;"]);
|
|
26187
26195
|
var TextField = /*#__PURE__*/styled.input.withConfig({
|
|
26188
26196
|
displayName: "Chat__TextField",
|
|
26189
|
-
componentId: "sc-1bk05n6-
|
|
26190
|
-
})(["flex-grow:1;background-color
|
|
26197
|
+
componentId: "sc-1bk05n6-5"
|
|
26198
|
+
})(["flex-grow:1;background-color:#1a1a1a;color:#ff6600;border:1px solid #333;border-radius:4px;padding:8px;margin-right:8px;font-family:'Press Start 2P',cursive;font-size:0.7rem;height:32px;transition:border-color 0.3s,background-color 0.3s;&::placeholder{color:#666;}&:focus{outline:none;border-color:#ff6600;background-color:#2a2a2a;}"]);
|
|
26191
26199
|
var SendButton = /*#__PURE__*/styled.button.withConfig({
|
|
26192
26200
|
displayName: "Chat__SendButton",
|
|
26193
|
-
componentId: "sc-1bk05n6-5"
|
|
26194
|
-
})(["background-color:transparent;color:#ff6600;border:none;padding:0 10px;font-size:18px;cursor:pointer;transition:color 0.3s ease;&:hover{color:#ff8533;}&:disabled{color:#666;cursor:not-allowed;}"]);
|
|
26195
|
-
var CloseButton = /*#__PURE__*/styled.button.withConfig({
|
|
26196
|
-
displayName: "Chat__CloseButton",
|
|
26197
26201
|
componentId: "sc-1bk05n6-6"
|
|
26198
|
-
})(["
|
|
26202
|
+
})(["background-color:transparent;color:#ff6600;border:none;padding:8px 12px;font-size:14px;cursor:pointer;transition:opacity 0.3s ease;&:disabled{opacity:0.5;cursor:not-allowed;}"]);
|
|
26199
26203
|
|
|
26200
26204
|
var _excluded$2 = ["innerRef"];
|
|
26201
26205
|
var Input = function Input(_ref) {
|
|
@@ -26606,7 +26610,7 @@ var Tab = /*#__PURE__*/styled.button.withConfig({
|
|
|
26606
26610
|
}, function (props) {
|
|
26607
26611
|
return props.active ? uiColors.orange : 'transparent';
|
|
26608
26612
|
}, function (props) {
|
|
26609
|
-
return props.active ? 'white' : uiColors.
|
|
26613
|
+
return props.active ? 'white' : uiColors.gray;
|
|
26610
26614
|
});
|
|
26611
26615
|
var PrivateChatContainer = /*#__PURE__*/styled.div.withConfig({
|
|
26612
26616
|
displayName: "ChatRevamp__PrivateChatContainer",
|