@rpg-engine/long-bow 0.7.24 → 0.7.26

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.7.24",
3
+ "version": "0.7.26",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -60,7 +60,7 @@ export const ChatRevamp: React.FC<IChatRevampProps> = ({
60
60
  onClick={chatHook.toggleExpand}
61
61
  />
62
62
  </TopBar>
63
- <PrivateChatContainer
63
+ <AllChatsContainer
64
64
  width={styles?.width || '80%'}
65
65
  height={styles?.height || 'auto'}
66
66
  isExpanded={chatHook.isExpanded}
@@ -120,7 +120,7 @@ export const ChatRevamp: React.FC<IChatRevampProps> = ({
120
120
  />
121
121
  </CollapsedChatInput>
122
122
  )}
123
- </PrivateChatContainer>
123
+ </AllChatsContainer>
124
124
  </ChatRevampContainer>
125
125
  );
126
126
  };
@@ -139,7 +139,7 @@ const TopBar = styled.div<{ isExpanded: boolean }>`
139
139
  min-height: ${({ isExpanded }) => (isExpanded ? 'auto' : '32px')};
140
140
  `;
141
141
 
142
- const PrivateChatContainer = styled.div<{
142
+ const AllChatsContainer = styled.div<{
143
143
  width: string;
144
144
  height: string;
145
145
  isExpanded: boolean;
@@ -20,7 +20,7 @@ export const ExpandButton: React.FC<ExpandButtonProps> = ({
20
20
  const StyledExpandButton = styled.button<{ isExpanded: boolean }>`
21
21
  position: absolute;
22
22
  top: 0;
23
- ${({ isExpanded }) => (isExpanded ? 'right: 0' : 'left: 0')};
23
+ ${({ isExpanded }) => (isExpanded ? 'right: 0' : 'left: 0.5rem')};
24
24
  width: 30px;
25
25
  height: 30px;
26
26
  background-color: ${uiColors.orange};