@bento-core/facet-filter 1.0.1-ccdihub.10 → 1.0.1-ccdihub.11
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.
|
@@ -68,6 +68,7 @@ const SliderView = _ref => {
|
|
|
68
68
|
}, /*#__PURE__*/_react.default.createElement(_core.Typography, {
|
|
69
69
|
className: classes.minInputLabel
|
|
70
70
|
}, "Min:"), /*#__PURE__*/_react.default.createElement(_InputMinMaxView.default, {
|
|
71
|
+
className: classes.minInputValue,
|
|
71
72
|
lowerBoundVal: sliderValue[0],
|
|
72
73
|
upperBoundVal: sliderValue[1],
|
|
73
74
|
minLowerBound: minLowerBound,
|
|
@@ -79,6 +80,7 @@ const SliderView = _ref => {
|
|
|
79
80
|
}, /*#__PURE__*/_react.default.createElement(_core.Typography, {
|
|
80
81
|
className: classes.maxInputLabel
|
|
81
82
|
}, "Max:"), /*#__PURE__*/_react.default.createElement(_InputMinMaxView.default, {
|
|
83
|
+
className: classes.maxInputValue,
|
|
82
84
|
lowerBoundVal: sliderValue[0],
|
|
83
85
|
upperBoundVal: sliderValue[1],
|
|
84
86
|
minLowerBound: minLowerBound,
|
|
@@ -154,6 +156,20 @@ const styles = () => ({
|
|
|
154
156
|
lineHeight: '34px',
|
|
155
157
|
marginRight: '5px'
|
|
156
158
|
},
|
|
159
|
+
minInputValue: props => props.facet.style && props.facet.style.minInputValue ? props.facet.style.minInputValue : {
|
|
160
|
+
fontFamily: 'Montserrat',
|
|
161
|
+
fontSize: '13px',
|
|
162
|
+
color: '#717171',
|
|
163
|
+
background: '#F0F0F0',
|
|
164
|
+
textAlign: 'center'
|
|
165
|
+
},
|
|
166
|
+
maxInputValue: props => props.facet.style && props.facet.style.maxInputValue ? props.facet.style.maxInputValue : {
|
|
167
|
+
fontFamily: 'Montserrat',
|
|
168
|
+
fontSize: '13px',
|
|
169
|
+
color: '#717171',
|
|
170
|
+
background: '#F0F0F0',
|
|
171
|
+
textAlign: 'center'
|
|
172
|
+
},
|
|
157
173
|
thumb: props => props.facet.style && props.facet.style.thumb ? props.facet.style.thumb : {
|
|
158
174
|
height: 16,
|
|
159
175
|
width: 16,
|
package/package.json
CHANGED
|
@@ -59,6 +59,7 @@ const SliderView = ({
|
|
|
59
59
|
Min:
|
|
60
60
|
</Typography>
|
|
61
61
|
<InputMinMaxView
|
|
62
|
+
className={classes.minInputValue}
|
|
62
63
|
lowerBoundVal={sliderValue[0]}
|
|
63
64
|
upperBoundVal={sliderValue[1]}
|
|
64
65
|
minLowerBound={minLowerBound}
|
|
@@ -72,6 +73,7 @@ const SliderView = ({
|
|
|
72
73
|
Max:
|
|
73
74
|
</Typography>
|
|
74
75
|
<InputMinMaxView
|
|
76
|
+
className={classes.maxInputValue}
|
|
75
77
|
lowerBoundVal={sliderValue[0]}
|
|
76
78
|
upperBoundVal={sliderValue[1]}
|
|
77
79
|
minLowerBound={minLowerBound}
|
|
@@ -184,6 +186,24 @@ const styles = () => ({
|
|
|
184
186
|
lineHeight: '34px',
|
|
185
187
|
marginRight: '5px',
|
|
186
188
|
}),
|
|
189
|
+
minInputValue: (props) => (props.facet.style && props.facet.style.minInputValue
|
|
190
|
+
? props.facet.style.minInputValue
|
|
191
|
+
: {
|
|
192
|
+
fontFamily: 'Montserrat',
|
|
193
|
+
fontSize: '13px',
|
|
194
|
+
color: '#717171',
|
|
195
|
+
background: '#F0F0F0',
|
|
196
|
+
textAlign: 'center',
|
|
197
|
+
}),
|
|
198
|
+
maxInputValue: (props) => (props.facet.style && props.facet.style.maxInputValue
|
|
199
|
+
? props.facet.style.maxInputValue
|
|
200
|
+
: {
|
|
201
|
+
fontFamily: 'Montserrat',
|
|
202
|
+
fontSize: '13px',
|
|
203
|
+
color: '#717171',
|
|
204
|
+
background: '#F0F0F0',
|
|
205
|
+
textAlign: 'center',
|
|
206
|
+
}),
|
|
187
207
|
thumb: (props) => (props.facet.style && props.facet.style.thumb
|
|
188
208
|
? props.facet.style.thumb
|
|
189
209
|
: {
|