@uniformdev/next-app-router 20.81.0 → 20.81.1-alpha.7.sha-91a5b13e0c
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/{UniformComposition-DBO-oo7J.d.ts → UniformComposition-C00_YDOg.d.ts} +11 -31
- package/dist/{UniformComposition-le6UEB_r.d.mts → UniformComposition-DiArCpVQ.d.mts} +11 -31
- package/dist/cache.d.mts +24 -6
- package/dist/cache.d.ts +24 -6
- package/dist/cache.js +410 -831
- package/dist/cache.mjs +405 -829
- package/dist/compat.d.mts +2 -4
- package/dist/compat.d.ts +2 -4
- package/dist/component.d.mts +10 -1
- package/dist/component.d.ts +10 -1
- package/dist/component.js +113 -617
- package/dist/component.mjs +112 -640
- package/dist/composition-BvOM-LIW.d.mts +28 -0
- package/dist/composition-BvOM-LIW.d.ts +28 -0
- package/dist/config/default.js +0 -1
- package/dist/config/default.mjs +0 -1
- package/dist/createCachedManifestProvider-C7faGJJ8.d.mts +69 -0
- package/dist/createCachedManifestProvider-C7faGJJ8.d.ts +69 -0
- package/dist/edge.d.mts +57 -0
- package/dist/edge.d.ts +57 -0
- package/dist/edge.js +1105 -0
- package/dist/edge.mjs +1073 -0
- package/dist/handler.d.mts +15 -2
- package/dist/handler.d.ts +15 -2
- package/dist/handler.js +134 -628
- package/dist/handler.mjs +132 -626
- package/dist/index.d.mts +73 -42
- package/dist/index.d.ts +73 -42
- package/dist/index.esm.js +2032 -5629
- package/dist/index.js +2068 -5661
- package/dist/index.mjs +2032 -5629
- package/dist/middleware.d.mts +52 -13
- package/dist/middleware.d.ts +52 -13
- package/dist/middleware.js +410 -5746
- package/dist/middleware.mjs +417 -5776
- package/dist/resolveRouteFromPath-BHJGOpBN.d.ts +82 -0
- package/dist/resolveRouteFromPath-BsZUVkRX.d.mts +82 -0
- package/dist/vercel.d.mts +24 -0
- package/dist/vercel.d.ts +24 -0
- package/dist/vercel.js +703 -0
- package/dist/vercel.mjs +675 -0
- package/package.json +37 -9
- package/dist/client-BElN_CWD.d.mts +0 -786
- package/dist/client-BElN_CWD.d.ts +0 -786
- package/dist/resolveRouteFromCode-BOvjIvM2.d.ts +0 -18
- package/dist/resolveRouteFromCode-CuJ4JHeb.d.mts +0 -18
package/dist/compat.d.mts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import React, { ComponentType } from 'react';
|
|
2
2
|
import { ComponentProps as ComponentProps$1, ComponentParameter } from '@uniformdev/next-app-router-shared';
|
|
3
3
|
import { U as UniformTextProps$1 } from './UniformText-ChMwHBw4.mjs';
|
|
4
|
-
import { R as ResolveComponentResult, a as ResolveComponentFunction } from './UniformComposition-
|
|
4
|
+
import { R as ResolveComponentResult, a as ResolveComponentFunction } from './UniformComposition-DiArCpVQ.mjs';
|
|
5
5
|
import '@uniformdev/next-app-router-client';
|
|
6
6
|
import '@uniformdev/canvas';
|
|
7
|
-
import './
|
|
8
|
-
import '@uniformdev/context';
|
|
9
|
-
import './resolveRouteFromCode-CuJ4JHeb.mjs';
|
|
7
|
+
import './composition-BvOM-LIW.mjs';
|
|
10
8
|
|
|
11
9
|
type ComponentContext = ComponentProps$1['component'] & {
|
|
12
10
|
parameters: Record<string, ComponentParameter>;
|
package/dist/compat.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import React, { ComponentType } from 'react';
|
|
2
2
|
import { ComponentProps as ComponentProps$1, ComponentParameter } from '@uniformdev/next-app-router-shared';
|
|
3
3
|
import { U as UniformTextProps$1 } from './UniformText-ChMwHBw4.js';
|
|
4
|
-
import { R as ResolveComponentResult, a as ResolveComponentFunction } from './UniformComposition-
|
|
4
|
+
import { R as ResolveComponentResult, a as ResolveComponentFunction } from './UniformComposition-C00_YDOg.js';
|
|
5
5
|
import '@uniformdev/next-app-router-client';
|
|
6
6
|
import '@uniformdev/canvas';
|
|
7
|
-
import './
|
|
8
|
-
import '@uniformdev/context';
|
|
9
|
-
import './resolveRouteFromCode-BOvjIvM2.js';
|
|
7
|
+
import './composition-BvOM-LIW.js';
|
|
10
8
|
|
|
11
9
|
type ComponentContext = ComponentProps$1['component'] & {
|
|
12
10
|
parameters: Record<string, ComponentParameter>;
|
package/dist/component.d.mts
CHANGED
|
@@ -7,6 +7,15 @@ export { a as UniformText, U as UniformTextProps } from './UniformText-ChMwHBw4.
|
|
|
7
7
|
|
|
8
8
|
declare const getUniformSlot: ({ slot, children }: UniformSlotProps) => ReactNode[] | undefined;
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Renders the empty script the edge middleware fills with the visitor state it computed, such as
|
|
12
|
+
* new test assignments and personalization control groups. The browser's Context reads it on
|
|
13
|
+
* start. Place it at the end of `<body>` in the root layout when using `uniformEdgeMiddleware`.
|
|
14
|
+
*
|
|
15
|
+
* Optional: without it, test assignments still persist through the placements the edge kept.
|
|
16
|
+
*/
|
|
17
|
+
declare function UniformEdgeState(): React.JSX.Element;
|
|
18
|
+
|
|
10
19
|
type CustomSlotChildRenderFunc = (options: {
|
|
11
20
|
child: ReactNode;
|
|
12
21
|
_id: string;
|
|
@@ -58,4 +67,4 @@ declare const UniformRichText: React.ForwardRefExoticComponent<{
|
|
|
58
67
|
}) => string | undefined);
|
|
59
68
|
} & Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "placeholder"> & React.RefAttributes<unknown>>;
|
|
60
69
|
|
|
61
|
-
export { UniformRichText, UniformSlot, type UniformSlotProps, getUniformSlot };
|
|
70
|
+
export { UniformEdgeState, UniformRichText, UniformSlot, type UniformSlotProps, getUniformSlot };
|
package/dist/component.d.ts
CHANGED
|
@@ -7,6 +7,15 @@ export { a as UniformText, U as UniformTextProps } from './UniformText-ChMwHBw4.
|
|
|
7
7
|
|
|
8
8
|
declare const getUniformSlot: ({ slot, children }: UniformSlotProps) => ReactNode[] | undefined;
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Renders the empty script the edge middleware fills with the visitor state it computed, such as
|
|
12
|
+
* new test assignments and personalization control groups. The browser's Context reads it on
|
|
13
|
+
* start. Place it at the end of `<body>` in the root layout when using `uniformEdgeMiddleware`.
|
|
14
|
+
*
|
|
15
|
+
* Optional: without it, test assignments still persist through the placements the edge kept.
|
|
16
|
+
*/
|
|
17
|
+
declare function UniformEdgeState(): React.JSX.Element;
|
|
18
|
+
|
|
10
19
|
type CustomSlotChildRenderFunc = (options: {
|
|
11
20
|
child: ReactNode;
|
|
12
21
|
_id: string;
|
|
@@ -58,4 +67,4 @@ declare const UniformRichText: React.ForwardRefExoticComponent<{
|
|
|
58
67
|
}) => string | undefined);
|
|
59
68
|
} & Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "placeholder"> & React.RefAttributes<unknown>>;
|
|
60
69
|
|
|
61
|
-
export { UniformRichText, UniformSlot, type UniformSlotProps, getUniformSlot };
|
|
70
|
+
export { UniformEdgeState, UniformRichText, UniformSlot, type UniformSlotProps, getUniformSlot };
|