@bento-core/facet-filter 1.0.1-ccdihub.12 → 1.0.1-ccdihub.14

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.
@@ -5,6 +5,19 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = () => ({
8
- slider_INPUT_MIN: {}
8
+ slider_INPUT_MIN: {
9
+ fontFamily: 'Montserrat',
10
+ fontSize: '13px',
11
+ fontWeight: 500,
12
+ color: '#717171',
13
+ background: '#F0F0F0'
14
+ },
15
+ slider_INPUT_MAX: {
16
+ fontFamily: 'Montserrat',
17
+ fontSize: '13px',
18
+ fontWeight: 500,
19
+ color: '#717171',
20
+ background: '#F0F0F0'
21
+ }
9
22
  });
10
23
  exports.default = _default;
@@ -7,10 +7,9 @@ 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"));
10
11
  var _Types = require("../Types");
11
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- // import styles from './InputMinMaxStyle';
13
-
14
13
  function InputMinMaxView(_ref) {
15
14
  let {
16
15
  classes,
@@ -44,21 +43,5 @@ function InputMinMaxView(_ref) {
44
43
  }
45
44
  });
46
45
  }
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);
46
+ var _default = (0, _styles.withStyles)(_InputMinMaxStyle.default)(InputMinMaxView);
64
47
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/facet-filter",
3
- "version": "1.0.1-ccdihub.12",
3
+ "version": "1.0.1-ccdihub.14",
4
4
  "description": "### Bento core sidebar design:",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,4 +1,16 @@
1
1
  export default () => ({
2
2
  slider_INPUT_MIN: {
3
+ fontFamily: 'Montserrat',
4
+ fontSize: '13px',
5
+ fontWeight: 500,
6
+ color: '#717171',
7
+ background: '#F0F0F0',
8
+ },
9
+ slider_INPUT_MAX: {
10
+ fontFamily: 'Montserrat',
11
+ fontSize: '13px',
12
+ fontWeight: 500,
13
+ color: '#717171',
14
+ background: '#F0F0F0',
3
15
  },
4
16
  });
@@ -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,25 +42,4 @@ 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
-
66
45
  export default withStyles(styles)(InputMinMaxView);