Skip to content

fix: component renames#3030

Merged
arnautov-anton merged 6 commits intomasterfrom
fix/component-renames
Mar 20, 2026
Merged

fix: component renames#3030
arnautov-anton merged 6 commits intomasterfrom
fix/component-renames

Conversation

@arnautov-anton
Copy link
Contributor

@arnautov-anton arnautov-anton commented Mar 19, 2026

🎯 Goal

Component Renames

Old Name New Name
ReactionsList MessageReactions
MessageSimple MessageUI
ChannelPreview ChannelListItem
ChannelPreviewMessenger ChannelListItemUI
ChannelPreviewActionButtons ChannelListItemActionButtons
ChannelPreviewTimestamp ChannelListItemTimestamp
MessageInput MessageComposer
MessageInputFlat MessageComposerUI

Type / Interface Renames

Old Name New Name
ReactionsListProps MessageReactionsProps
ChannelPreviewProps ChannelListItemProps
ChannelPreviewUIComponentProps ChannelListItemUIProps
ChannelPreviewActionButtonsProps ChannelListItemActionButtonsProps
ChannelPreviewTimestampProps ChannelListItemTimestampProps
MessageInputProps MessageComposerProps
MessageInputContextValue MessageComposerContextValue
MessageInputHookProps UseMessageComposerBindingsParams

Hook Renames

Old Name New Name
useChannelPreviewContext useChannelListItemContext
useMessageComposer useMessageComposerController
useMessageInputControls useMessageComposerBindings
useMessageInputContext useMessageComposerContext

Context Renames

Old Name New Name
MessageInputContext MessageComposerContext
MessageInputContextProvider MessageComposerContextProvider

ComponentContext Slot Renames

Old Slot New Slot
ReactionsList MessageReactions
ChannelPreviewActionButtons ChannelListItemActionButtons
Input MessageComposerUI

ComponentContext Slot Additions

New Slot Notes
ChannelListItemUI New slot; previously ChannelPreview accepted a Preview prop instead of using ComponentContext

Prop Renames

Component Old Prop New Prop
Thread additionalMessageInputProps additionalMessageComposerProps
MessageProps (incl. MessageList, VirtualizedMessageList) additionalMessageInputProps additionalMessageComposerProps

Other Breaking Changes

Removed Exports

Removed Export Type Notes
SimpleReactionsList Component Removed entirely (component deleted)
SimpleReactionsListProps Type Removed along with SimpleReactionsList

Removed Props

Component Removed Prop Notes
MessageComposerProps (was MessageInputProps) Input No longer accepts a custom input UI component via prop
MessageComposerProps (was MessageInputProps) isThreadInput Removed entirely
Thread Input Custom thread input UI component prop removed; use ComponentContext.MessageComposerUI instead

Removed ComponentContext Slots

Removed Slot Notes
ThreadInput Removed; thread now uses the same MessageComposerUI slot

Removed ChannelListItem Props (vs old ChannelPreview)

Removed Prop Notes
Preview ChannelListItem no longer accepts a Preview prop; the UI component is now sourced from ComponentContext.ChannelListItemUI

Removed ChannelListItemActionButtonsProps Props (vs old ChannelPreviewActionButtonsProps)

Removed Prop Notes
channel No longer passed as a prop; component reads channel from useChannelListItemContext() instead

BREAKING CHANGE: Renamed ReactionsList to MessageReactions, MessageSimple to MessageUI, ChannelPreview to ChannelListItem, ChannelPreviewMessenger to ChannelListItemUI, ChannelPreviewActionButtons to ChannelListItemActionButtons, ChannelPreviewTimestamp to ChannelListItemTimestamp, MessageInput to MessageComposer, MessageInputFlat to MessageComposerUI, useChannelPreviewContext to useChannelListItemContext, useMessageComposer to useMessageComposerController, useMessageInputControls to useMessageComposerBindings, useMessageInputContext to useMessageComposerContext, MessageInputContext to MessageComposerContext, MessageInputContextProvider to MessageComposerContextProvider, and additionalMessageInputProps to additionalMessageComposerProps; renamed ComponentContext slots ReactionsList to MessageReactions, ChannelPreviewActionButtons to ChannelListItemActionButtons, and Input to MessageComposerUI; added new ChannelListItemUI slot to ComponentContext (replacing the Preview prop on ChannelPreview); removed SimpleReactionsList component, ThreadInput slot from ComponentContext, Input and isThreadInput props from MessageComposerProps, and Input prop from Thread (use ComponentContext.MessageComposerUI instead); and renamed all associated prop types accordingly (ReactionsListProps to MessageReactionsProps, ChannelPreviewProps to ChannelListItemProps, ChannelPreviewUIComponentProps to ChannelListItemUIProps, ChannelPreviewActionButtonsProps to ChannelListItemActionButtonsProps, ChannelPreviewTimestampProps to ChannelListItemTimestampProps, MessageInputProps to MessageComposerProps, MessageInputContextValue to MessageComposerContextValue, MessageInputHookProps to UseMessageComposerBindingsParams).

@arnautov-anton arnautov-anton changed the title Fix/component renames fix!: component renames Mar 19, 2026
@github-actions
Copy link

github-actions bot commented Mar 19, 2026

Size Change: -453 B (-0.1%)

Total Size: 440 kB

Filename Size Change
./dist/cjs/index.js 236 kB -465 B (-0.2%)
./dist/css/index.css 46.5 kB -2 B (0%)
./dist/WithAudioPlayback-BFXBB1MF.js 0 B -88.2 kB (removed) 🏆
./dist/WithAudioPlayback-DFUL1p-R.js 88.2 kB +88.2 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size
./dist/audioProcessing-BbOs2wMd.js 1.32 kB
./dist/cjs/emojis.js 2.96 kB
./dist/cjs/mp3-encoder.js 1.27 kB
./dist/css/v2/emoji-mart.css 1.84 kB
./dist/css/v2/emoji-replacement.css 300 B
./dist/css/v2/index.css 39.4 kB
./dist/css/v2/index.layout.css 22.8 kB

compressed-size-action

@arnautov-anton arnautov-anton force-pushed the fix/component-renames branch 5 times, most recently from c415e34 to 018f4b4 Compare March 20, 2026 11:17
@arnautov-anton arnautov-anton force-pushed the fix/component-renames branch from 018f4b4 to f3b20c6 Compare March 20, 2026 11:34
@arnautov-anton arnautov-anton force-pushed the fix/component-renames branch from f3b20c6 to 8389a2e Compare March 20, 2026 11:35
@arnautov-anton arnautov-anton force-pushed the fix/component-renames branch from 8389a2e to 7eeacaf Compare March 20, 2026 12:37
@arnautov-anton arnautov-anton changed the title fix!: component renames fix: component renames Mar 20, 2026
@arnautov-anton arnautov-anton marked this pull request as ready for review March 20, 2026 13:11
@arnautov-anton arnautov-anton merged commit a563248 into master Mar 20, 2026
7 of 8 checks passed
@arnautov-anton arnautov-anton deleted the fix/component-renames branch March 20, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants