-
Notifications
You must be signed in to change notification settings - Fork 376
feat(MultipleFileUpload): update for penta #10031
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(MultipleFileUpload): update for penta #10031
Conversation
|
Preview: https://patternfly-react-pr-10031.surge.sh A11y report: https://patternfly-react-pr-10031-a11y.surge.sh |
| <div className="pf-v5-c-multiple-file-upload__status-progress-icon">{icon}</div> | ||
| <div className="pf-v5-c-multiple-file-upload__status-progress-text">{statusToggleText}</div> |
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.
Changed to hardcoded classes for now as I think the styling for these classes will likely be removed for #6247, which will make them unavailable on the styles object.
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.
Rather than hardcoding the whole class:
| <div className="pf-v5-c-multiple-file-upload__status-progress-icon">{icon}</div> | |
| <div className="pf-v5-c-multiple-file-upload__status-progress-text">{statusToggleText}</div> | |
| <div className={`${styles.multipleFileUpload}__status-progress-icon`}>{icon}</div> | |
| <div className={`${styles.multipleFileUpload}__status-progress-text`}>{statusToggleText}</div> |
Should work
thatblindgeye
left a comment
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.
Couple comments below, otherwise lgtm
| <div className="pf-v5-c-multiple-file-upload__status-progress-icon">{icon}</div> | ||
| <div className="pf-v5-c-multiple-file-upload__status-progress-text">{statusToggleText}</div> |
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.
Rather than hardcoding the whole class:
| <div className="pf-v5-c-multiple-file-upload__status-progress-icon">{icon}</div> | |
| <div className="pf-v5-c-multiple-file-upload__status-progress-text">{statusToggleText}</div> | |
| <div className={`${styles.multipleFileUpload}__status-progress-icon`}>{icon}</div> | |
| <div className={`${styles.multipleFileUpload}__status-progress-text`}>{statusToggleText}</div> |
Should work
| </div> | ||
| {/* TODO: Update with issue #9997. Removed class "styles.multipleFileUploadStatusItemClose" that no longer exists */} | ||
| <div> | ||
| <div className="pf-v5-c-multiple-file-upload__status-item-close"> |
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.
Similar to above
lboehling
left a comment
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!
thatblindgeye
left a comment
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.
css wise 👍🏼
What: Closes #9997
Additional issues:
Convenience link: https://patternfly-react-pr-10031.surge.sh/components/file-upload/multiple-file-upload