@reactfast/nav 0.2.10 → 0.2.12
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/realfastnav.es.js +48 -15
- package/package.json +1 -1
package/dist/realfastnav.es.js
CHANGED
|
@@ -9701,17 +9701,47 @@ function gg({ baseConfig: e }) {
|
|
|
9701
9701
|
const _ = "h-6 w-6 text-gray-400";
|
|
9702
9702
|
switch (w == null ? void 0 : w.kind) {
|
|
9703
9703
|
case "faq":
|
|
9704
|
-
return {
|
|
9704
|
+
return {
|
|
9705
|
+
...w,
|
|
9706
|
+
icon: /* @__PURE__ */ b.jsx(
|
|
9707
|
+
ih,
|
|
9708
|
+
{
|
|
9709
|
+
"aria-hidden": "true",
|
|
9710
|
+
className: _
|
|
9711
|
+
}
|
|
9712
|
+
)
|
|
9713
|
+
};
|
|
9705
9714
|
case "service":
|
|
9706
|
-
return {
|
|
9715
|
+
return {
|
|
9716
|
+
...w,
|
|
9717
|
+
icon: /* @__PURE__ */ b.jsx(
|
|
9718
|
+
bh,
|
|
9719
|
+
{
|
|
9720
|
+
"aria-hidden": "true",
|
|
9721
|
+
className: _
|
|
9722
|
+
}
|
|
9723
|
+
)
|
|
9724
|
+
};
|
|
9707
9725
|
case "project":
|
|
9708
|
-
return {
|
|
9726
|
+
return {
|
|
9727
|
+
...w,
|
|
9728
|
+
icon: /* @__PURE__ */ b.jsx(qm, { "aria-hidden": "true", className: _ })
|
|
9729
|
+
};
|
|
9709
9730
|
case "post":
|
|
9710
|
-
return {
|
|
9731
|
+
return {
|
|
9732
|
+
...w,
|
|
9733
|
+
icon: /* @__PURE__ */ b.jsx(rh, { "aria-hidden": "true", className: _ })
|
|
9734
|
+
};
|
|
9711
9735
|
case "gallery":
|
|
9712
|
-
return {
|
|
9736
|
+
return {
|
|
9737
|
+
...w,
|
|
9738
|
+
icon: /* @__PURE__ */ b.jsx(oh, { "aria-hidden": "true", className: _ })
|
|
9739
|
+
};
|
|
9713
9740
|
case "location":
|
|
9714
|
-
return {
|
|
9741
|
+
return {
|
|
9742
|
+
...w,
|
|
9743
|
+
icon: /* @__PURE__ */ b.jsx(eh, { "aria-hidden": "true", className: _ })
|
|
9744
|
+
};
|
|
9715
9745
|
default:
|
|
9716
9746
|
return w;
|
|
9717
9747
|
}
|
|
@@ -9727,15 +9757,18 @@ function gg({ baseConfig: e }) {
|
|
|
9727
9757
|
h && (s(!0), typeof window < "u" && (window.location.href = `/search?q=${encodeURIComponent(h)}`));
|
|
9728
9758
|
}, m = (f) => {
|
|
9729
9759
|
f || (o(""), r([]), a.current && clearTimeout(a.current));
|
|
9730
|
-
}, d = ve(
|
|
9731
|
-
|
|
9732
|
-
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
|
|
9760
|
+
}, d = ve(
|
|
9761
|
+
() => ({
|
|
9762
|
+
...e,
|
|
9763
|
+
search: !0,
|
|
9764
|
+
onSearchChange: c,
|
|
9765
|
+
onSearch: u,
|
|
9766
|
+
onSearchOpenChange: m,
|
|
9767
|
+
onClearQuickResults: () => r([]),
|
|
9768
|
+
onBeginNavigate: () => s(!0)
|
|
9769
|
+
}),
|
|
9770
|
+
[e]
|
|
9771
|
+
);
|
|
9739
9772
|
return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
|
|
9740
9773
|
i && /* @__PURE__ */ b.jsx("div", { className: "fixed inset-0 z-[60]", children: /* @__PURE__ */ b.jsx(lg, {}) }),
|
|
9741
9774
|
/* @__PURE__ */ b.jsx(sg, { config: d, quickSearchResults: t })
|
package/package.json
CHANGED