designsystemet icon indicating copy to clipboard operation
designsystemet copied to clipboard

feat: input

Open eirikbacker opened this issue 1 year ago • 3 comments

  • Fixing #2553
  • Part of #2311
  • NOTE: read-only design is changing, this is therefore a bit weird in this version
  • Make standalone <Input>
  • Adds support for type="radio" and type="checkbox"
  • Adds support for role="switch"
  • Documentation for standalone components should be discussed with the team (#2566) and not solved in this PR

eirikbacker avatar Oct 01 '24 19:10 eirikbacker

⚠️ 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

changeset-bot[bot] avatar Oct 01 '24 19:10 changeset-bot[bot]

Preview deployments for this pull request:

Storybook - 11. Oct 2024 - 11:11

github-actions[bot] avatar Oct 01 '24 19:10 github-actions[bot]

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
Generated in workflow #310 for commit 9663981 by the Vitest Coverage Report Action

github-actions[bot] avatar Oct 03 '24 12:10 github-actions[bot]