intelicoreact 1.0.72 → 1.0.73

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.
@@ -315,13 +315,17 @@ var setCarretToEnd = function setCarretToEnd(input) {
315
315
  exports.setCarretToEnd = setCarretToEnd;
316
316
 
317
317
  var compareAlphabetical = function compareAlphabetical(a, b) {
318
+ var _a$key, _b$key;
319
+
318
320
  var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'label';
321
+ var item1 = a === null || a === void 0 ? void 0 : (_a$key = a[key]) === null || _a$key === void 0 ? void 0 : _a$key.toLowerCase();
322
+ var item2 = b === null || b === void 0 ? void 0 : (_b$key = b[key]) === null || _b$key === void 0 ? void 0 : _b$key.toLowerCase();
319
323
 
320
- if ((a === null || a === void 0 ? void 0 : a[key]) < (b === null || b === void 0 ? void 0 : b[key])) {
324
+ if (item1 < item2) {
321
325
  return -1;
322
326
  }
323
327
 
324
- if ((a === null || a === void 0 ? void 0 : a[key]) > (b === null || b === void 0 ? void 0 : b[key])) {
328
+ if (item1 > item2) {
325
329
  return 1;
326
330
  }
327
331
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.0.72",
3
+ "version": "1.0.73",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [