@linktr.ee/messaging-react 4.1.6-rc-1787175518 → 4.1.6-rc-1787176721
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": "@linktr.ee/messaging-react",
|
|
3
|
-
"version": "4.1.6-rc-
|
|
3
|
+
"version": "4.1.6-rc-1787176721",
|
|
4
4
|
"description": "React messaging components built on messaging-core for web applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"chromatic:local": "yarn storybook:build && chromatic"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@linktr.ee/messaging-core": "2.5.0-rc-
|
|
53
|
+
"@linktr.ee/messaging-core": "2.5.0-rc-1787176721",
|
|
54
54
|
"@linktr.ee/messaging-taxonomy": "^0.10.0",
|
|
55
55
|
"@phosphor-icons/react": "^2.1.10"
|
|
56
56
|
},
|
|
@@ -124,9 +124,16 @@ describe('CustomChannelPreview', () => {
|
|
|
124
124
|
expect(row).not.toHaveClass('bg-black/[0.04]')
|
|
125
125
|
expect(row).toHaveClass('hover:bg-black/[0.02]')
|
|
126
126
|
|
|
127
|
-
// Change unread only to force React.memo to rerender after the context change.
|
|
128
127
|
rerender(
|
|
129
|
-
<
|
|
128
|
+
<ChannelListProvider
|
|
129
|
+
value={{
|
|
130
|
+
selectedChannel: otherChannel,
|
|
131
|
+
onChannelSelect: defaultProps.onChannelSelect,
|
|
132
|
+
debug: false,
|
|
133
|
+
}}
|
|
134
|
+
>
|
|
135
|
+
<CustomChannelPreview {...defaultProps} channel={channel} unread={1} />
|
|
136
|
+
</ChannelListProvider>
|
|
130
137
|
)
|
|
131
138
|
expect(screen.getByRole('button')).toHaveClass('hover:bg-black/[0.02]')
|
|
132
139
|
})
|