Skip to content

feat(react): new component FileUpload#4540

Draft
oddvernes wants to merge 14 commits intomainfrom
feat/fileupload
Draft

feat(react): new component FileUpload#4540
oddvernes wants to merge 14 commits intomainfrom
feat/fileupload

Conversation

@oddvernes
Copy link
Collaborator

resolves #1236

@changeset-bot
Copy link

changeset-bot bot commented Feb 24, 2026

⚠️ No Changeset found

Latest commit: 9be2624

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 24, 2026

Preview deployments for this pull request:

storybook - 27. Feb 2026 - 09:19

@oddvernes oddvernes changed the title feat(react): FileUpload new component feat(react): new component FileUpload Feb 24, 2026
@oddvernes
Copy link
Collaborator Author

One issue I have encountered: because all the components are in one common @layer, placing FileUpload inside a Field causes .ds-field to overwrite styles on .ds-file-upload (being a label) due to usage of stronger selectors (:is()). For now I have solved this by repeating the class twice .ds-file-upload.ds-file-upload {} to get same specificity (0.2.0) and then it wins by being later in the css order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New component: Fileupload

1 participant