@petnow/ui 1.5.0 → 1.5.2
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.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -15208,8 +15208,8 @@ const jy = ({ label: n, placeholder: r, value: e, options: t, onChange: o, disab
|
|
|
15208
15208
|
const [l, c] = le(""), [u, d] = le(e), m = l === "" ? t.slice(0, 4) : t.filter((g) => g.name.replace(/ /g, "").includes(l.replace(/ /g, ""))).slice(0, 4);
|
|
15209
15209
|
let p;
|
|
15210
15210
|
const f = (g) => {
|
|
15211
|
-
p && clearTimeout(p), p = setTimeout(async () => {
|
|
15212
|
-
|
|
15211
|
+
p && clearTimeout(p), d(void 0), p = setTimeout(async () => {
|
|
15212
|
+
c(g.target.value);
|
|
15213
15213
|
}, 200);
|
|
15214
15214
|
}, h = (g) => {
|
|
15215
15215
|
d(void 0), c(g.target.value);
|