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
refactor(emojis): slim down the StreamEmojiPicker public API
`StreamEmojiPicker` is unreleased and `emoji-mart` is back as a deprecated engine,
so its emoji-mart-shaped option surface is no longer needed. Replace the `pickerProps`
bag with a small set of flat props and drop the low-value knobs.
- Remove the `pickerProps` object and the `warnUnsupportedPickerProps` machinery
(TypeScript now rejects unknown props); hoist the keepers to flat props: `theme`,
`style`, `categories`, `exceptEmojis`, `autoFocus`, `onClickOutside`.
- Drop the layout/cosmetic/niche knobs (`perLine`, `navPosition`, `previewPosition`,
`searchPosition`, `skinTonePosition`, `maxFrequentRows`, `previewEmoji`,
`noResultsEmoji`, `emojiVersion`, `noCountryFlags`). The panel now uses one fixed
layout and the column count is driven by the `--str-chat__emoji-picker-per-line`
CSS token (default 9).
- Delete `options.ts` and `hooks/pickerLayout.ts`; simplify `filterEmojiData` to
`exceptEmojis` only.
- Update the vite example (engine + auto-focus controls only), remove the now-dead
SCSS, and refresh the AI.md emoji docs.
Skin-tone and frequently-used props and the shell customization props are unchanged.
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.'
117
+
description='Switch between the Stream (native) and deprecated emoji-mart pickers. The live preview and the composer’s picker both update instantly.'
0 commit comments