@uniformdev/canvas-next-rsc-shared 19.84.0 → 19.85.1-alpha.13
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.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -115,6 +115,8 @@ type ComponentProps<TProps = unknown, TSlotNames extends string = string> = TPro
|
|
|
115
115
|
component: ComponentInstance;
|
|
116
116
|
context: CompositionContext;
|
|
117
117
|
slots: Record<TSlotNames, SlotDefinition>;
|
|
118
|
+
slotName: string | undefined;
|
|
119
|
+
slotIndex: number | undefined;
|
|
118
120
|
};
|
|
119
121
|
type CompositionContext = Omit<RouteGetResponseComposition, 'compositionApiResponse'> & {
|
|
120
122
|
composition: RootComponentInstance;
|
|
@@ -169,6 +171,8 @@ declare const runTest: ({ test, component, contextInstance, }: TestProps & {
|
|
|
169
171
|
component: _uniformdev_canvas.ComponentInstance;
|
|
170
172
|
context: CompositionContext;
|
|
171
173
|
slots: Record<string, SlotDefinition>;
|
|
174
|
+
slotName: string | undefined;
|
|
175
|
+
slotIndex: number | undefined;
|
|
172
176
|
} & {
|
|
173
177
|
contextInstance: Pick<ContextInstance, 'test'> | undefined;
|
|
174
178
|
}) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -115,6 +115,8 @@ type ComponentProps<TProps = unknown, TSlotNames extends string = string> = TPro
|
|
|
115
115
|
component: ComponentInstance;
|
|
116
116
|
context: CompositionContext;
|
|
117
117
|
slots: Record<TSlotNames, SlotDefinition>;
|
|
118
|
+
slotName: string | undefined;
|
|
119
|
+
slotIndex: number | undefined;
|
|
118
120
|
};
|
|
119
121
|
type CompositionContext = Omit<RouteGetResponseComposition, 'compositionApiResponse'> & {
|
|
120
122
|
composition: RootComponentInstance;
|
|
@@ -169,6 +171,8 @@ declare const runTest: ({ test, component, contextInstance, }: TestProps & {
|
|
|
169
171
|
component: _uniformdev_canvas.ComponentInstance;
|
|
170
172
|
context: CompositionContext;
|
|
171
173
|
slots: Record<string, SlotDefinition>;
|
|
174
|
+
slotName: string | undefined;
|
|
175
|
+
slotIndex: number | undefined;
|
|
172
176
|
} & {
|
|
173
177
|
contextInstance: Pick<ContextInstance, 'test'> | undefined;
|
|
174
178
|
}) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc-shared",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.85.1-alpha.13+642f68468",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
],
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^18.0.0",
|
|
28
|
-
"@types/react": "18.2.
|
|
28
|
+
"@types/react": "18.2.39",
|
|
29
29
|
"eslint": "8.54.0",
|
|
30
30
|
"next": "^13.4.12",
|
|
31
31
|
"react": "18.2.0",
|
|
32
32
|
"react-dom": "18.2.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@uniformdev/canvas": "19.
|
|
36
|
-
"@uniformdev/context": "19.
|
|
35
|
+
"@uniformdev/canvas": "19.85.1-alpha.13+642f68468",
|
|
36
|
+
"@uniformdev/context": "19.85.1-alpha.13+642f68468"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=16.14.0"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "642f684682fa3d0166b58e5ddc7548cfa18f21f3"
|
|
50
50
|
}
|