Skip to content
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

no highlight state for message prop #222

Merged
merged 1 commit into from
Apr 3, 2019
Merged

no highlight state for message prop #222

merged 1 commit into from
Apr 3, 2019

Conversation

l3satwik
Copy link
Contributor

@l3satwik l3satwik commented Apr 1, 2019

@l3satwik l3satwik requested review from azizhk and ritz078 April 1, 2019 08:07
@@ -105,7 +105,7 @@ class Input extends React.PureComponent<InputProps, InputState> {

const highlightClassName = cx(highlightStyle, {
_pebble_input_highlight_focused: isFocused,
_pebble_input_highlight_state: !!_message,
_pebble_input_highlight_state: !!errorMessage || !!successMessage,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be frank, I don't like these classnames because they cannot be tree shaken.
No need to change anything now, I am not sure of a solution that would work with emotion 10

@codecov
Copy link

codecov bot commented Apr 3, 2019

Codecov Report

Merging #222 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #222      +/-   ##
==========================================
+ Coverage   82.22%   82.24%   +0.01%     
==========================================
  Files          75       75              
  Lines        1097     1098       +1     
  Branches      200      201       +1     
==========================================
+ Hits          902      903       +1     
  Misses        174      174              
  Partials       21       21
Impacted Files Coverage Δ
src/components/Input.tsx 84.21% <100%> (+0.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9dcb63...7a12793. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Apr 3, 2019

Codecov Report

Merging #222 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #222      +/-   ##
==========================================
+ Coverage   82.22%   82.24%   +0.01%     
==========================================
  Files          75       75              
  Lines        1097     1098       +1     
  Branches      200      201       +1     
==========================================
+ Hits          902      903       +1     
  Misses        174      174              
  Partials       21       21
Impacted Files Coverage Δ
src/components/Input.tsx 84.21% <100%> (+0.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a9dcb63...7a12793. Read the comment docs.

@ritz078 ritz078 merged commit 93cfe79 into master Apr 3, 2019
@ritz078 ritz078 deleted the fix-input branch April 3, 2019 10:17
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.

None yet

3 participants