intelicoreact 1.4.33 → 1.4.34

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.
@@ -625,7 +625,7 @@ const Dropdown = _ref => {
625
625
  className: (0, _classnames.default)(RC, className, {
626
626
  disabled,
627
627
  ["".concat(RC, "-mobile")]: isMobile,
628
- ["".concat(RC, "--focused")]: isOpen,
628
+ ["".concat(RC, "--focused")]: isOpen && !isMobile,
629
629
  ["".concat(RC, "--with-custom-trigger")]: Boolean(customTrigger)
630
630
  }),
631
631
  ref: dropdownRef,
@@ -422,7 +422,6 @@
422
422
  top: 0;
423
423
 
424
424
  padding: $spacing-m !important;
425
- padding-top: 0 !important;
426
425
 
427
426
  &-wrapper {
428
427
  position: sticky;
@@ -960,14 +960,23 @@ const TagsDropdown = _ref => {
960
960
  unselectAllButtonRef === null || unselectAllButtonRef === void 0 ? void 0 : (_unselectAllButtonRef = unselectAllButtonRef.current) === null || _unselectAllButtonRef === void 0 ? void 0 : _unselectAllButtonRef[fn]("click", unselectAllItems, true);
961
961
 
962
962
  if (isOpen) {
963
- var _getListContainer5, _inputRef$current2, _inputRef$current2$fo;
963
+ var _getListContainer5;
964
964
 
965
965
  if (customTriggerRef !== null && customTriggerRef !== void 0 && customTriggerRef.current) {
966
966
  customTriggerRef.current.style.pointerEvents = "none";
967
967
  }
968
968
 
969
969
  (_getListContainer5 = getListContainer()) === null || _getListContainer5 === void 0 ? void 0 : _getListContainer5.classList.add("tags-dropdown__container--opened");
970
- inputRef === null || inputRef === void 0 ? void 0 : (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : (_inputRef$current2$fo = _inputRef$current2.focus) === null || _inputRef$current2$fo === void 0 ? void 0 : _inputRef$current2$fo.call(_inputRef$current2);
970
+
971
+ if (!isMobile) {
972
+ var _inputRef$current2, _inputRef$current2$fo;
973
+
974
+ inputRef === null || inputRef === void 0 ? void 0 : (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : (_inputRef$current2$fo = _inputRef$current2.focus) === null || _inputRef$current2$fo === void 0 ? void 0 : _inputRef$current2$fo.call(_inputRef$current2);
975
+ } else {
976
+ var _inputRef$current3, _inputRef$current3$bl;
977
+
978
+ inputRef === null || inputRef === void 0 ? void 0 : (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : (_inputRef$current3$bl = _inputRef$current3.blur) === null || _inputRef$current3$bl === void 0 ? void 0 : _inputRef$current3$bl.call(_inputRef$current3);
979
+ }
971
980
  } else {
972
981
  var _getListContainer6;
973
982
 
@@ -1037,7 +1046,7 @@ const TagsDropdown = _ref => {
1037
1046
  className: (0, _classnames.default)(RC, className, {
1038
1047
  ["".concat(RC, "_disabled")]: disabled,
1039
1048
  ["".concat(RC, "-mobile")]: isMobile,
1040
- ["".concat(RC, "--focused")]: isOpen && !(customTriggerRef !== null && customTriggerRef !== void 0 && customTriggerRef.current),
1049
+ ["".concat(RC, "--focused")]: isOpen && !(customTriggerRef !== null && customTriggerRef !== void 0 && customTriggerRef.current) && !isMobile,
1041
1050
  ["".concat(RC, "--custom-trigger")]: Boolean(customTriggerRef === null || customTriggerRef === void 0 ? void 0 : customTriggerRef.current)
1042
1051
  }),
1043
1052
  ref: dropdownRef
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.4.33",
3
+ "version": "1.4.34",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [