@my-react/react-reconciler-compact 0.0.14 → 0.0.15

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.
@@ -1,4 +1,4 @@
1
- import { type MyReactElementNode } from "@my-react/react";
1
+ import { type MyReactElementNode } from "@my-react/react/type";
2
2
  import { MyReactFiberNode, CustomRenderDispatch } from "@my-react/react-reconciler";
3
3
  import { STATE_TYPE } from "@my-react/react-shared";
4
4
  import type { ReconcilerDispatch } from "./dispatch";
@@ -8,10 +8,10 @@ export type RenderContainer = Record<string, any> & {
8
8
  __container__: ReconcilerDispatch;
9
9
  };
10
10
  export declare const Reconciler: (_config: any) => {
11
- createPortal: (_element: MyReactElementNode, _container: RenderContainer) => import("@my-react/react").MyReactElement;
11
+ createPortal: (_element: MyReactElementNode, _container: RenderContainer) => import("@my-react/react/type").MyReactElement;
12
12
  createContainer: (_container: RenderContainer, flag: number) => RenderContainer;
13
13
  updateContainer: (_element: MyReactElementNode, _container: RenderContainer, _ignore: any, _cb: () => void) => void;
14
- injectIntoDevTools: (_config: any) => Promise<void>;
14
+ injectIntoDevTools: (_config: any) => void;
15
15
  getPublicRootInstance: (_container: RenderContainer) => {
16
16
  enableUpdate: boolean;
17
17
  enableAsyncLoad: boolean;
@@ -32,8 +32,8 @@ export declare const Reconciler: (_config: any) => {
32
32
  reconcileUpdate(_list: import("@my-react/react-shared").ListTree<MyReactFiberNode>, sync?: boolean): void;
33
33
  patchToFiberInitial(_fiber: MyReactFiberNode): void;
34
34
  patchToFiberUnmount(_fiber: MyReactFiberNode): void;
35
- dispatchState(_params: import("@my-react/react").UpdateQueue): void;
36
- dispatchHook(_params: import("@my-react/react").RenderHookParams): unknown;
35
+ dispatchState(_params: import("@my-react/react/type").UpdateQueue): void;
36
+ dispatchHook(_params: import("@my-react/react/type").RenderHookParams): unknown;
37
37
  dispatchPromise(_params: {
38
38
  fiber?: MyReactFiberNode;
39
39
  promise?: Promise<unknown>;
@@ -90,22 +90,22 @@ export declare const Reconciler: (_config: any) => {
90
90
  stickyToFoot?: boolean;
91
91
  }): void;
92
92
  patchToFiberUpdate(_fiber: MyReactFiberNode): void;
93
- processLazy(_elementType: ReturnType<typeof import("@my-react/react").lazy>): Promise<void>;
93
+ processLazy(_elementType: ReturnType<typeof import("@my-react/react/type").lazy>): Promise<void>;
94
94
  processPromise(_promise: import("@my-react/react-reconciler").PromiseWithState<unknown>): Promise<void>;
95
95
  resolveStrict(_fiber: MyReactFiberNode): boolean;
96
96
  resolveScope(_fiber: MyReactFiberNode): MyReactFiberNode | null;
97
97
  resolveSuspenseValue(_fiber: MyReactFiberNode): MyReactElementNode;
98
98
  resolveSuspenseFiber(_fiber: MyReactFiberNode): MyReactFiberNode | null;
99
99
  resolveErrorBoundaries(_fiber: MyReactFiberNode): MyReactFiberNode | null;
100
- resolveContextFiber(_fiber: MyReactFiberNode, _contextObject?: ReturnType<typeof import("@my-react/react").createContext> | null): MyReactFiberNode | null;
101
- resolveContextValue(_fiber: MyReactFiberNode | null, _contextObject?: ReturnType<typeof import("@my-react/react").createContext> | null): Record<string, unknown> | null;
100
+ resolveContextFiber(_fiber: MyReactFiberNode, _contextObject?: ReturnType<typeof import("@my-react/react/type").createContext> | null): MyReactFiberNode | null;
101
+ resolveContextValue(_fiber: MyReactFiberNode | null, _contextObject?: ReturnType<typeof import("@my-react/react/type").createContext> | null): Record<string, unknown> | null;
102
102
  reconcileUnmount(): void;
103
103
  shouldYield(): boolean;
104
104
  resetYield(): void;
105
105
  resetUpdateFlowRuntimeFiber(): void;
106
106
  getFiberTree(_fiber: MyReactFiberNode): string;
107
107
  readPromise(_params: Promise<unknown>): unknown;
108
- readContext(_params: ReturnType<typeof import("@my-react/react").createContext>): unknown;
108
+ readContext(_params: ReturnType<typeof import("@my-react/react/type").createContext>): unknown;
109
109
  runtimeMap: import("@my-react/react-reconciler").RenderDispatch["runtimeMap"];
110
110
  runtimeFiber: import("@my-react/react-reconciler").RenderDispatch["runtimeFiber"];
111
111
  dispatcher: import("@my-react/react-reconciler").RenderDispatch["dispatcher"];
@@ -123,9 +123,9 @@ export declare const Reconciler: (_config: any) => {
123
123
  onFiberUnmount(cb: (_fiber: MyReactFiberNode) => void): () => boolean;
124
124
  onceFiberUnmount(cb: (_fiber: MyReactFiberNode) => void): void;
125
125
  callOnFiberUnmount(_fiber: MyReactFiberNode): void;
126
- onFiberState(cb: (_fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue) => void): () => boolean;
127
- onceFiberState(cb: (_fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue) => void): void;
128
- callOnFiberState(_fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue): void;
126
+ onFiberState(cb: (_fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue) => void): () => boolean;
127
+ onceFiberState(cb: (_fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue) => void): void;
128
+ callOnFiberState(_fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue): void;
129
129
  onFiberTrigger(cb: (_fiber: MyReactFiberNode, _state: import("@my-react/react-reconciler").UpdateState) => void): () => boolean;
130
130
  onceFiberTrigger(cb: (_fiber: MyReactFiberNode, _state: import("@my-react/react-reconciler").UpdateState) => void): void;
131
131
  callOnFiberTrigger(_fiber: MyReactFiberNode, _state: import("@my-react/react-reconciler").UpdateState): void;
@@ -162,18 +162,18 @@ export declare const Reconciler: (_config: any) => {
162
162
  onAfterDispatchUpdate(cb: (renderDispatch: CustomRenderDispatch) => void): () => boolean;
163
163
  onceAfterDispatchUpdate(cb: (renderDispatch: CustomRenderDispatch) => void): void;
164
164
  callOnAfterDispatchUpdate(renderDispatch: CustomRenderDispatch): void;
165
- onInstanceInitial(cb: (_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode) => void): () => boolean;
166
- onceInstanceInitial(cb: (_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode) => void): void;
167
- callOnInstanceInitial(_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode): void;
168
- onInstanceUpdate(cb: (_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode) => void): () => boolean;
169
- onceInstanceUpdate(cb: (_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode) => void): void;
170
- callOnInstanceUpdate(_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode): void;
171
- onInstanceState(cb: (_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue) => void): () => boolean;
172
- onceInstanceState(cb: (_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue) => void): void;
173
- callOnInstanceState(_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue): void;
174
- onInstanceUnmount(cb: (_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode) => void): () => boolean;
175
- onceInstanceUnmount(cb: (_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode) => void): void;
176
- callOnInstanceUnmount(_instance: import("@my-react/react").MyReactComponent, _fiber: MyReactFiberNode): void;
165
+ onInstanceInitial(cb: (_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode) => void): () => boolean;
166
+ onceInstanceInitial(cb: (_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode) => void): void;
167
+ callOnInstanceInitial(_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode): void;
168
+ onInstanceUpdate(cb: (_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode) => void): () => boolean;
169
+ onceInstanceUpdate(cb: (_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode) => void): void;
170
+ callOnInstanceUpdate(_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode): void;
171
+ onInstanceState(cb: (_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue) => void): () => boolean;
172
+ onceInstanceState(cb: (_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue) => void): void;
173
+ callOnInstanceState(_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue): void;
174
+ onInstanceUnmount(cb: (_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode) => void): () => boolean;
175
+ onceInstanceUnmount(cb: (_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode) => void): void;
176
+ callOnInstanceUnmount(_instance: import("@my-react/react/type").MyReactComponent, _fiber: MyReactFiberNode): void;
177
177
  onHookInitial(cb: (_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode) => void): () => boolean;
178
178
  onceHookInitial(cb: (_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode) => void): void;
179
179
  callOnHookInitial(_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode): void;
@@ -183,9 +183,9 @@ export declare const Reconciler: (_config: any) => {
183
183
  onHookUnmount(cb: (_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode) => void): () => boolean;
184
184
  onceHookUnmount(cb: (_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode) => void): void;
185
185
  callOnHookUnmount(_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode): void;
186
- onHookState(cb: (_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue) => void): () => boolean;
187
- onceHookTrigger(cb: (_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue) => void): void;
188
- callOnHookState(_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode, _updater: import("@my-react/react").UpdateQueue): void;
186
+ onHookState(cb: (_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue) => void): () => boolean;
187
+ onceHookTrigger(cb: (_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue) => void): void;
188
+ callOnHookState(_hook: import("@my-react/react-reconciler").MyReactHookNode, _fiber: MyReactFiberNode, _updater: import("@my-react/react/type").UpdateQueue): void;
189
189
  onBeforeCommitMount(cb: (renderDispatch: CustomRenderDispatch) => void): () => boolean;
190
190
  onceBeforeCommitMount(cb: (renderDispatch: CustomRenderDispatch) => void): void;
191
191
  callOnBeforeCommitMount(renderDispatch: CustomRenderDispatch): void;
@@ -205,9 +205,9 @@ export declare const Reconciler: (_config: any) => {
205
205
  onceAfterCommitUnmount(cb: (renderDispatch: CustomRenderDispatch) => void): void;
206
206
  callOnAfterCommitUnmount(renderDispatch: CustomRenderDispatch): void;
207
207
  get isMyReactInstance(): boolean;
208
- _reactInternals?: import("@my-react/react").RenderFiber;
208
+ _reactInternals?: import("@my-react/react/type").RenderFiber;
209
209
  };
210
- injectIntoDevToolsWithSocketIO: (url: string, _config: any) => Promise<void>;
210
+ injectIntoDevToolsAuto: (url: string, _config: any) => Promise<void>;
211
211
  flushSync: <T extends any[] = any[], K = any>(action: (...args: T) => K, ...args: T) => K;
212
212
  flushSyncWork: <T extends any[] = any[], K = any>(action: (...args: T) => K, ...args: T) => K;
213
213
  batchedUpdates: <T extends any[] = any[], K = any>(action: (...args: T) => K, ...args: T) => K;
@@ -1 +1 @@
1
- {"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../src/feature.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8C,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACtG,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EAS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AE,OAAO,CAAC;CACnB;AAED,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,uBAA4B,GAAG,OAAO,CAAC,IAAI,CAAC,CA4BxG;AA0TD,wBAAsB,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,uBAA4B,GAAG,OAAO,CAAC,CAAC,CAAC,CAkB9G"}
1
+ {"version":3,"file":"polyfill.d.ts","sourceRoot":"","sources":["../../src/polyfill.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,uBAA4B,GAAG,OAAO,CAAC,IAAI,CAAC,CA4BxG;AA4VD,wBAAsB,gBAAgB,CAAC,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,uBAA4B,GAAG,OAAO,CAAC,CAAC,CAAC,CAkB9G"}
@@ -1,6 +1,6 @@
1
- import { type MyReactElementNode } from "@my-react/react";
1
+ import { type MyReactElementNode } from "@my-react/react/type";
2
2
  import type { RenderContainer } from "./feature";
3
3
  import type { MyReactFiberNode, CustomRenderDispatch } from "@my-react/react-reconciler";
4
- export declare const createPortal: (_element: MyReactElementNode, _container: RenderContainer) => import("@my-react/react").MyReactElement;
4
+ export declare const createPortal: (_element: MyReactElementNode, _container: RenderContainer) => import("@my-react/react/type").MyReactElement;
5
5
  export declare const nextWorkPortal: (renderDispatch: CustomRenderDispatch, fiber: MyReactFiberNode) => void;
6
6
  //# sourceMappingURL=portal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../src/portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,iBAAiB,CAAC;AAIzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAyB,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEhH,eAAO,MAAM,YAAY,GAAI,UAAU,kBAAkB,EAAE,YAAY,eAAe,6CAIrF,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,gBAAgB,oBAAoB,EAAE,OAAO,gBAAgB,SAgB3F,CAAC"}
1
+ {"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../src/portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,sBAAsB,CAAC;AAI9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAyB,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEhH,eAAO,MAAM,YAAY,GAAI,UAAU,kBAAkB,EAAE,YAAY,eAAe,kDAIrF,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,gBAAgB,oBAAoB,EAAE,OAAO,gBAAgB,SAgB3F,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const preloadDevToolRuntimeAuto: () => Promise<void>;
2
+ export declare const preloadDevToolRuntimeSocketIO: () => Promise<void>;
3
+ export declare const preloadDevToolRuntimeWebsocket: () => Promise<void>;
4
+ //# sourceMappingURL=preload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preload.d.ts","sourceRoot":"","sources":["../../src/preload.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,qBAMrC,CAAC;AAEF,eAAO,MAAM,6BAA6B,qBAMzC,CAAC;AAEF,eAAO,MAAM,8BAA8B,qBAK1C,CAAC"}
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { default, HostConfig } from "react-reconciler";
1
+ export { default, HostConfig } from "react-reconciler";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "@my-react/react-reconciler-compact",
4
4
  "author": "MrWangJustToDo",
5
5
  "license": "MIT",
6
- "version": "0.0.14",
6
+ "version": "0.0.15",
7
7
  "main": "index.js",
8
8
  "types": "index.d.ts",
9
9
  "files": [
@@ -35,6 +35,11 @@
35
35
  "require": "./type.js",
36
36
  "types": "./type.d.ts"
37
37
  },
38
+ "./preload": {
39
+ "types": "./preload.d.ts",
40
+ "require": "./preload.js",
41
+ "import": "./dist/esm/preload.mjs"
42
+ },
38
43
  "./package.json": "./package.json"
39
44
  },
40
45
  "buildOptions": [
@@ -57,6 +62,7 @@
57
62
  },
58
63
  {
59
64
  "input": "./src/constants.ts",
65
+ "pkgName": "constants",
60
66
  "output": [
61
67
  {
62
68
  "dir": "./dist",
@@ -71,14 +77,32 @@
71
77
  "format": "esm"
72
78
  }
73
79
  ]
80
+ },
81
+ {
82
+ "input": "./src/preload.ts",
83
+ "pkgName": "preload",
84
+ "output": [
85
+ {
86
+ "dir": "./dist",
87
+ "entryFileNames": "cjs/preload.js",
88
+ "format": "cjs",
89
+ "type": true,
90
+ "multiple": true
91
+ },
92
+ {
93
+ "dir": "./dist",
94
+ "entryFileNames": "esm/preload.mjs",
95
+ "format": "esm"
96
+ }
97
+ ]
74
98
  }
75
99
  ],
76
100
  "devDependencies": {
77
- "@my-react/react-reconciler": "^0.3.23",
78
- "@my-react/react-shared": "^0.3.23",
101
+ "@my-react/react-reconciler": "^0.3.24",
102
+ "@my-react/react-shared": "^0.3.24",
79
103
  "@types/react-reconciler": "^0.32.3"
80
104
  },
81
105
  "peerDependencies": {
82
- "@my-react/react": ">=0.3.23"
106
+ "@my-react/react": ">=0.3.24"
83
107
  }
84
108
  }