-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(react): added disabled prop to file uploader #10613
feat(react): added disabled prop to file uploader #10613
Conversation
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: 3576f17 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/62053551552ed90007d85317 😎 Browse the preview: https://deploy-preview-10613--carbon-react-next.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 05e7d65 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/61f9c4c348bcd0000899e963 😎 Browse the preview: https://deploy-preview-10613--carbon-components-react.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 05e7d65 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/61f9c4c35266ae0007035104 😎 Browse the preview: https://deploy-preview-10613--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 3576f17 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/6205355147fac30007cd85f0 😎 Browse the preview: https://deploy-preview-10613--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 3576f17 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/62053551b5530a0007af6516 😎 Browse the preview: https://deploy-preview-10613--carbon-components-react.netlify.app |
…nerS/carbon into tanner_addDisabledPropToFileUploader
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.
Im getting a flash of incorrect styling on the dotted box when i mouse out on Firefox latest. Also I'm tapping in a designer here to make sure the styles are above board given we're not working off of a triaged issue ticket.
Hello, may i know what dotted line you are referring too? and let me know how I can help |
@dakahn ^ |
the dotted line surrounding the drop zone for files. on mouse out theres a flash of incorrect styling |
Hey @dakahn my code should have only touched the file uploader not the drop and drag one unless I made a mistake? I will review if my code somehow affected that however too! |
@TannerS nope, you're right. disregard my comment. looks like its a bug in the stable version 🤦🏾 |
@dakahn got ya, thanks for that @tay1orjones I hit re-review by mistake, just a fyi its asking you to re-approval |
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.
Looks good, thank you for contributing! ✅
Closes #
Not an issue but mentioned here https://ibm-cloudplatform.slack.com/archives/C0M053VPT/p1643384630118300
Changelog
New
Added disable prop to
FileUploader
and disabled styles to its label description and label text div elementsTesting / Reviewing
Verified in storybook, if unit test are needed, any feedback is appreciated