@datum-cloud/datum-ui 1.7.0 → 1.7.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.
|
@@ -165,10 +165,10 @@ function Autosearch({ options = [], value, onValueChange, onSearch, searchDeboun
|
|
|
165
165
|
className: cn("w-full pr-10", inputClassName)
|
|
166
166
|
}),
|
|
167
167
|
loading && /* @__PURE__ */ jsx(Loader2, { className: "text-muted-foreground pointer-events-none absolute top-1/2 right-3 h-4 w-4 -translate-y-1/2 animate-spin" }),
|
|
168
|
-
showNoResults && /* @__PURE__ */ jsx(
|
|
169
|
-
|
|
170
|
-
children: /* @__PURE__ */ jsx(
|
|
171
|
-
|
|
168
|
+
showNoResults && /* @__PURE__ */ jsx("span", {
|
|
169
|
+
className: "absolute top-1/2 right-3 h-4 w-4 -translate-y-1/2",
|
|
170
|
+
children: /* @__PURE__ */ jsx(Tooltip, {
|
|
171
|
+
message: emptyMessage,
|
|
172
172
|
children: /* @__PURE__ */ jsx(AlertCircle, { className: "text-destructive h-4 w-4" })
|
|
173
173
|
})
|
|
174
174
|
})
|