Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan687 committed May 27, 2017
2 parents a006e1d + b831f61 commit 74a3a9e
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 16 deletions.
39 changes: 37 additions & 2 deletions app/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,42 @@
font-weight: 900;
font-style: normal; }

.rbc-red .rbc.rbc-categorysearch .Select-control .Select-arrow-zone .Select-arrow {
color: red; }

.rbc-red .rbc.rbc-categorysearch .rbc-strong {
color: red; }

.rbc-orange .rbc.rbc-categorysearch .Select-control .Select-arrow-zone .Select-arrow {
color: orange; }

.rbc-orange .rbc.rbc-categorysearch .rbc-strong {
color: orange; }

.rbc-yellow .rbc.rbc-categorysearch .Select-control .Select-arrow-zone .Select-arrow {
color: yellow; }

.rbc-yellow .rbc.rbc-categorysearch .rbc-strong {
color: yellow; }

.rbc-green .rbc.rbc-categorysearch .Select-control .Select-arrow-zone .Select-arrow {
color: green; }

.rbc-green .rbc.rbc-categorysearch .rbc-strong {
color: green; }

.rbc-blue .rbc.rbc-categorysearch .Select-control .Select-arrow-zone .Select-arrow {
color: #1893e7; }

.rbc-blue .rbc.rbc-categorysearch .rbc-strong {
color: #1893e7; }

.rbc-dark .rbc.rbc-categorysearch .Select-control .Select-arrow-zone .Select-arrow {
color: #ccc; }

.rbc-dark .rbc.rbc-categorysearch .rbc-strong {
color: #ccc; }

.rbc.rbc-nestedlist-container {
padding: 0;
margin: 0; }
Expand Down Expand Up @@ -102,8 +138,7 @@
.rbc.rbc-categorysearch .Select-input:hover, .rbc.rbc-categorysearch .Select-input:focus {
outline: none; }
.rbc.rbc-categorysearch .rbc-strong {
font-family: "Lato Bold";
color: #1893e7; }
font-family: "Lato Bold"; }

.rbc.rbc-togglelist {
padding: 0; }
Expand Down
1 change: 0 additions & 1 deletion app/assets/styles/partials/components/_categorysearch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,5 @@

.rbc-strong {
font-family: $font-bold;
color: $primary-color;
}
}
19 changes: 19 additions & 0 deletions app/assets/styles/partials/theme/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,22 @@ $themes: (
rbc-blue: (color: #1893e7, background: #fff, font-color: #777, input-bg: #f5f5f5),
rbc-dark: (color: #ccc, background: #555, font-color: #eee, input-bg: #aaa)
);

@each $theme,
$map in $themes {
.#{$theme} {
.rbc.rbc-categorysearch {
.Select-control {
.Select-arrow-zone {
.Select-arrow {
color: map-get($map, color);
}
}
}

.rbc-strong {
color: map-get($map, color);
}
}
}
}
2 changes: 2 additions & 0 deletions app/sensors/CategorySearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ export default class CategorySearch extends Component {
optionRenderer={this.optionRenderer}
onChange={this.handleSearch}
onBlurResetsInput={false}
backspaceRemoves={false}
deleteRemoves={false}
{...this.props}
/>
</div>
Expand Down
8 changes: 4 additions & 4 deletions dist/css/style.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@appbaseio/reactivesearch",
"version": "0.5.2",
"version": "0.5.3",
"description": "A React UI components library for building search experiences",
"main": "lib/app.js",
"scripts": {
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"homepage": "https://github.com/appbaseio/reactivesearch#readme",
"dependencies": {
"@appbaseio/reactivemaps": "1.0.0-alpha27",
"@appbaseio/reactivemaps": "1.0.0-alpha28",
"classnames": "^2.2.5",
"jquery": "^3.1.1",
"lodash": "^4.15.0",
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# yarn lockfile v1


"@appbaseio/[email protected]alpha29":
version "1.0.0-alpha29"
resolved "https://registry.yarnpkg.com/@appbaseio/reactivebase/-/reactivebase-1.0.0-alpha29.tgz#5cbd25b0dd07e9b002418efb8f2fce3b5afe2e8f"
"@appbaseio/[email protected]alpha36":
version "1.0.0-alpha36"
resolved "https://registry.yarnpkg.com/@appbaseio/reactivebase/-/reactivebase-1.0.0-alpha36.tgz#2b6a801e7d10780323dea092560c82053deab7e8"
dependencies:
appbase-js "^0.11.0"
babel-preset-stage-0 "^6.5.0"
Expand All @@ -30,11 +30,11 @@
grunt "~0.4.0"
serve-static "^1.10.2"

"@appbaseio/[email protected]alpha22":
version "1.0.0-alpha22"
resolved "https://registry.yarnpkg.com/@appbaseio/reactivemaps/-/reactivemaps-1.0.0-alpha22.tgz#d5958c94fd6597c92141ab6e65e0e4e95f76147d"
"@appbaseio/[email protected]alpha27":
version "1.0.0-alpha27"
resolved "https://registry.yarnpkg.com/@appbaseio/reactivemaps/-/reactivemaps-1.0.0-alpha27.tgz#52437c6c10cbe64673d377ead9fce607a5cee099"
dependencies:
"@appbaseio/reactivebase" "1.0.0-alpha29"
"@appbaseio/reactivebase" "1.0.0-alpha36"
"@appbaseio/reactivemaps-manual" "1.0.0-alpha"
appbase-js "^0.11.0"
axios "^0.15.2"
Expand Down

0 comments on commit 74a3a9e

Please sign in to comment.