Issue: Improve UmbralProgressIndicator
Overview
Enhance the progress indicator component with multiple animation variants and create a determinate progress bar component.
PRD Reference
Section B2.3: UmbralProgressIndicator
Acceptance Criteria
UmbralProgressIndicator (Indeterminate)
UmbralProgressBar (Determinate)
General
Visual Reference
Circular:
◠
◞ ◟ (spinning)
◡
Dots:
• • • (scaling staggered)
↑ ↑ ↑
each scales up then down in sequence
Pulse:
( • ) (expanding and contracting)
Progress Bar:
████████░░░░░░░░░░░░ 40%
Implementation Notes
- Use
InfiniteTransition for continuous animations
- Dots should have delay between each (staggered effect)
- Progress bar should use
animateFloatAsState for smooth changes
- Consider performance on lower-end devices
File Location
app/src/main/java/com/umbral/presentation/ui/components/feedback/UmbralProgressIndicator.kt
Dependencies
- Motion.kt (01-motion-tokens)
- Phase 1 color tokens
Part of Epic #80
Issue: Improve UmbralProgressIndicator
Overview
Enhance the progress indicator component with multiple animation variants and create a determinate progress bar component.
PRD Reference
Section B2.3: UmbralProgressIndicator
Acceptance Criteria
UmbralProgressIndicator (Indeterminate)
modifier: Modifiervariant: ProgressVariant(Circular, Dots, Pulse)accentPrimaryUmbralProgressBar (Determinate)
progress: Float(0f to 1f)modifier: ModifierborderDefaultaccentPrimaryGeneral
Visual Reference
Implementation Notes
InfiniteTransitionfor continuous animationsanimateFloatAsStatefor smooth changesFile Location
app/src/main/java/com/umbral/presentation/ui/components/feedback/UmbralProgressIndicator.ktDependencies
Part of Epic #80