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: introduce extended reaction list to a reactions detail component (#3100)
https://www.figma.com/design/Us73erK1xFNcB5EH3hyq6Y/Chat-SDK-Design-System?node-id=4305-171859&m=dev
<img width="316" height="289" alt="Screenshot 2026-04-09 at 4 32 29 PM"
src="https://github.com/user-attachments/assets/fe10e4e2-a281-4f38-817f-12f43bafb06a"
/>
### New `ComponentContext` slot: `ReactionSelectorExtendedList`
A new optional component override has been added to
`ComponentContextValue`:
```ts
ReactionSelectorExtendedList?: React.ComponentType<
ComponentProps<(typeof ReactionSelector)['ExtendedList']>
>;
```
This allows consumers to replace the extended reaction list UI (the grid
of all available reactions) independently of the `ReactionSelector`
component itself. Both `ReactionSelector` and `MessageReactionsDetail`
now consume this slot from context, falling back to
`ReactionSelector.ExtendedList` when not provided. Pass it via `<Channel
ReactionSelectorExtendedList={YourComponent} />`.
### Bug fix: `reactionDetailsSort` prop now forwarded to
`MessageReactionsDetail`
The `reactionDetailsSort` prop on `MessageReactions` was accepted but
silently ignored (the destructured value was unused, suppressed with an
eslint-disable comment). It is now correctly forwarded to the
`MessageReactionsDetail` child component, meaning custom sort orders for
the reaction detail user list will take effect.
### New i18n key: `"Add reaction"`
A new translatable string `"Add reaction"` has been added to all 12
locale files. It is used as the `aria-label` on the "add reaction"
button inside `MessageReactionsDetail`. Custom translation bundles
should include this key.
### Styling changes
Three CSS changes in `MessageReactionsDetail.scss`:
1. **Fade overlay height** increased from `var(--size-12)` to
`var(--size-16)`.
2. **Fade overlay gradient** changed from a hardcoded `rgba(0,0,0,0.1)`
to `var(--background-core-elevation-0)`, making it theme-aware.
3. **Reaction type list horizontal padding** changed from
`var(--spacing-xs)` to `var(--spacing-md)`.
Consumers who override these styles with selectors targeting
`.str-chat__message-reactions-detail` descendants may need to adjust.
0 commit comments