Skip to content

feat: introduce button variant props#2969

Merged
MartinCupela merged 9 commits intomasterfrom
feat/button-variant-props
Feb 26, 2026
Merged

feat: introduce button variant props#2969
MartinCupela merged 9 commits intomasterfrom
feat/button-variant-props

Conversation

@MartinCupela
Copy link
Contributor

🎯 Goal

Closes REACT-812: Add styling variant properties to Button - primary / secondary / danger vs outline/ghost/solid etc.

Make the Button component variant specification more DX friendly by introducing props instead of having to learn class names to achieve certain styling variant.

MartinCupela and others added 9 commits February 24, 2026 17:44
- Render FloatingDateSeparator
- Add NewMessageNotification as standalone component at bottom of message list
- Style NewMessageNotification per Figma (pill, design tokens)
- Remove MessageNotification from MessageListNotifications; simplify props to { notifications }
- Move isNotAtLatestMessageSet visibility logic into ScrollToLatestMessageButton
- Rename ScrollToBottomButton to ScrollToLatestMessageButton
- Replace ComponentContext.MessageNotification with NewMessageNotification
- Remove "Latest Messages" string and related i18n entries
# Conflicts:
#	src/components/MessageList/styling/MessageList.scss
Co-authored-by: Cursor <cursoragent@cursor.com>
…nsumers

Co-authored-by: Cursor <cursoragent@cursor.com>
# Conflicts:
#	src/components/Badge/Badge.tsx
#	src/components/MessageList/ScrollToLatestMessageButton.tsx
#	src/components/MessageList/UnreadMessagesNotification.tsx
#	src/components/MessageList/UnreadMessagesSeparator.tsx
#	src/components/MessageList/VirtualizedMessageList.tsx
#	src/components/MessageList/styling/ScrollToLatestMessageButton.scss
@github-actions
Copy link

Size Change: +174 B (+0.04%)

Total Size: 407 kB

Filename Size Change
./dist/Channel-BzGCkDwP.js 20.9 kB +20.9 kB (new file) 🆕
./dist/Channel-CwMF3RD_.js 0 B -20.7 kB (removed) 🏆
./dist/cjs/index.js 207 kB -26 B (-0.01%)
ℹ️ View Unchanged
Filename Size
./dist/audioProcessing-BbOs2wMd.js 1.32 kB
./dist/ChannelPreview-BwtNdnX8.js 7.15 kB
./dist/cjs/emojis.js 2.97 kB
./dist/cjs/experimental.js 3.62 kB
./dist/cjs/mp3-encoder.js 1.27 kB
./dist/css/index.css 35.3 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
./dist/limits-CJu8Wl1A.js 62.6 kB

compressed-size-action

@MartinCupela MartinCupela merged commit 2a4eabd into master Feb 26, 2026
4 of 5 checks passed
@MartinCupela MartinCupela deleted the feat/button-variant-props branch February 26, 2026 09:28
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