designsystemet
designsystemet copied to clipboard
feat: input
- Fixing #2553
- Part of #2311
-
NOTE:
read-onlydesign is changing, this is therefore a bit weird in this version - Make standalone
<Input> - Adds support for
type="radio"andtype="checkbox" - Adds support for
role="switch" - Documentation for standalone components should be discussed with the team (#2566) and not solved in this PR
⚠️ No Changeset found
Latest commit: 966398194b857f614853abf8af6a3bee227f0dab
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Coverage Report
| Status | Category | Percentage | Covered / Total |
|---|---|---|---|
| 🔵 | Lines | 59.42% | 3758 / 6324 |
| 🔵 | Statements | 59.42% | 3758 / 6324 |
| 🔵 | Functions | 85.93% | 165 / 192 |
| 🔵 | Branches | 75.36% | 517 / 686 |
File Coverage
| File | Stmts | % Branch | % Funcs | % Lines | Uncovered Lines |
|---|---|---|---|---|---|
| Changed Files | |||||
| packages/react/src/components/form/Input/Input.tsx | 85% | 100% | 50% | 85% | 47-49 |
| packages/react/src/components/form/Input/InputAffix.tsx | 58.33% | 100% | 0% | 58.33% | 13-14, 16, 21-22 |