@qtalo/qt-ui-library 0.2.2 → 0.2.3
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26621,6 +26621,9 @@ function SearchWithSuggestions({ value: e, onChange: t, suggestions: n, selected
|
|
|
26621
26621
|
function h(e) {
|
|
26622
26622
|
e.key === "Escape" && l(!1);
|
|
26623
26623
|
}
|
|
26624
|
+
function g() {
|
|
26625
|
+
l(!1), a();
|
|
26626
|
+
}
|
|
26624
26627
|
return /* @__PURE__ */ jsx(Dropdown, {
|
|
26625
26628
|
open: p,
|
|
26626
26629
|
onOpenChange: () => {},
|
|
@@ -26637,7 +26640,7 @@ function SearchWithSuggestions({ value: e, onChange: t, suggestions: n, selected
|
|
|
26637
26640
|
className: "text-neutral-700"
|
|
26638
26641
|
}), r ? /* @__PURE__ */ jsx(SelectedChip, {
|
|
26639
26642
|
suggestion: r,
|
|
26640
|
-
onClear:
|
|
26643
|
+
onClear: g
|
|
26641
26644
|
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Input, {
|
|
26642
26645
|
type: "text",
|
|
26643
26646
|
value: e,
|
|
@@ -26647,7 +26650,7 @@ function SearchWithSuggestions({ value: e, onChange: t, suggestions: n, selected
|
|
|
26647
26650
|
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"
|
|
26648
26651
|
}), e && /* @__PURE__ */ jsx(StopPropagation, { children: /* @__PURE__ */ jsx(Pressable, {
|
|
26649
26652
|
as: "span",
|
|
26650
|
-
onPress:
|
|
26653
|
+
onPress: g,
|
|
26651
26654
|
"aria-label": "Clear search",
|
|
26652
26655
|
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",
|
|
26653
26656
|
children: /* @__PURE__ */ jsx(CloseBoldIcon, { size: 10 })
|