@rpg-engine/long-bow 0.7.4 → 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 +15 -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 +15 -15
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Chat/Chat.tsx +49 -68
- package/src/components/ChatRevamp/ChatRevamp.tsx +1 -1
|
@@ -26175,38 +26175,38 @@ var Chat = function Chat(_ref) {
|
|
|
26175
26175
|
var ChatContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26176
26176
|
displayName: "Chat__ChatContainer",
|
|
26177
26177
|
componentId: "sc-1bk05n6-0"
|
|
26178
|
-
})(["width:", ";height:", ";background-color:#
|
|
26178
|
+
})(["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) {
|
|
26179
26179
|
return props.width;
|
|
26180
26180
|
}, function (props) {
|
|
26181
26181
|
return props.height;
|
|
26182
26182
|
});
|
|
26183
|
+
var CloseButton = /*#__PURE__*/styled__default.button.withConfig({
|
|
26184
|
+
displayName: "Chat__CloseButton",
|
|
26185
|
+
componentId: "sc-1bk05n6-1"
|
|
26186
|
+
})(["position:absolute;top:8px;right:8px;background-color:transparent;border:none;color:white;font-size:16px;cursor:pointer;z-index:1;"]);
|
|
26183
26187
|
var MessagesContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26184
26188
|
displayName: "Chat__MessagesContainer",
|
|
26185
|
-
componentId: "sc-1bk05n6-
|
|
26186
|
-
})(["flex-grow:1;overflow-y:auto;padding:
|
|
26189
|
+
componentId: "sc-1bk05n6-2"
|
|
26190
|
+
})(["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;}"]);
|
|
26187
26191
|
var Message = /*#__PURE__*/styled__default.div.withConfig({
|
|
26188
26192
|
displayName: "Chat__Message",
|
|
26189
|
-
componentId: "sc-1bk05n6-
|
|
26190
|
-
})(["margin-bottom:
|
|
26193
|
+
componentId: "sc-1bk05n6-3"
|
|
26194
|
+
})(["margin-bottom:6px;color:", ";font-family:'Press Start 2P',cursive;font-size:0.7rem;line-height:1.4;word-break:break-word;"], function (_ref2) {
|
|
26191
26195
|
var color = _ref2.color;
|
|
26192
26196
|
return color;
|
|
26193
26197
|
});
|
|
26194
26198
|
var Form = /*#__PURE__*/styled__default.form.withConfig({
|
|
26195
26199
|
displayName: "Chat__Form",
|
|
26196
|
-
componentId: "sc-1bk05n6-
|
|
26197
|
-
})(["display:flex;
|
|
26200
|
+
componentId: "sc-1bk05n6-4"
|
|
26201
|
+
})(["display:flex;padding:8px;background-color:#2a2a2a;"]);
|
|
26198
26202
|
var TextField = /*#__PURE__*/styled__default.input.withConfig({
|
|
26199
26203
|
displayName: "Chat__TextField",
|
|
26200
|
-
componentId: "sc-1bk05n6-
|
|
26201
|
-
})(["flex-grow:1;background-color
|
|
26204
|
+
componentId: "sc-1bk05n6-5"
|
|
26205
|
+
})(["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;}"]);
|
|
26202
26206
|
var SendButton = /*#__PURE__*/styled__default.button.withConfig({
|
|
26203
26207
|
displayName: "Chat__SendButton",
|
|
26204
|
-
componentId: "sc-1bk05n6-5"
|
|
26205
|
-
})(["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;}"]);
|
|
26206
|
-
var CloseButton = /*#__PURE__*/styled__default.button.withConfig({
|
|
26207
|
-
displayName: "Chat__CloseButton",
|
|
26208
26208
|
componentId: "sc-1bk05n6-6"
|
|
26209
|
-
})(["
|
|
26209
|
+
})(["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;}"]);
|
|
26210
26210
|
|
|
26211
26211
|
var _excluded$2 = ["innerRef"];
|
|
26212
26212
|
var Input = function Input(_ref) {
|
|
@@ -26616,7 +26616,7 @@ var Tab = /*#__PURE__*/styled__default.button.withConfig({
|
|
|
26616
26616
|
}, function (props) {
|
|
26617
26617
|
return props.active ? uiColors.orange : 'transparent';
|
|
26618
26618
|
}, function (props) {
|
|
26619
|
-
return props.active ? 'white' : uiColors.
|
|
26619
|
+
return props.active ? 'white' : uiColors.gray;
|
|
26620
26620
|
});
|
|
26621
26621
|
var PrivateChatContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
26622
26622
|
displayName: "ChatRevamp__PrivateChatContainer",
|