@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/dist/long-bow.cjs.development.js +4 -4
- 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 +4 -4
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChatRevamp/ChatRevamp.tsx +3 -3
- package/src/components/ChatRevamp/ExpandButton.tsx +1 -1
package/package.json
CHANGED
|
@@ -60,7 +60,7 @@ export const ChatRevamp: React.FC<IChatRevampProps> = ({
|
|
|
60
60
|
onClick={chatHook.toggleExpand}
|
|
61
61
|
/>
|
|
62
62
|
</TopBar>
|
|
63
|
-
<
|
|
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
|
-
</
|
|
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
|
|
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};
|