@ballistix.digital/react-components 0.5.4 → 0.5.5
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.
- package/dist/index.esm.js +7 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -140,11 +140,13 @@ var toClassName = function () {
|
|
|
140
140
|
}
|
|
141
141
|
return values.filter(Boolean).join(' ');
|
|
142
142
|
};
|
|
143
|
-
var fromSelectMenuOptionToStringValue = function (
|
|
144
|
-
if (
|
|
145
|
-
return
|
|
143
|
+
var fromSelectMenuOptionToStringValue = function (value) {
|
|
144
|
+
if (value === null)
|
|
145
|
+
return null;
|
|
146
|
+
if (lodash.isArray(value)) {
|
|
147
|
+
return lodash.map(value, 'value');
|
|
146
148
|
}
|
|
147
|
-
return
|
|
149
|
+
return value === null || value === void 0 ? void 0 : value.value;
|
|
148
150
|
};
|
|
149
151
|
|
|
150
152
|
var deepCopyObject = function (object) {
|