@eightshift/ui-components 1.4.0 → 1.4.1

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.
@@ -1861,7 +1861,7 @@ const LinkInput = (props) => {
1861
1861
  width: `${(_a = triggerRef.current) == null ? void 0 : _a.offsetWidth}px`
1862
1862
  },
1863
1863
  children: [
1864
- suggestionList.isLoading && /* @__PURE__ */ jsx(
1864
+ shouldShowSuggestions && suggestionList.isLoading && /* @__PURE__ */ jsx(
1865
1865
  RichLabel,
1866
1866
  {
1867
1867
  icon: cloneElement(icons.emptyCircle, { className: "es-uic-animate-spin" }),
@@ -1869,7 +1869,7 @@ const LinkInput = (props) => {
1869
1869
  className: "es-uic-min-h-12 es-uic-p-2"
1870
1870
  }
1871
1871
  ),
1872
- !suggestionList.isLoading && suggestionList.items.length === 0 && /* @__PURE__ */ jsx(
1872
+ shouldShowSuggestions && !suggestionList.isLoading && suggestionList.items.length === 0 && /* @__PURE__ */ jsx(
1873
1873
  RichLabel,
1874
1874
  {
1875
1875
  icon: icons.searchEmpty,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eightshift/ui-components",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",