@insforge/react 0.5.4 → 0.5.5
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/atoms.cjs +4 -1
- package/dist/atoms.cjs.map +1 -1
- package/dist/atoms.js +4 -1
- package/dist/atoms.js.map +1 -1
- package/dist/components.cjs +4 -1
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +4 -1
- package/dist/components.js.map +1 -1
- package/dist/forms.cjs +4 -1
- package/dist/forms.cjs.map +1 -1
- package/dist/forms.js +4 -1
- package/dist/forms.js.map +1 -1
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/navigation.cjs +4 -1
- package/dist/navigation.cjs.map +1 -1
- package/dist/navigation.js +4 -1
- package/dist/navigation.js.map +1 -1
- package/package.json +1 -1
package/dist/forms.js
CHANGED
|
@@ -105,7 +105,10 @@ var NavigationContext = createContext(null);
|
|
|
105
105
|
function useNavigationAdapter() {
|
|
106
106
|
const adapter = useContext(NavigationContext);
|
|
107
107
|
if (!adapter) {
|
|
108
|
-
|
|
108
|
+
return {
|
|
109
|
+
useSearchParams: () => new URLSearchParams(),
|
|
110
|
+
Link: ({ href, children }) => /* @__PURE__ */ jsx("a", { href, children })
|
|
111
|
+
};
|
|
109
112
|
}
|
|
110
113
|
return adapter;
|
|
111
114
|
}
|