@rpg-engine/long-bow 0.6.89 → 0.6.90
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 -1
- 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 -1
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChatRevamp/SearchCharacter.tsx +5 -1
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import { uiColors } from '../../constants/uiColors';
|
|
|
5
5
|
import { uiFonts } from '../../constants/uiFonts';
|
|
6
6
|
import { IStyles } from '../Chat/Chat';
|
|
7
7
|
import { Column } from '../shared/Column';
|
|
8
|
+
import { Ellipsis } from '../shared/Ellipsis';
|
|
8
9
|
import type { PrivateChatCharacter } from './ChatRevamp';
|
|
9
10
|
|
|
10
11
|
interface ISearchCharacterProps {
|
|
@@ -101,7 +102,10 @@ export const SearchCharacter = ({
|
|
|
101
102
|
<ListContainer>
|
|
102
103
|
{recentCharacters.map(character => (
|
|
103
104
|
<ListElement onPointerDown={() => handleCharacterClick(character)} key={character._id}>
|
|
104
|
-
|
|
105
|
+
<Ellipsis
|
|
106
|
+
maxWidth='150px'
|
|
107
|
+
maxLines={1}
|
|
108
|
+
>{character.name}</Ellipsis>
|
|
105
109
|
</ListElement>
|
|
106
110
|
))}
|
|
107
111
|
</ListContainer>
|