spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Bug]: "progress" properties in components should be called "value"

Open larz0 opened this issue 1 year ago • 1 comments
trafficstars

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

Meter, Progress, and Progress Circle

Expected behavior

"progress" properties in Meter, Progress, and Progress Circle should be called "value" to match HTML and React Spectrum.

Actual behavior

"value" properties are currently called "progress".

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. Go to '...'
  2. Click on '....'
  3. Scroll to '....'
  4. Check console
  5. See error

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

larz0 avatar Mar 26 '24 23:03 larz0

Note than any changes looking to address this will need to support a deprecation period for the progress property in this elements and should also support a Dev Mode warning to support teams understanding that this usage needs to be updated in their applications.

Westbrook avatar Mar 27 '24 16:03 Westbrook