From 9e6c7050fda851b25513d13d0bf40d7511b97d17 Mon Sep 17 00:00:00 2001 From: Conor Cafferkey Date: Wed, 6 Mar 2019 11:03:43 +0100 Subject: [PATCH 1/2] Disabled TravisCI (temporarily) since we removed the tests --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index be7e302e..541972bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +if: branch = master language: node_js node_js: - 8.15.0 From b8cf5daa35945df614a368603c57ca068e25f13f Mon Sep 17 00:00:00 2001 From: Damian Rodriguez Date: Wed, 6 Mar 2019 14:22:39 +0100 Subject: [PATCH 2/2] remnove forcehover --- src/DatePicker/DatePickerItem.jsx | 2 -- src/DateTimeInput/index.jsx | 1 - src/DefaultTheme.js | 5 ----- src/IconButton/index.jsx | 5 ----- src/PasswordInput/index.jsx | 5 ----- src/TextInputWithIcon/index.jsx | 7 ------- 6 files changed, 25 deletions(-) diff --git a/src/DatePicker/DatePickerItem.jsx b/src/DatePicker/DatePickerItem.jsx index d6f96818..f6cbbc57 100644 --- a/src/DatePicker/DatePickerItem.jsx +++ b/src/DatePicker/DatePickerItem.jsx @@ -48,7 +48,6 @@ DatePickerItem.propTypes = { children : PropTypes.node, className : PropTypes.string, cssMap : PropTypes.objectOf( PropTypes.string ), - forceHover : PropTypes.bool, isDisabled : PropTypes.bool, isSelected : PropTypes.bool, label : PropTypes.string, @@ -61,7 +60,6 @@ DatePickerItem.defaultProps = { children : undefined, className : undefined, cssMap : undefined, - forceHover : false, isDisabled : false, isSelected : false, label : undefined, diff --git a/src/DateTimeInput/index.jsx b/src/DateTimeInput/index.jsx index 6f24d0b5..26f9ce15 100644 --- a/src/DateTimeInput/index.jsx +++ b/src/DateTimeInput/index.jsx @@ -556,7 +556,6 @@ const DateTimeInput = React.forwardRef( ( props, ref ) => autoComplete = "off" autoCorrect = "off" className = { className } - forceHover = { isOpen } hasError = { hasError } iconType = "calendar" id = { id } diff --git a/src/DefaultTheme.js b/src/DefaultTheme.js index d8d5ad95..2ba86af3 100644 --- a/src/DefaultTheme.js +++ b/src/DefaultTheme.js @@ -48,7 +48,6 @@ export default { 'default', { disabled : props.isDisabled, - fakeHovered : props.forceHover, loading : props.isLoading && !props.isDisabled, }, `iconPosition__${props.iconPosition}`, @@ -74,7 +73,6 @@ export default { { disabled : props.isDisabled, error : !props.isDisabled && props.hasError, - fakeHovered : !props.isDisabled && props.forceHover, }, props.className, ), @@ -104,7 +102,6 @@ export default { 'default', { disabled : props.isDisabled, - fakeHovered : props.forceHover, selected : props.isSelected, }, `type__${props.type}`, @@ -148,7 +145,6 @@ export default { { background : props.hasBackground, disabled : props.isDisabled, - fakeHovered : props.forceHover, }, `role__${props.role}`, `size__${props.size}`, @@ -323,7 +319,6 @@ export default { TimeInput : props => ( { main : classNames.bind( timeInputClasses )( 'default', - { fakeHovered: props.forceHover }, props.className, ), ...timeInputClasses, diff --git a/src/IconButton/index.jsx b/src/IconButton/index.jsx index 26577c9c..c5b9787a 100644 --- a/src/IconButton/index.jsx +++ b/src/IconButton/index.jsx @@ -77,10 +77,6 @@ IconButton.propTypes = * Label text (overrides label prop) */ children : PropTypes.string, - /** - * Display as hover when required from another component - */ - forceHover : PropTypes.bool, /** * Adds a background to the icon */ @@ -129,7 +125,6 @@ IconButton.defaultProps = children : undefined, className : undefined, cssMap : undefined, - forceHover : false, hasBackground : false, iconSize : 'S', iconType : undefined, diff --git a/src/PasswordInput/index.jsx b/src/PasswordInput/index.jsx index 148d535f..3008ff7f 100644 --- a/src/PasswordInput/index.jsx +++ b/src/PasswordInput/index.jsx @@ -95,10 +95,6 @@ PasswordInput.propTypes = * Default input string value */ defaultValue : PropTypes.string, - /** - * Display as hover when required from another component - */ - forceHover : PropTypes.bool, /** * Display as error/invalid */ @@ -163,7 +159,6 @@ PasswordInput.defaultProps = className : undefined, cssMap : undefined, defaultValue : undefined, - forceHover : false, hasError : false, iconButtonIsDisabled : undefined, iconPosition : 'right', diff --git a/src/TextInputWithIcon/index.jsx b/src/TextInputWithIcon/index.jsx index d189a1ee..b4afbcea 100644 --- a/src/TextInputWithIcon/index.jsx +++ b/src/TextInputWithIcon/index.jsx @@ -27,7 +27,6 @@ const TextInputWithIcon = ( props ) => autoComplete, autoCorrect, defaultValue, - forceHover, hasError, iconButtonIsDisabled, iconPosition, @@ -64,7 +63,6 @@ const TextInputWithIcon = ( props ) => autoCorrect = { autoCorrect } className = { cssMap.input } defaultValue = { defaultValue } - forceHover = { forceHover } hasError = { hasError } id = { id } isDisabled = { isDisabled } @@ -132,10 +130,6 @@ TextInputWithIcon.propTypes = * Default input string value */ defaultValue : PropTypes.string, - /** - * Display as hover when required from another component - */ - forceHover : PropTypes.bool, /** * Display as error/invalid */ @@ -235,7 +229,6 @@ TextInputWithIcon.defaultProps = className : undefined, cssMap : undefined, defaultValue : undefined, - forceHover : false, hasError : false, iconButtonIsDisabled : false, iconPosition : 'right',