Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
metagrover committed Sep 13, 2017
2 parents eea8632 + da68eeb commit 1f011b3
Show file tree
Hide file tree
Showing 31 changed files with 164 additions and 150 deletions.
13 changes: 7 additions & 6 deletions app/actuators/ReactiveMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,17 +577,17 @@ export default class ReactiveMap extends Component {
const cx = classNames({
"rbc-title-active": this.props.title,
"rbc-title-inactive": !this.props.title
});
}, this.props.className);

return (
<div className={`rbc rbc-reactivemap col s12 col-xs-12 card thumbnail ${cx}`} style={ReactiveMapHelper.mapPropsStyles(this.props.componentStyle, "component")}>
<div className={`rbc rbc-reactivemap col s12 col-xs-12 card thumbnail ${cx}`} style={ReactiveMapHelper.mapPropsStyles(this.props.style, "component")}>
{title}
{showMapStyles}
<GoogleMapLoader
containerElement={
<div
className="rbc-container col s12 col-xs-12"
style={ReactiveMapHelper.mapPropsStyles(this.props.componentStyle, "map", this.mapDefaultHeight)}
style={ReactiveMapHelper.mapPropsStyles(this.props.style, "map", this.mapDefaultHeight)}
/>
}
googleMapElement={
Expand Down Expand Up @@ -651,7 +651,7 @@ ReactiveMap.propTypes = {
size: helper.sizeValidation,
from: ReactiveMapHelper.validation.fromValidation,
autoMapRender: React.PropTypes.bool,
componentStyle: React.PropTypes.object,
style: React.PropTypes.object,
autoCenter: React.PropTypes.bool,
showSearchAsMove: React.PropTypes.bool,
setSearchAsMove: React.PropTypes.bool,
Expand All @@ -676,7 +676,8 @@ ReactiveMap.propTypes = {
markerOnDblclick: React.PropTypes.func,
onMouseover: React.PropTypes.func,
onMouseout: React.PropTypes.func,
showMapStyles: React.PropTypes.bool
showMapStyles: React.PropTypes.bool,
className: React.PropTypes.string
};

ReactiveMap.defaultProps = {
Expand All @@ -695,7 +696,7 @@ ReactiveMap.defaultProps = {
autoMapRender: true,
defaultMarkerImage: "https://opensource.appbase.io/reactivemaps/dist/images/historic-pin.png",
streamMarkerImage: "https://opensource.appbase.io/reactivemaps/dist/images/stream-pin.png",
componentStyle: {},
style: {},
stream: false,
applyGeoQuery: false,
defaultZoom: 13
Expand Down
16 changes: 9 additions & 7 deletions app/sensors/GeoDistanceDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,10 @@ export default class GeoDistanceDropdown extends Component {
"rbc-title-inactive": !this.props.title,
"rbc-placeholder-active": this.props.placeholder,
"rbc-placeholder-inactive": !this.props.placeholder
});
}, this.props.className);

return (
<div className={`rbc rbc-geodistancedropdown clearfix card thumbnail col s12 col-xs-12 ${cx}`} style={this.props.componentStyle}>
<div className={`rbc rbc-geodistancedropdown clearfix card thumbnail col s12 col-xs-12 ${cx}`} style={this.props.style}>
<div className="row">
{title}
<div className="rbc-search-container col s12 col-xs-12">
Expand Down Expand Up @@ -475,10 +475,11 @@ GeoDistanceDropdown.propTypes = {
),
beforeValueChange: React.PropTypes.func,
onValueChange: React.PropTypes.func,
componentStyle: React.PropTypes.object,
style: React.PropTypes.object,
URLParams: React.PropTypes.bool,
showFilter: React.PropTypes.bool,
filterLabel: React.PropTypes.string
filterLabel: React.PropTypes.string,
className: React.PropTypes.string
};

// Default props value
Expand All @@ -487,7 +488,7 @@ GeoDistanceDropdown.defaultProps = {
placeholder: "Search...",
placeholderDropdown: "Select Distance",
autoLocation: true,
componentStyle: {},
style: {},
URLParams: false,
showFilter: true
};
Expand All @@ -513,8 +514,9 @@ GeoDistanceDropdown.types = {
customQuery: TYPES.FUNCTION,
beforeValueChange: TYPES.FUNCTION,
onValueChange: TYPES.FUNCTION,
componentStyle: TYPES.OBJECT,
style: TYPES.OBJECT,
URLParams: TYPES.BOOLEAN,
showFilter: TYPES.BOOLEAN,
filterLabel: TYPES.STRING
filterLabel: TYPES.STRING,
className: TYPES.STRING
};
16 changes: 9 additions & 7 deletions app/sensors/GeoDistanceSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,10 @@ export default class GeoDistanceSlider extends Component {
"rbc-placeholder-inactive": !this.props.placeholder,
"rbc-labels-active": this.props.rangeLabels.start || this.props.rangeLabels.end,
"rbc-labels-inactive": !this.props.rangeLabels.start && !this.props.rangeLabels.end
});
}, this.props.className);

return (
<div className={`rbc rbc-geodistanceslider clearfix card thumbnail col s12 col-xs-12 ${cx}`} style={this.props.componentStyle}>
<div className={`rbc rbc-geodistanceslider clearfix card thumbnail col s12 col-xs-12 ${cx}`} style={this.props.style}>
<div className="row">
{title}
<div className="rbc-search-container col s12 col-xs-12">
Expand Down Expand Up @@ -472,10 +472,11 @@ GeoDistanceSlider.propTypes = {
autoLocation: React.PropTypes.bool,
beforeValueChange: React.PropTypes.func,
onValueChange: React.PropTypes.func,
componentStyle: React.PropTypes.object,
style: React.PropTypes.object,
URLParams: React.PropTypes.bool,
showFilter: React.PropTypes.bool,
filterLabel: React.PropTypes.string
filterLabel: React.PropTypes.string,
className: React.PropTypes.string
};

// Default props value
Expand All @@ -492,7 +493,7 @@ GeoDistanceSlider.defaultProps = {
end: null
},
autoLocation: true,
componentStyle: {},
style: {},
URLParams: false,
showFilter: true
};
Expand All @@ -517,10 +518,11 @@ GeoDistanceSlider.types = {
defaultSelected: TYPES.OBJECT,
placeholder: TYPES.STRING,
customQuery: TYPES.FUNCTION,
componentStyle: TYPES.OBJECT,
style: TYPES.OBJECT,
beforeValueChange: TYPES.FUNCTION,
onValueChange: TYPES.FUNCTION,
URLParams: TYPES.BOOLEAN,
showFilter: TYPES.BOOLEAN,
filterLabel: TYPES.STRING
filterLabel: TYPES.STRING,
className: TYPES.STRING
};
16 changes: 9 additions & 7 deletions app/sensors/PlacesSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@ export default class PlacesSearch extends Component {
"rbc-title-inactive": !this.props.title,
"rbc-placeholder-active": this.props.placeholder,
"rbc-placeholder-inactive": !this.props.placeholder
});
}, this.props.className);

return (
<div className={`rbc rbc-placessearch clearfix card thumbnail col s12 col-xs-12 ${cx}`} style={this.props.componentStyle}>
<div className={`rbc rbc-placessearch clearfix card thumbnail col s12 col-xs-12 ${cx}`} style={this.props.style}>
<div className="row">
{title}
<div className="col s12 col-xs-12">
Expand Down Expand Up @@ -356,17 +356,18 @@ PlacesSearch.propTypes = {
autoLocation: React.PropTypes.bool,
beforeValueChange: React.PropTypes.func,
onValueChange: React.PropTypes.func,
componentStyle: React.PropTypes.object,
style: React.PropTypes.object,
URLParams: React.PropTypes.bool,
showFilter: React.PropTypes.bool,
filterLabel: React.PropTypes.string,
unit: React.PropTypes.oneOf(["mi", "miles", "yd", "yards", "ft", "feet", "in", "inch", "km", "kilometers", "m", "meters", "cm", "centimeters", "mm", "millimeters", "NM", "nmi", "nauticalmiles"])
unit: React.PropTypes.oneOf(["mi", "miles", "yd", "yards", "ft", "feet", "in", "inch", "km", "kilometers", "m", "meters", "cm", "centimeters", "mm", "millimeters", "NM", "nmi", "nauticalmiles"]),
className: React.PropTypes.string
};
// Default props value
PlacesSearch.defaultProps = {
placeholder: "Search..",
autoLocation: true,
componentStyle: {},
style: {},
URLParams: false,
showFilter: true,
unit: "mi"
Expand All @@ -386,9 +387,10 @@ PlacesSearch.types = {
customQuery: TYPES.FUNCTION,
placeholder: TYPES.STRING,
autoLocation: TYPES.BOOLEAN,
componentStyle: TYPES.OBJECT,
style: TYPES.OBJECT,
unit: TYPES.STRING,
URLParams: TYPES.BOOLEAN,
showFilter: TYPES.BOOLEAN,
filterLabel: TYPES.STRING
filterLabel: TYPES.STRING,
className: TYPES.STRING
};
12 changes: 6 additions & 6 deletions dist/CustomQuery.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/GeoDistanceDropdown.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/GeoDistanceSlider.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/PlacesSearch.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/direction.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/earthquake.bundle.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/events.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/heatmap.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/list.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/meetupblast.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/nearby.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/now.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/transport.bundle.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/weather.bundle.js

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions lib/actuators/ReactiveMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,17 +671,17 @@ var ReactiveMap = function (_Component) {
var cx = classNames({
"rbc-title-active": this.props.title,
"rbc-title-inactive": !this.props.title
});
}, this.props.className);

return React.createElement(
"div",
{ className: "rbc rbc-reactivemap col s12 col-xs-12 card thumbnail " + cx, style: ReactiveMapHelper.mapPropsStyles(this.props.componentStyle, "component") },
{ className: "rbc rbc-reactivemap col s12 col-xs-12 card thumbnail " + cx, style: ReactiveMapHelper.mapPropsStyles(this.props.style, "component") },
title,
showMapStyles,
React.createElement(GoogleMapLoader, {
containerElement: React.createElement("div", {
className: "rbc-container col s12 col-xs-12",
style: ReactiveMapHelper.mapPropsStyles(this.props.componentStyle, "map", this.mapDefaultHeight)
style: ReactiveMapHelper.mapPropsStyles(this.props.style, "map", this.mapDefaultHeight)
}),
googleMapElement: React.createElement(
GoogleMap,
Expand Down Expand Up @@ -776,7 +776,7 @@ ReactiveMap.propTypes = {
size: helper.sizeValidation,
from: ReactiveMapHelper.validation.fromValidation,
autoMapRender: React.PropTypes.bool,
componentStyle: React.PropTypes.object,
style: React.PropTypes.object,
autoCenter: React.PropTypes.bool,
showSearchAsMove: React.PropTypes.bool,
setSearchAsMove: React.PropTypes.bool,
Expand All @@ -798,7 +798,8 @@ ReactiveMap.propTypes = {
markerOnDblclick: React.PropTypes.func,
onMouseover: React.PropTypes.func,
onMouseout: React.PropTypes.func,
showMapStyles: React.PropTypes.bool
showMapStyles: React.PropTypes.bool,
className: React.PropTypes.string
};

ReactiveMap.defaultProps = {
Expand All @@ -817,7 +818,7 @@ ReactiveMap.defaultProps = {
autoMapRender: true,
defaultMarkerImage: "https://opensource.appbase.io/reactivemaps/dist/images/historic-pin.png",
streamMarkerImage: "https://opensource.appbase.io/reactivemaps/dist/images/stream-pin.png",
componentStyle: {},
style: {},
stream: false,
applyGeoQuery: false,
defaultZoom: 13
Expand Down
16 changes: 9 additions & 7 deletions lib/sensors/GeoDistanceDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,11 @@ var GeoDistanceDropdown = function (_Component) {
"rbc-title-inactive": !this.props.title,
"rbc-placeholder-active": this.props.placeholder,
"rbc-placeholder-inactive": !this.props.placeholder
});
}, this.props.className);

return React.createElement(
"div",
{ className: "rbc rbc-geodistancedropdown clearfix card thumbnail col s12 col-xs-12 " + cx, style: this.props.componentStyle },
{ className: "rbc rbc-geodistancedropdown clearfix card thumbnail col s12 col-xs-12 " + cx, style: this.props.style },
React.createElement(
"div",
{ className: "row" },
Expand Down Expand Up @@ -517,10 +517,11 @@ GeoDistanceDropdown.propTypes = {
})),
beforeValueChange: React.PropTypes.func,
onValueChange: React.PropTypes.func,
componentStyle: React.PropTypes.object,
style: React.PropTypes.object,
URLParams: React.PropTypes.bool,
showFilter: React.PropTypes.bool,
filterLabel: React.PropTypes.string
filterLabel: React.PropTypes.string,
className: React.PropTypes.string
};

// Default props value
Expand All @@ -529,7 +530,7 @@ GeoDistanceDropdown.defaultProps = {
placeholder: "Search...",
placeholderDropdown: "Select Distance",
autoLocation: true,
componentStyle: {},
style: {},
URLParams: false,
showFilter: true
};
Expand All @@ -555,8 +556,9 @@ GeoDistanceDropdown.types = {
customQuery: TYPES.FUNCTION,
beforeValueChange: TYPES.FUNCTION,
onValueChange: TYPES.FUNCTION,
componentStyle: TYPES.OBJECT,
style: TYPES.OBJECT,
URLParams: TYPES.BOOLEAN,
showFilter: TYPES.BOOLEAN,
filterLabel: TYPES.STRING
filterLabel: TYPES.STRING,
className: TYPES.STRING
};
16 changes: 9 additions & 7 deletions lib/sensors/GeoDistanceSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,11 @@ var GeoDistanceSlider = function (_Component) {
"rbc-placeholder-inactive": !this.props.placeholder,
"rbc-labels-active": this.props.rangeLabels.start || this.props.rangeLabels.end,
"rbc-labels-inactive": !this.props.rangeLabels.start && !this.props.rangeLabels.end
});
}, this.props.className);

return React.createElement(
"div",
{ className: "rbc rbc-geodistanceslider clearfix card thumbnail col s12 col-xs-12 " + cx, style: this.props.componentStyle },
{ className: "rbc rbc-geodistanceslider clearfix card thumbnail col s12 col-xs-12 " + cx, style: this.props.style },
React.createElement(
"div",
{ className: "row" },
Expand Down Expand Up @@ -507,10 +507,11 @@ GeoDistanceSlider.propTypes = {
autoLocation: React.PropTypes.bool,
beforeValueChange: React.PropTypes.func,
onValueChange: React.PropTypes.func,
componentStyle: React.PropTypes.object,
style: React.PropTypes.object,
URLParams: React.PropTypes.bool,
showFilter: React.PropTypes.bool,
filterLabel: React.PropTypes.string
filterLabel: React.PropTypes.string,
className: React.PropTypes.string
};

// Default props value
Expand All @@ -527,7 +528,7 @@ GeoDistanceSlider.defaultProps = {
end: null
},
autoLocation: true,
componentStyle: {},
style: {},
URLParams: false,
showFilter: true
};
Expand All @@ -552,10 +553,11 @@ GeoDistanceSlider.types = {
defaultSelected: TYPES.OBJECT,
placeholder: TYPES.STRING,
customQuery: TYPES.FUNCTION,
componentStyle: TYPES.OBJECT,
style: TYPES.OBJECT,
beforeValueChange: TYPES.FUNCTION,
onValueChange: TYPES.FUNCTION,
URLParams: TYPES.BOOLEAN,
showFilter: TYPES.BOOLEAN,
filterLabel: TYPES.STRING
filterLabel: TYPES.STRING,
className: TYPES.STRING
};
16 changes: 9 additions & 7 deletions lib/sensors/PlacesSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,11 @@ var PlacesSearch = function (_Component) {
"rbc-title-inactive": !this.props.title,
"rbc-placeholder-active": this.props.placeholder,
"rbc-placeholder-inactive": !this.props.placeholder
});
}, this.props.className);

return React.createElement(
"div",
{ className: "rbc rbc-placessearch clearfix card thumbnail col s12 col-xs-12 " + cx, style: this.props.componentStyle },
{ className: "rbc rbc-placessearch clearfix card thumbnail col s12 col-xs-12 " + cx, style: this.props.style },
React.createElement(
"div",
{ className: "row" },
Expand Down Expand Up @@ -403,17 +403,18 @@ PlacesSearch.propTypes = {
autoLocation: React.PropTypes.bool,
beforeValueChange: React.PropTypes.func,
onValueChange: React.PropTypes.func,
componentStyle: React.PropTypes.object,
style: React.PropTypes.object,
URLParams: React.PropTypes.bool,
showFilter: React.PropTypes.bool,
filterLabel: React.PropTypes.string,
unit: React.PropTypes.oneOf(["mi", "miles", "yd", "yards", "ft", "feet", "in", "inch", "km", "kilometers", "m", "meters", "cm", "centimeters", "mm", "millimeters", "NM", "nmi", "nauticalmiles"])
unit: React.PropTypes.oneOf(["mi", "miles", "yd", "yards", "ft", "feet", "in", "inch", "km", "kilometers", "m", "meters", "cm", "centimeters", "mm", "millimeters", "NM", "nmi", "nauticalmiles"]),
className: React.PropTypes.string
};
// Default props value
PlacesSearch.defaultProps = {
placeholder: "Search..",
autoLocation: true,
componentStyle: {},
style: {},
URLParams: false,
showFilter: true,
unit: "mi"
Expand All @@ -433,9 +434,10 @@ PlacesSearch.types = {
customQuery: TYPES.FUNCTION,
placeholder: TYPES.STRING,
autoLocation: TYPES.BOOLEAN,
componentStyle: TYPES.OBJECT,
style: TYPES.OBJECT,
unit: TYPES.STRING,
URLParams: TYPES.BOOLEAN,
showFilter: TYPES.BOOLEAN,
filterLabel: TYPES.STRING
filterLabel: TYPES.STRING,
className: TYPES.STRING
};
Loading

0 comments on commit 1f011b3

Please sign in to comment.