components icon indicating copy to clipboard operation
components copied to clipboard

chore: Adds disabled state to file input and file token group components

Open orangevolon opened this issue 6 months ago • 1 comments

Description

Adds disabled state to two components:

  • File input
  • File token group

Note on file token group: This component already has a similar property of readOnly which completely removes the dismiss button. The only difference between readOnly and disabled is that disabled keeps the dismiss button but disables it.

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

orangevolon avatar Jul 17 '25 09:07 orangevolon

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.62%. Comparing base (7fbd0fb) to head (54a37e7).

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3659    +/-   ##
========================================
  Coverage   96.62%   96.62%            
========================================
  Files         817      817            
  Lines       23782    23784     +2     
  Branches     8269     7914   -355     
========================================
+ Hits        22979    22981     +2     
- Misses        749      796    +47     
+ Partials       54        7    -47     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Jul 17 '25 12:07 codecov[bot]