@bento-core/facet-filter 1.0.1-ccdihub.32 → 1.0.1-ccdihub.33

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.
@@ -135,7 +135,7 @@ const CheckBoxView = _ref => {
135
135
  ["".concat(checkedSection, "SubjectUnChecked")]: !isChecked,
136
136
  ["".concat(checkedSection, "SubjectChecked")]: isChecked
137
137
  })
138
- }, "(".concat(subjects, ")"))), /*#__PURE__*/_react.default.createElement(_core.Divider, {
138
+ }, "(".concat(subjects.toLocaleString(), ")"))), /*#__PURE__*/_react.default.createElement(_core.Divider, {
139
139
  style: {
140
140
  backgroundColor: isChecked ? '#FFFFFF' : '#b1b1b1',
141
141
  margin: '0px',
@@ -135,7 +135,7 @@ const CheckBoxView = _ref => {
135
135
  ["".concat(checkedSection, "SubjectUnChecked")]: !isChecked,
136
136
  ["".concat(checkedSection, "SubjectChecked")]: isChecked
137
137
  })
138
- }, "(".concat(subjects, ")"))));
138
+ }, "(".concat(subjects.toLocaleString(), ")"))));
139
139
  };
140
140
  var _default = (0, _styles.withStyles)(_ModalCheckboxStyle.default)(CheckBoxView);
141
141
  exports.default = _default;
@@ -135,7 +135,7 @@ const CheckBoxView = _ref => {
135
135
  ["".concat(checkedSection, "SubjectUnChecked")]: !isChecked,
136
136
  ["".concat(checkedSection, "SubjectChecked")]: isChecked
137
137
  })
138
- }, "(".concat(subjects, ")"))), /*#__PURE__*/_react.default.createElement(_core.Divider, {
138
+ }, "(".concat(subjects.toLocaleString(), ")"))), /*#__PURE__*/_react.default.createElement(_core.Divider, {
139
139
  style: {
140
140
  backgroundColor: isChecked ? '#FFFFFF' : '#b1b1b1',
141
141
  margin: '0px',
@@ -117,11 +117,11 @@ const SliderView = _ref => {
117
117
  className: classes.lowerUpperBound
118
118
  }, /*#__PURE__*/_react.default.createElement(_core.Typography, {
119
119
  className: classes.lowerBound
120
- }, minLowerBound), /*#__PURE__*/_react.default.createElement(_core.Typography, {
120
+ }, minLowerBound.toLocaleString()), /*#__PURE__*/_react.default.createElement(_core.Typography, {
121
121
  className: classes.upperBound
122
- }, maxUpperBound))), (sliderValue[0] > minLowerBound || sliderValue[1] < maxUpperBound) && /*#__PURE__*/_react.default.createElement(_core.Typography, {
122
+ }, maxUpperBound.toLocaleString()))), (sliderValue[0] > minLowerBound || sliderValue[1] < maxUpperBound) && /*#__PURE__*/_react.default.createElement(_core.Typography, {
123
123
  className: isValid() ? classes.sliderText : classes.invalidSliderText
124
- }, sliderValue[0], ' - ', sliderValue[1], "\xA0", quantifier));
124
+ }, sliderValue[0].toLocaleString(), ' - ', sliderValue[1].toLocaleString(), "\xA0", quantifier));
125
125
  };
126
126
  const styles = () => ({
127
127
  colorPrimary: props => props.facet.style && props.facet.style.colorPrimary ? props.facet.style.colorPrimary : {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/facet-filter",
3
- "version": "1.0.1-ccdihub.32",
3
+ "version": "1.0.1-ccdihub.33",
4
4
  "description": "### Bento core sidebar design:",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -162,7 +162,7 @@ const CheckBoxView = ({
162
162
  [`${checkedSection}SubjectChecked`]: isChecked,
163
163
  })}
164
164
  >
165
- {`(${subjects})`}
165
+ {`(${subjects.toLocaleString()})`}
166
166
  </Typography>
167
167
  </ListItem>
168
168
  <Divider
@@ -162,7 +162,7 @@ const CheckBoxView = ({
162
162
  [`${checkedSection}SubjectChecked`]: isChecked,
163
163
  })}
164
164
  >
165
- {`(${subjects})`}
165
+ {`(${subjects.toLocaleString()})`}
166
166
  </Typography>
167
167
  </ListItem>
168
168
  </>
@@ -162,7 +162,7 @@ const CheckBoxView = ({
162
162
  [`${checkedSection}SubjectChecked`]: isChecked,
163
163
  })}
164
164
  >
165
- {`(${subjects})`}
165
+ {`(${subjects.toLocaleString()})`}
166
166
  </Typography>
167
167
  </ListItem>
168
168
  <Divider
@@ -116,10 +116,10 @@ const SliderView = ({
116
116
  </div>
117
117
  <Box className={classes.lowerUpperBound}>
118
118
  <Typography className={classes.lowerBound}>
119
- {minLowerBound}
119
+ {minLowerBound.toLocaleString()}
120
120
  </Typography>
121
121
  <Typography className={classes.upperBound}>
122
- {maxUpperBound}
122
+ {maxUpperBound.toLocaleString()}
123
123
  </Typography>
124
124
  </Box>
125
125
  </div>
@@ -130,9 +130,9 @@ const SliderView = ({
130
130
  <Typography
131
131
  className={isValid() ? classes.sliderText : classes.invalidSliderText}
132
132
  >
133
- {sliderValue[0]}
133
+ {sliderValue[0].toLocaleString()}
134
134
  {' - '}
135
- {sliderValue[1]}
135
+ {sliderValue[1].toLocaleString()}
136
136
  &nbsp;
137
137
  {quantifier}
138
138
  </Typography>