Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Commit

Permalink
Merge branch 'Milestone-Hooks!' of github.com:sociomantic-tsunami/nes…
Browse files Browse the repository at this point in the history
…sie-ui into Milestone-Hooks!
  • Loading branch information
daniel-martic-sociomantic committed Mar 6, 2019
2 parents d926665 + b8cf5da commit 937f824
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 25 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
if: branch = master
language: node_js
node_js:
- 8.15.0
Expand Down
2 changes: 0 additions & 2 deletions src/DatePicker/DatePickerItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -61,7 +60,6 @@ DatePickerItem.defaultProps = {
children : undefined,
className : undefined,
cssMap : undefined,
forceHover : false,
isDisabled : false,
isSelected : false,
label : undefined,
Expand Down
1 change: 0 additions & 1 deletion src/DateTimeInput/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,6 @@ const DateTimeInput = React.forwardRef( ( props, ref ) =>
autoComplete = "off"
autoCorrect = "off"
className = { className }
forceHover = { isOpen }
hasError = { hasError }
iconType = "calendar"
id = { id }
Expand Down
5 changes: 0 additions & 5 deletions src/DefaultTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default {
'default',
{
disabled : props.isDisabled,
fakeHovered : props.forceHover,
loading : props.isLoading && !props.isDisabled,
},
`iconPosition__${props.iconPosition}`,
Expand All @@ -74,7 +73,6 @@ export default {
{
disabled : props.isDisabled,
error : !props.isDisabled && props.hasError,
fakeHovered : !props.isDisabled && props.forceHover,
},
props.className,
),
Expand Down Expand Up @@ -104,7 +102,6 @@ export default {
'default',
{
disabled : props.isDisabled,
fakeHovered : props.forceHover,
selected : props.isSelected,
},
`type__${props.type}`,
Expand Down Expand Up @@ -148,7 +145,6 @@ export default {
{
background : props.hasBackground,
disabled : props.isDisabled,
fakeHovered : props.forceHover,
},
`role__${props.role}`,
`size__${props.size}`,
Expand Down Expand Up @@ -323,7 +319,6 @@ export default {
TimeInput : props => ( {
main : classNames.bind( timeInputClasses )(
'default',
{ fakeHovered: props.forceHover },
props.className,
),
...timeInputClasses,
Expand Down
5 changes: 0 additions & 5 deletions src/IconButton/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -129,7 +125,6 @@ IconButton.defaultProps =
children : undefined,
className : undefined,
cssMap : undefined,
forceHover : false,
hasBackground : false,
iconSize : 'S',
iconType : undefined,
Expand Down
5 changes: 0 additions & 5 deletions src/PasswordInput/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -163,7 +159,6 @@ PasswordInput.defaultProps =
className : undefined,
cssMap : undefined,
defaultValue : undefined,
forceHover : false,
hasError : false,
iconButtonIsDisabled : undefined,
iconPosition : 'right',
Expand Down
7 changes: 0 additions & 7 deletions src/TextInputWithIcon/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const TextInputWithIcon = ( props ) =>
autoComplete,
autoCorrect,
defaultValue,
forceHover,
hasError,
iconButtonIsDisabled,
iconPosition,
Expand Down Expand Up @@ -64,7 +63,6 @@ const TextInputWithIcon = ( props ) =>
autoCorrect = { autoCorrect }
className = { cssMap.input }
defaultValue = { defaultValue }
forceHover = { forceHover }
hasError = { hasError }
id = { id }
isDisabled = { isDisabled }
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -235,7 +229,6 @@ TextInputWithIcon.defaultProps =
className : undefined,
cssMap : undefined,
defaultValue : undefined,
forceHover : false,
hasError : false,
iconButtonIsDisabled : false,
iconPosition : 'right',
Expand Down

0 comments on commit 937f824

Please sign in to comment.