@rpg-engine/long-bow 0.3.23 → 0.3.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/long-bow",
3
- "version": "0.3.23",
3
+ "version": "0.3.25",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -99,7 +99,6 @@ export const Chat: React.FC<IChatProps> = ({
99
99
  id="inputMessage"
100
100
  onChange={e => getInputValue(e.target.value)}
101
101
  height={20}
102
- className="chat-input dark-background"
103
102
  type="text"
104
103
  autoComplete="off"
105
104
  onFocus={onFocus}
@@ -113,7 +112,7 @@ export const Chat: React.FC<IChatProps> = ({
113
112
  id="chat-send-button"
114
113
  style={{ borderRadius: '20%' }}
115
114
  >
116
- <CiPaperplane size={20} />
115
+ <CiPaperplane size={15} />
117
116
  </Button>
118
117
  </Column>
119
118
  </Form>
@@ -139,22 +138,22 @@ interface IButtonProps {
139
138
  const ChatContainer = styled.div<IContainerProps>`
140
139
  height: ${props => props.height};
141
140
  width: ${({ width }) => width};
142
- border-radius: 10px;
143
- padding: 40px 30px;
141
+ padding: 10px;
144
142
  margin-top: 100px;
145
- box-shadow: -3px -3px 9px #aaa9a9a2, 3px 3px 7px rgba(147, 149, 151, 0.671);
143
+ background-color: rgba(0, 0, 0, 0.2);
146
144
  `;
147
145
 
148
146
  const TextField = styled.input`
149
147
  width: 100%;
150
- border-radius: 10px;
151
- box-shadow: -3px -3px 9px #aaa9a9a2, 3px 3px 7px rgba(147, 149, 151, 0.671);
148
+ background-color: rgba(0, 0, 0, 0.25) !important;
149
+ border: none !important;
150
+ max-height: 28px !important;
152
151
  `;
153
152
 
154
153
  const MessagesContainer = styled.div`
155
- overflow: hidden;
154
+ overflow-x: scroll;
156
155
  height: 70%;
157
- margin-bottom: 20px;
156
+ margin-bottom: 10px;
158
157
  `;
159
158
 
160
159
  const Message = styled.div<IMessageProps>`
@@ -172,6 +171,7 @@ const Form = styled.form`
172
171
  const Button = styled.button<IButtonProps>`
173
172
  color: ${({ buttonColor }) => buttonColor};
174
173
  background-color: ${({ buttonBackgroundColor }) => buttonBackgroundColor};
175
- width: 50px;
176
- height: 40px;
174
+ width: 28px;
175
+ height: 28px;
176
+ border: none !important;
177
177
  `;