-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(file-input): add file input component #1373
Conversation
Thank you, 🤖 Clarity Release Bot |
This commit deprecates the previous `.clr-file-wrapper` styles due to design changes. The component uses separate `.clr-file-input-wrapper` styles. There is a visual bug with the helper and error/success text in the compact layout. This is a existing bug that exists will all of the form controls. We will address this separately. CDE-1668
02a472f
to
14bd45a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR introduces visual changes: 4b3e87b
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-16.x 16.x
# Navigate to the new working tree
cd .worktrees/backport-16.x
# Create a new branch
git switch --create backport-1373-to-16.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 7a61bf4302d1c77cb00448570cfa0d066687974d
# Push it to GitHub
git push --set-upstream origin backport-1373-to-16.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-16.x Then, create a pull request where the |
This is a port of 7a61bf4 (#1373) to 16.x. This commit introduces the file input/picker component. The previous undocumented `.clr-file-wrapper` styles are now deprecated due to design changes. The component uses separate `.clr-file-input-wrapper` styles, and these styles supersede the deprecated styles for CSS-only implementations. CDE-1668
This is a port of 7a61bf4 (#1373) to 16.x. This commit introduces the file input/picker component. The previous undocumented `.clr-file-wrapper` styles are now deprecated due to design changes. The component uses separate `.clr-file-input-wrapper` styles, and these styles supersede the deprecated styles for CSS-only implementations. CDE-1668
🎉 This PR is included in version 17.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Please update the component documentation(https://clarity.design) as well. |
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary. |
PR Checklist
PR Type
Feature
What is the new feature?
Introduce file input component. Only the basic mode is implemented. The advanced mode will be added later.
Issue Number: CDE-1668
Does this PR introduce a breaking change?
No.
Other information
.clr-file-wrapper
styles due to design changes. The component uses separate.clr-file-input-wrapper
styles, and these styles supersede the deprecated styles for CSS-only implementations.