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

reactackle-icons #56

Merged
merged 13 commits into from
Nov 3, 2017
Merged

reactackle-icons #56

merged 13 commits into from
Nov 3, 2017

Conversation

nickmaltsev
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 92.848% when pulling eefca6c on icons into 452b3fc on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 92.848% when pulling 6853104 on icons into 452b3fc on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 92.882% when pulling 9045822 on icons into 452b3fc on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 92.882% when pulling e3fb07a on icons into d484f22 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 92.882% when pulling 34069c0 on icons into d484f22 on master.

/** Set icon type */
type: PropTypes.oneOf(['font-awesome', 'library']),
}),
icon: PropTypes.node,
Copy link
Contributor

Choose a reason for hiding this comment

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

Change prop type to PropTypes.element

@@ -139,14 +137,14 @@ const kindProps = ({ colorScheme, outlined, theme: themeFromProvider }) => {
const borderWidth = theme.reactackle.components.button.borderWidth;
const borderStyle = theme.reactackle.components.button.borderStyle;

return css`
return css`
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove trailing spaces

size: bmodule(2),
imgSize: null,
// eslint-disable-next-line react/display-name
src: () => <IconCheck size="custom" color="currentColor" />,
Copy link
Contributor

Choose a reason for hiding this comment

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

src must be a react element, not a component

height: null,
imgSize: 24,
// eslint-disable-next-line react/display-name
iconSrc: () => <IconCross size="custom" color="inherit" />,
Copy link
Contributor

Choose a reason for hiding this comment

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

iconSrc must be a react element, not a component

},
iconTextSpacing: bmodule(0.5),
// eslint-disable-next-line react/display-name
src: () => <IconArrowDropDown size="custom" color="inherit" />,
Copy link
Contributor

Choose a reason for hiding this comment

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

src must be a react element, not a component

@@ -496,8 +486,9 @@ class _TextField extends Component {
dense={this.props.dense}
fullWidth={this.props.fullWidth}
colorScheme={this.props.colorScheme}
type="svg"
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove props IconInnerStyled doesn't support

@@ -18,7 +18,7 @@ const propTypes = {
/**
* Add icon behind textfield
*/
iconOuter: PropTypes.string,
iconOuter: PropTypes.object,
Copy link
Contributor

Choose a reason for hiding this comment

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

iconOuter is PropTypes.element

@@ -34,7 +34,7 @@ const propTypes = {
/**
* Add icon behind textfield
*/
iconOuter: PropTypes.string,
iconOuter: PropTypes.object,
Copy link
Contributor

Choose a reason for hiding this comment

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

iconOuter is PropTypes.element

@@ -15,7 +15,7 @@ const propTypes = {
colorScheme: PropTypes.oneOf(['neutral', 'error', 'success']),
labelPosition: PropTypes.oneOf(['top', 'side']),
slidingLabel: PropTypes.bool,
iconOuter: PropTypes.string,
iconOuter: PropTypes.object,
Copy link
Contributor

Choose a reason for hiding this comment

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

iconOuter is PropTypes.element

/* eslint-disable react/display-name */
clearingIcon: () => <IconCross size="custom" color="inherit" />,
passwordIconShow: () => <IconEye size="custom" color="inherit" />,
passwordIconHide: () => <IconEyeClosed size="custom" color="inherit" />,
Copy link
Contributor

Choose a reason for hiding this comment

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

elements, not components!

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 92.871% when pulling 632b7fd on icons into d484f22 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 92.871% when pulling 632b7fd on icons into d484f22 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 92.871% when pulling 16f12ed on icons into d484f22 on master.

@dmitriy-bizyaev dmitriy-bizyaev merged commit 45a4d06 into master Nov 3, 2017
@dmitriy-bizyaev dmitriy-bizyaev deleted the icons branch November 3, 2017 09:54
d-slabunov pushed a commit to d-slabunov/reactackle that referenced this pull request Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants