Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
pmpc94 committed Nov 3, 2023
2 parents 0c552f0 + acbb133 commit 833a888
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* `title` and `subtitle` optional props to Lightbox component - [#635](https://github.com/ripe-tech/ripe-components-vue/issues/635)
* `Details Expandable` component - [#637](https://github.com/ripe-tech/ripe-components-vue/issues/637)
* `backgroundColor` optional prop to Input component - [#638](https://github.com/ripe-tech/ripe-components-vue/issues/638)

### Changed

Expand Down
3 changes: 2 additions & 1 deletion vue/components/ui/atoms/input/input.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ storiesOf("Components/Atoms/Input", module)
v-bind:min-width="minWidth"
v-bind:height="height"
v-bind:debounce-delay="debounceDelay"
v-bind:max-length="maxLength" />
v-bind:max-length="maxLength"
v-bind:background-color="'#f9fAfd'" />
</form-input>
<p>Text: {{ valueData }}</p>
</div>
Expand Down
7 changes: 6 additions & 1 deletion vue/components/ui/atoms/input/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export const Input = {
maxLength: {
type: Number,
default: null
},
backgroundColor: {
type: String,
default: null
}
},
mounted: function() {
Expand Down Expand Up @@ -219,7 +223,8 @@ export const Input = {
"min-width": this.minWidth === null ? null : `${this.minWidth}px`,
"font-size": this.fontSize === null ? null : `${this.fontSize}px`,
"font-weight": this.fontWeight === null ? null : `${this.fontWeight}`,
"text-align": this.align
"text-align": this.align,
"background-color": this.backgroundColor === null ? null : this.backgroundColor
};
return base;
},
Expand Down

0 comments on commit 833a888

Please sign in to comment.