rusackas opened a new pull request #10627: URL: https://github.com/apache/incubator-superset/pull/10627
### SUMMARY <!--- Describe the change below, including rationale and design decisions --> This PR makes a few little tweaks to the Label component: 1) Removes a bunch of Emotion styles that weren't being used (seemingly copied from Button) 2) Adds a bunch of Emotion styles to pull the correct Theme color variables in 3) Makes it so that label colors only darken on hover if there's an onClick handler 4) Changes the cursor of the Label to 'pointer' if there's an onClick handler 5) Adds the "info" label to the Storybook 6) Breaks out the Gallery and Interactive parts of the storybook entry to different Stories for simplicity (I should do this with Button, too). This makes certain styling work better, particularly removing the `:first-child` left margins in this case. 7) Adds an "onClick action" knob to the interactive storybook entry ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> After: <img width="924" alt="Pasted_Image_8_17_20__11_05_PM" src="https://user-images.githubusercontent.com/812905/90476369-3c76c680-e0de-11ea-8612-415c2e8f5d62.png">   ### TEST PLAN <!--- What steps should be taken to verify the changes --> ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
