You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(emojis): add StreamEmojiPicker and deprecate emoji-mart EmojiPicker
Introduce `StreamEmojiPicker`, the built-in (emoji-mart-free) picker, as the
recommended successor exported from `stream-chat-react/emojis`. The existing
`EmojiPicker` keeps rendering the emoji-mart picker unchanged for backwards
compatibility — now marked `@deprecated` with a one-time console warning. It
and the optional emoji-mart peer dependencies are scheduled for removal in v15.
- `EmojiPicker.tsx` remains the emoji-mart engine (history preserved) and warns
once, pointing at `StreamEmojiPicker`.
- `StreamEmojiPicker.tsx` is the built-in successor (new file): native React
panel, in-house search index, vendored dataset, curated `pickerProps`.
- Re-add `@emoji-mart/data`, `@emoji-mart/react`, `emoji-mart` as OPTIONAL peer
dependencies (removed entirely in v15).
- vite example: the settings pane gains a picker-engine toggle (Stream vs
emoji-mart) that drives both the composer picker and the live preview; the
shared option controls exercise both engines.
- Examples and `AI.md` recommend `StreamEmojiPicker` and document the migration.
Everything here is additive or a soft-deprecation — no breaking changes; the
breaking removal lands in v15. Message reactions are unaffected: the extended
set loads from the vendored dataset via `loadDefaultExtendedReactionOptions`
(no emoji-mart install required), code-split and fetched on demand.
description='Configure the built-in EmojiPicker via pickerProps. The live preview and the composer’s picker both update instantly.'
121
+
description='Switch between the Stream (native) and deprecated emoji-mart pickers, and configure pickerProps. The live preview and the composer’s picker both update instantly.'
0 commit comments