kirill-grouchnikov/radiance

[Component] Revisit circular progress indicators

Closed this issue · 0 comments

Issues:

  • Only indeterminate circular progress indicator is supported
  • The size attribute in its presentation model is not the most intuitive API
  • Default stroke width and stroke cap are a but outdated

Changes:

  • Add support for determinate circular progress indicator. This is a breaking change, as existing CircularProgressProjection will be renamed to CircularIndeterminateProgressProjection, along with content model
  • Change size in ProgressCircularPresentationModel to radius
  • Update default stroke to 2.0dp
  • Update stroke cap to Round