Skip to content

Commit

Permalink
Merge branch 'master' into progress-indicator-VO
Browse files Browse the repository at this point in the history
  • Loading branch information
abbeyhrt authored Jan 24, 2020
2 parents c4c7859 + ef94af7 commit b0fd7f4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -22432,11 +22432,11 @@ Text input styles
}
}

.#{$prefix}--text-input--large {
.#{$prefix}--text-input--xl {
height: rem(48px);
}

.#{$prefix}--text-input--small {
.#{$prefix}--text-input--sm {
height: rem(32px);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
}
}

.#{$prefix}--text-input--large {
.#{$prefix}--text-input--xl {
height: rem(48px);
}

.#{$prefix}--text-input--small {
.#{$prefix}--text-input--sm {
height: rem(32px);
}

Expand Down
6 changes: 3 additions & 3 deletions packages/react/src/components/TextInput/TextInput-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const types = {
};

const sizes = {
Large: 'large',
Default: '',
Small: 'small',
'Extra large size (xl)': 'xl',
'Regular size (lg)': '',
'Small size (sm)': 'sm',
};

function ControlledPasswordInputApp(props) {
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ TextInput.propTypes = {
placeholder: PropTypes.string,

/**
* Specify the size of the Text Input. Currently supports either `small` or `large` as an option. If omitted, defaults to standard size
* Specify the size of the Text Input. Currently supports either `sm` or `xl` as an option.
*/
size: PropTypes.string,
size: PropTypes.oneOf(['sm', 'xl']),

/**
* Specify the type of the <input>
Expand Down

0 comments on commit b0fd7f4

Please sign in to comment.