feat: modernize progress indicators
维护者通常 7 天内回复
@adrcotfas 已经在做这个了。
开始于 2026年6月9日。
评估
这个 Issue 还没有评估数据。
描述
- Modernize progress indicators according to the MD3 Specs and reuse existing MD theme foundation tokens (motion, shape etc) where appropriate.
- Extract component tokens to a separate file for easier maintenance
Current State
Existing "Activity Indicator" and "Progress Bar" components correspond to MD3 Progress Indicators.
Activity Indicator
MD3 spec: Progress indicators (Circular)
Specs link: https://m3.material.io/components/progress-indicators/specs
Color tokens
- No track color. MD3 requires a track arc behind the indicator (token:
secondaryContainer); onlyprimaryis rendered
Spacing / sizing
- Stroke width is
size / 10(2.4dp @ small, 4.8dp @ large). MD3 specifies a fixed 4dp stroke for both indicator and track
Behavior
- Arc ends are square (border clipping technique). MD3 requires rounded stroke caps
- No track rendered. MD3 always shows the inactive track arc
- M3 Expressive wavy circular and linear indicators not implemented
Notes
- Rename to match MD3:
CircularProgressIndicatorand move to a “Progress Indicators” directory together with Linear Progress Indicator. - Entire rendering approach is MD2-era (two clipped half-border views). MD3-compliant implementation needs SVG or canvas-based arc for rounded caps and track
Progress Bar
MD3 spec: Linear progress indicator
Specs link: https://m3.material.io/components/progress-indicators/specs
Color tokens
- Active indicator:
color || theme.colors.primary✅ - Track:
theme.colors.surfaceVariant; spec requiressecondaryContainer❌ - No stop indicator rendered; spec defines a stop indicator at 100% (color
primary)
Spacing / sizing
- Height: 4dp ✅
- Track has no
borderRadius; speccorner.fullrequiresborderRadius: 2for 4dp height - Active indicator fill has no
borderRadius; same issue as track - No 4dp horizontal inset from screen edges; spec shows 4dp padding on each side
- Configurable thickness not supported (M3 Expressive)
- Wavy shape (amplitude 3dp, wavelength 40dp, height 10dp) not supported (M3 Expressive)
Behavior
- Determinate mode: progress value animates via
scaleX✅ - Indeterminate mode: looping translate + scaleX animation ✅
- Visibility fade in/out ✅
- RTL support ✅
- Stop indicator not shown at the end of the track
Notes
- Should be renamed
LinearProgressIndicatorand placed in a sharedProgressIndicator/directory alongsideActivityIndicator(circular), matching MD3 naming ProgressBarname and thecolorprop (which bypasses the token system) are library-level issues to address at rename time
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 6 天 12 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstack/react-native-paper 的其他 Issue
-
Menu ignores the keyboard when it mounts while the keyboard is already open可能已有人在做 @manchoudhary 于 22 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
callstack/react-native-paper#5096 ·
维护者通常 7 天内回复
-
Color Picker Popup Is Obscured On "Guides -> Theming -> Creating Dynamic Theme Colors" Documentation On Both v5 and v6可能已有人在做 @fatihcvs 于 17 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
callstack/react-native-paper#5093 ·
维护者通常 7 天内回复
-
Tooltip: onPress event object is not propagated to parent component on native可能已有人在做 @Shevilll 于 108 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 74/100
callstack/react-native-paper#5003 ·
维护者通常 7 天内回复
-
Snackbar stays mounted after `visible=false` under new architecture (iOS + Android)可能已有人在做 @momomuchu 于 96 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
callstack/react-native-paper#4951 ·
维护者通常 7 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
callstack/react-native-paper#4881 ·
维护者通常 7 天内回复
查看 callstack/react-native-paper 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
area:ui enhancement issue-form:feature platform:cross-platform review: high
难度 2/5 1-3 小时 新手友好度 72/100
1lck/Lithe-IDEA#1092 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
developmentseed/deck.gl-raster#693 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
Marker-Inc-Korea/AutoRAG#1801 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复