callstack / callstack/react-native-paper
feat: add Connected Button Group
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
According to the specs, the SegmentedButton is deprecated and replaced by Connected Button Group.
- Implement the new component according to specs: https://m3.material.io/components/button-groups/overview
- Reuse newly introduced tokens (shape, motion, typography, color etc)
- Extract component specific tokens for easier maintenance.
- Get inspired from TextInput/TextField, Switch, Checkbox, FAB components which have gone through modernization.
Related tasks:
- https://github.com/callstack/react-native-paper/issues/4936
- https://github.com/callstack/react-native-paper/issues/4928 (has a PR open already and we should reuse logic from there in this new component)
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the Material 3 Button Groups specification and the related issue #4928, including its open pull request, to identify reusable logic. Then review the modernization patterns in TextInput/TextField, Switch, Checkbox, and FAB. Done means a Connected Button Group component is implemented to the specification with the relevant shared and component-specific tokens.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- design, frontend, mobile
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100