@qtalo/qt-ui-library 0.2.0 → 0.2.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.
- package/dist/index.cjs +17 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26418,14 +26418,20 @@ function SearchWithSuggestions({ value: e, onChange: t, suggestions: n, selected
|
|
|
26418
26418
|
}), r ? /* @__PURE__ */ jsx(SelectedChip, {
|
|
26419
26419
|
suggestion: r,
|
|
26420
26420
|
onClear: a
|
|
26421
|
-
}) : /* @__PURE__ */ jsx(Input, {
|
|
26421
|
+
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Input, {
|
|
26422
26422
|
type: "text",
|
|
26423
26423
|
value: e,
|
|
26424
26424
|
placeholder: o,
|
|
26425
26425
|
onChange: t,
|
|
26426
26426
|
onKeyDown: h,
|
|
26427
26427
|
className: "text-neutral-800 placeholder:text-neutral-700-alpha-60 m-0 h-5 min-w-0 flex-1 border-0 bg-transparent p-0 text-xs outline-none"
|
|
26428
|
-
})
|
|
26428
|
+
}), e && /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(Pressable, {
|
|
26429
|
+
as: "span",
|
|
26430
|
+
onPress: a,
|
|
26431
|
+
"aria-label": "Clear search",
|
|
26432
|
+
className: "text-neutral-700 flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-full opacity-80 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current",
|
|
26433
|
+
children: /* @__PURE__ */ jsx(CloseBoldIcon, { size: 10 })
|
|
26434
|
+
}) })] })]
|
|
26429
26435
|
}),
|
|
26430
26436
|
children: /* @__PURE__ */ jsxs("div", {
|
|
26431
26437
|
className: "border-neutral-200 w-[260px] overflow-hidden rounded-xl border bg-white shadow-lg",
|