intelicoreact 1.3.94 → 1.3.95

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.
@@ -107,7 +107,7 @@ const DropdownLiveSearch = _ref => {
107
107
  if (!options) return null;
108
108
 
109
109
  const handleClickOutside = event => {
110
- if (!dropdownLiveSearchRef.current.contains(event.target)) setIsOpen(false);
110
+ if (!dropdownLiveSearchRef.current.contains(event.target) && !getListContainer().contains(event.target)) setIsOpen(false);
111
111
  };
112
112
 
113
113
  const highlightedText = (text, postfix) => {
@@ -237,7 +237,17 @@
237
237
 
238
238
  .dropdown-live-search-mobile {
239
239
  .dropdown-live-search__arrow {
240
+ display: flex;
241
+ align-items: center;
242
+ justify-content: center;
240
243
  transform: rotate(90deg) translateX(-50%);
244
+ top: 50%;
245
+
246
+ svg {
247
+ width: 12px;
248
+ height: 12px;
249
+ color: #9AA0B9;
250
+ }
241
251
  }
242
252
  .dropdown-live-search__container-wrapper {
243
253
  overflow: hidden !important;
@@ -427,6 +437,23 @@
427
437
  &-with-shadow-hidden::after {
428
438
  opacity: 0;
429
439
  }
440
+
441
+ .dropdown-live-search__input {
442
+ display: flex;
443
+ align-items: center;
444
+
445
+ width: 100%;
446
+ height: 28px;
447
+ padding-right: $spacing-s;
448
+
449
+ border: 1px solid var(--form-input-border, #e1e8f1);
450
+ border-radius: 6px;
451
+ background: var(--black-bg-color, #f8fbff) !important;
452
+
453
+ input {
454
+ background: unset !important;
455
+ }
456
+ }
430
457
  }
431
458
 
432
459
  &-close-icon {
@@ -480,23 +507,6 @@
480
507
  }
481
508
  }
482
509
  }
483
-
484
- .dropdown-live-search__input {
485
- display: flex;
486
- align-items: center;
487
-
488
- width: 100%;
489
- height: 28px;
490
- padding-right: $spacing-s;
491
-
492
- border: 1px solid var(--form-input-border, #e1e8f1);
493
- border-radius: 6px;
494
- background: var(--black-bg-color, #f8fbff) !important;
495
-
496
- input {
497
- background: unset !important;
498
- }
499
- }
500
510
  }
501
511
 
502
512
  @keyframes slideup {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.3.94",
3
+ "version": "1.3.95",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [