@bento-core/facet-filter 1.0.1-ccdihub.11 → 1.0.1-ccdihub.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,9 +7,10 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _core = require("@material-ui/core");
|
|
9
9
|
var _styles = require("@material-ui/core/styles");
|
|
10
|
-
var _InputMinMaxStyle = _interopRequireDefault(require("./InputMinMaxStyle"));
|
|
11
10
|
var _Types = require("../Types");
|
|
12
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
+
// import styles from './InputMinMaxStyle';
|
|
13
|
+
|
|
13
14
|
function InputMinMaxView(_ref) {
|
|
14
15
|
let {
|
|
15
16
|
classes,
|
|
@@ -43,5 +44,21 @@ function InputMinMaxView(_ref) {
|
|
|
43
44
|
}
|
|
44
45
|
});
|
|
45
46
|
}
|
|
46
|
-
|
|
47
|
+
const styles = () => ({
|
|
48
|
+
slider_INPUT_MIN: props => props.className ? props.className : {
|
|
49
|
+
fontFamily: 'Montserrat',
|
|
50
|
+
fontSize: '13px',
|
|
51
|
+
color: '#717171',
|
|
52
|
+
background: '#F0F0F0',
|
|
53
|
+
textAlign: 'center'
|
|
54
|
+
},
|
|
55
|
+
slider_INPUT_MAX: props => props.className ? props.className : {
|
|
56
|
+
fontFamily: 'Montserrat',
|
|
57
|
+
fontSize: '13px',
|
|
58
|
+
color: '#717171',
|
|
59
|
+
background: '#F0F0F0',
|
|
60
|
+
textAlign: 'center'
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
var _default = (0, _styles.withStyles)(styles)(InputMinMaxView);
|
|
47
64
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Input,
|
|
4
4
|
} from '@material-ui/core';
|
|
5
5
|
import { withStyles } from '@material-ui/core/styles';
|
|
6
|
-
import styles from './InputMinMaxStyle';
|
|
6
|
+
// import styles from './InputMinMaxStyle';
|
|
7
7
|
import { silderTypes } from '../Types';
|
|
8
8
|
|
|
9
9
|
function InputMinMaxView({
|
|
@@ -42,4 +42,25 @@ function InputMinMaxView({
|
|
|
42
42
|
);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
const styles = () => ({
|
|
46
|
+
slider_INPUT_MIN: (props) => (props.className
|
|
47
|
+
? props.className
|
|
48
|
+
: {
|
|
49
|
+
fontFamily: 'Montserrat',
|
|
50
|
+
fontSize: '13px',
|
|
51
|
+
color: '#717171',
|
|
52
|
+
background: '#F0F0F0',
|
|
53
|
+
textAlign: 'center',
|
|
54
|
+
}),
|
|
55
|
+
slider_INPUT_MAX: (props) => (props.className
|
|
56
|
+
? props.className
|
|
57
|
+
: {
|
|
58
|
+
fontFamily: 'Montserrat',
|
|
59
|
+
fontSize: '13px',
|
|
60
|
+
color: '#717171',
|
|
61
|
+
background: '#F0F0F0',
|
|
62
|
+
textAlign: 'center',
|
|
63
|
+
}),
|
|
64
|
+
});
|
|
65
|
+
|
|
45
66
|
export default withStyles(styles)(InputMinMaxView);
|