intelicoreact 1.4.96 → 1.4.98
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.
|
@@ -150,14 +150,14 @@ const FileLoaderDescription = _ref => {
|
|
|
150
150
|
"data-testid": "".concat(RC, "-").concat(uniqueFileLoaderDescriptionId),
|
|
151
151
|
className: (0, _classnames.default)(RC, className),
|
|
152
152
|
role: "combobox"
|
|
153
|
-
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
153
|
+
}, !!documentName && /*#__PURE__*/_react.default.createElement("span", {
|
|
154
154
|
title: documentName,
|
|
155
155
|
className: "".concat(RC, "__title")
|
|
156
156
|
}, documentName), !isWithoutAccordion && /*#__PURE__*/_react.default.createElement(_AccordionText.default, {
|
|
157
157
|
isForcedAlwaysAccordion: true,
|
|
158
158
|
className: (0, _classnames.default)("".concat(RC, "__accordion")),
|
|
159
159
|
text: accordionData(accordionTitle, accordionListContent)
|
|
160
|
-
}), /*#__PURE__*/_react.default.createElement("span", {
|
|
160
|
+
}), !!filesDescription && /*#__PURE__*/_react.default.createElement("span", {
|
|
161
161
|
className: "".concat(RC, "__file-descr"),
|
|
162
162
|
title: filesDescription
|
|
163
163
|
}, filesDescription), fields.map((field, i) => {
|
|
@@ -116,7 +116,7 @@ function RangeSlider(_ref) {
|
|
|
116
116
|
switch (type) {
|
|
117
117
|
case "from":
|
|
118
118
|
const getValidatedFromValue = value => {
|
|
119
|
-
if (!value || value < min) {
|
|
119
|
+
if (!value && value !== 0 || value < min) {
|
|
120
120
|
value = min;
|
|
121
121
|
}
|
|
122
122
|
if (value > to - minRange) {
|
|
@@ -141,7 +141,7 @@ function RangeSlider(_ref) {
|
|
|
141
141
|
break;
|
|
142
142
|
case "to":
|
|
143
143
|
const getValidatedToValue = value => {
|
|
144
|
-
if (!value || value > max) {
|
|
144
|
+
if (!value && value !== 0 || value > max) {
|
|
145
145
|
value = max;
|
|
146
146
|
}
|
|
147
147
|
if (value < from + minRange) {
|