@ssgoi/react 7.4.1 → 7.5.0-beta.0
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/README.md +165 -143
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -3
- package/dist/layout-boundary.cjs +2 -0
- package/dist/layout-boundary.d.ts +35 -0
- package/dist/layout-boundary.js +63 -0
- package/dist/legacy/nextjs/index.d.ts +9 -0
- package/dist/{routers → legacy}/nextjs/selected-segments-to-path.d.ts +3 -0
- package/dist/legacy/nextjs/ssgoi-route-boundary.cjs +2 -0
- package/dist/{routers → legacy}/nextjs/ssgoi-route-boundary.d.ts +14 -1
- package/dist/legacy/nextjs/ssgoi-route-boundary.js +14 -0
- package/dist/legacy/react-router.d.ts +20 -0
- package/dist/legacy/remix.d.ts +25 -0
- package/dist/legacy/route-boundary.cjs +2 -0
- package/dist/legacy/route-boundary.d.ts +33 -0
- package/dist/legacy/route-boundary.js +33 -0
- package/dist/{ssgoi-transition.d.ts → legacy/ssgoi-transition.d.ts} +1 -2
- package/dist/legacy/tanstack-router.d.ts +19 -0
- package/dist/legacy/unplugin/esbuild.d.ts +3 -0
- package/dist/legacy/unplugin/index.d.ts +17 -0
- package/dist/legacy/unplugin/rollup.d.ts +3 -0
- package/dist/legacy/unplugin/vite.d.ts +3 -0
- package/dist/legacy/unplugin/webpack.d.ts +3 -0
- package/dist/nextjs.cjs +1 -1
- package/dist/nextjs.d.ts +1 -1
- package/dist/nextjs.js +2 -2
- package/dist/react-router.cjs +1 -1
- package/dist/react-router.d.ts +1 -1
- package/dist/react-router.js +7 -10
- package/dist/remix.cjs +1 -1
- package/dist/remix.d.ts +1 -1
- package/dist/remix.js +7 -10
- package/dist/ssgoi.cjs +1 -1
- package/dist/ssgoi.d.ts +6 -0
- package/dist/ssgoi.js +23 -15
- package/dist/tanstack-router.cjs +1 -1
- package/dist/tanstack-router.d.ts +1 -1
- package/dist/tanstack-router.js +12 -13
- package/dist/unplugin/esbuild.d.ts +4 -2
- package/dist/unplugin/index.d.ts +6 -14
- package/dist/unplugin/rollup.d.ts +4 -2
- package/dist/unplugin/vite.d.ts +4 -2
- package/dist/unplugin/webpack.d.ts +4 -2
- package/package.json +11 -11
- package/dist/routers/nextjs/index.d.ts +0 -4
- package/dist/routers/nextjs/ssgoi-route-boundary.cjs +0 -2
- package/dist/routers/nextjs/ssgoi-route-boundary.js +0 -24
- package/dist/routers/react-router.d.ts +0 -7
- package/dist/routers/remix.d.ts +0 -8
- package/dist/routers/route-boundary.cjs +0 -2
- package/dist/routers/route-boundary.d.ts +0 -22
- package/dist/routers/route-boundary.js +0 -22
- package/dist/routers/tanstack-router.d.ts +0 -6
- /package/dist/{routers → legacy}/nextjs/selected-segments-to-path.cjs +0 -0
- /package/dist/{routers → legacy}/nextjs/selected-segments-to-path.js +0 -0
- /package/dist/{ssgoi-transition.cjs → legacy/ssgoi-transition.cjs} +0 -0
- /package/dist/{ssgoi-transition.js → legacy/ssgoi-transition.js} +0 -0
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { createElement as r } from "react";
|
|
3
|
-
function s({
|
|
4
|
-
boundary: t,
|
|
5
|
-
routeKey: e,
|
|
6
|
-
as: o,
|
|
7
|
-
children: n,
|
|
8
|
-
...i
|
|
9
|
-
}) {
|
|
10
|
-
return /* @__PURE__ */ r(
|
|
11
|
-
o ?? "div",
|
|
12
|
-
{
|
|
13
|
-
...i,
|
|
14
|
-
key: e ?? t.key ?? t.id,
|
|
15
|
-
"data-ssgoi-transition": t.id
|
|
16
|
-
},
|
|
17
|
-
n
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
s as RouteBoundary
|
|
22
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ElementType } from 'react';
|
|
2
|
-
import { RouteBoundaryProps, RouteLocation } from './route-boundary';
|
|
3
|
-
export type SsgoiRouteBoundaryProps<T extends ElementType = "div"> = RouteBoundaryProps<RouteLocation, T>;
|
|
4
|
-
/** @experimental TanStack Router integration. The API may change. */
|
|
5
|
-
export declare function SsgoiRouteBoundary<T extends ElementType = "div">({ resolve, ...props }: SsgoiRouteBoundaryProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export type { RouteBoundaryState } from './route-boundary';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|