@mindees/renderer 0.1.0 → 0.2.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 +6 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/native-app.d.ts +38 -0
- package/dist/native-app.d.ts.map +1 -0
- package/dist/native-app.js +41 -0
- package/dist/native-app.js.map +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,6 +14,12 @@ attribute/text/region — no virtual-DOM diffing.
|
|
|
14
14
|
> direct `createNativeBackend()` and `createCanvasBackend()` seams throw
|
|
15
15
|
> `NotImplementedError`. APIs may change before `1.0`.
|
|
16
16
|
|
|
17
|
+
## Install
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pnpm add @mindees/renderer
|
|
21
|
+
```
|
|
22
|
+
|
|
17
23
|
## Why Helix
|
|
18
24
|
|
|
19
25
|
- **Fine-grained updates** — built on `@mindees/core` signals: updates are
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { HeadlessNode, createHeadlessBackend, createHeadlessRoot, isEventProp }
|
|
|
4
4
|
import { CreateNodeCommand, CreateTextCommand, DisposeNodeCommand, InsertChildCommand, NativeCommand, NativeNodeId, NativePropValue, RegisterEventCommand, RemoveChildCommand, RemovePropCommand, SetPropCommand, UnregisterEventCommand, UpdateTextCommand, createNativeNodeIdFactory, isNativeCommand, isNativePropValue, normalizeNativeProp } from "./native-protocol.js";
|
|
5
5
|
import { NativeCommandBackend, NativeCommandBackendOptions, NativeCommandNode, createNativeCommandBackend } from "./native-command-backend.js";
|
|
6
6
|
import { CanvasBackend, NativeBackend, createCanvasBackend, createNativeBackend } from "./native.js";
|
|
7
|
+
import { CreateNativeAppOptions, NativeApp, createNativeApp } from "./native-app.js";
|
|
7
8
|
import { NativeHostError, ReferenceHost, ReferenceHostNode, createReferenceHost } from "./native-host.js";
|
|
8
9
|
import { Mounted, render } from "./render.js";
|
|
9
10
|
import { hydrate, renderToString } from "./ssr.js";
|
|
@@ -13,7 +14,7 @@ import { Maturity, NotImplementedError, PackageInfo, notImplemented } from "@min
|
|
|
13
14
|
/** The npm package name. */
|
|
14
15
|
declare const name = "@mindees/renderer";
|
|
15
16
|
/** The package version. All `@mindees/*` packages share one locked version line. */
|
|
16
|
-
declare const VERSION = "0.
|
|
17
|
+
declare const VERSION = "0.2.0";
|
|
17
18
|
/**
|
|
18
19
|
* Current maturity. The Helix **web/DOM** renderer (reconciler, DOM backend,
|
|
19
20
|
* headless backend, SSR + hydration) is implemented and tested. Native
|
|
@@ -28,5 +29,5 @@ declare const maturity: Maturity;
|
|
|
28
29
|
*/
|
|
29
30
|
declare const info: PackageInfo;
|
|
30
31
|
//#endregion
|
|
31
|
-
export { type CanvasBackend, type CreateNodeCommand, type CreateTextCommand, type DisposeNodeCommand, type DomDocument, type DomElement, type DomNode, type DomText, type HeadlessNode, type HostBackend, type InsertChildCommand, type Maturity, type Mounted, type NativeBackend, type NativeCommand, type NativeCommandBackend, type NativeCommandBackendOptions, type NativeCommandNode, NativeHostError, type NativeNodeId, type NativePropValue, NotImplementedError, type PackageInfo, type ReferenceHost, type ReferenceHostNode, type RegisterEventCommand, type RemoveChildCommand, type RemovePropCommand, type SerializableBackend, type SetPropCommand, type UnregisterEventCommand, type UpdateTextCommand, VERSION, createCanvasBackend, createDomBackend, createHeadlessBackend, createHeadlessRoot, createNativeBackend, createNativeCommandBackend, createNativeNodeIdFactory, createReferenceHost, domTagFor, hydrate, info, isEventProp, isNativeCommand, isNativePropValue, isSerializable, maturity, name, normalizeNativeProp, notImplemented, render, renderToString };
|
|
32
|
+
export { type CanvasBackend, type CreateNativeAppOptions, type CreateNodeCommand, type CreateTextCommand, type DisposeNodeCommand, type DomDocument, type DomElement, type DomNode, type DomText, type HeadlessNode, type HostBackend, type InsertChildCommand, type Maturity, type Mounted, type NativeApp, type NativeBackend, type NativeCommand, type NativeCommandBackend, type NativeCommandBackendOptions, type NativeCommandNode, NativeHostError, type NativeNodeId, type NativePropValue, NotImplementedError, type PackageInfo, type ReferenceHost, type ReferenceHostNode, type RegisterEventCommand, type RemoveChildCommand, type RemovePropCommand, type SerializableBackend, type SetPropCommand, type UnregisterEventCommand, type UpdateTextCommand, VERSION, createCanvasBackend, createDomBackend, createHeadlessBackend, createHeadlessRoot, createNativeApp, createNativeBackend, createNativeCommandBackend, createNativeNodeIdFactory, createReferenceHost, domTagFor, hydrate, info, isEventProp, isNativeCommand, isNativePropValue, isSerializable, maturity, name, normalizeNativeProp, notImplemented, render, renderToString };
|
|
32
33
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;;;;;;;;;AA6FgD;AAAA,cAXnC,IAAA;;cAGA,OAAA;;AAeuE;;;;;cAPvE,QAAA,EAAU,QAAyB;;;;;;cAOnC,IAAA,EAAM,WAAiE"}
|
package/dist/index.js
CHANGED
|
@@ -4,15 +4,16 @@ import { createHeadlessBackend, createHeadlessRoot, isEventProp } from "./headle
|
|
|
4
4
|
import { createNativeNodeIdFactory, isNativeCommand, isNativePropValue, normalizeNativeProp } from "./native-protocol.js";
|
|
5
5
|
import { createNativeCommandBackend } from "./native-command-backend.js";
|
|
6
6
|
import { createCanvasBackend, createNativeBackend } from "./native.js";
|
|
7
|
-
import { NativeHostError, createReferenceHost } from "./native-host.js";
|
|
8
7
|
import { render } from "./render.js";
|
|
8
|
+
import { createNativeApp } from "./native-app.js";
|
|
9
|
+
import { NativeHostError, createReferenceHost } from "./native-host.js";
|
|
9
10
|
import { hydrate, renderToString } from "./ssr.js";
|
|
10
11
|
import { NotImplementedError, notImplemented } from "@mindees/core";
|
|
11
12
|
//#region src/index.ts
|
|
12
13
|
/** The npm package name. */
|
|
13
14
|
const name = "@mindees/renderer";
|
|
14
15
|
/** The package version. All `@mindees/*` packages share one locked version line. */
|
|
15
|
-
const VERSION = "0.
|
|
16
|
+
const VERSION = "0.2.0";
|
|
16
17
|
/**
|
|
17
18
|
* Current maturity. The Helix **web/DOM** renderer (reconciler, DOM backend,
|
|
18
19
|
* headless backend, SSR + hydration) is implemented and tested. Native
|
|
@@ -31,6 +32,6 @@ const info = Object.freeze({
|
|
|
31
32
|
maturity
|
|
32
33
|
});
|
|
33
34
|
//#endregion
|
|
34
|
-
export { NativeHostError, NotImplementedError, VERSION, createCanvasBackend, createDomBackend, createHeadlessBackend, createHeadlessRoot, createNativeBackend, createNativeCommandBackend, createNativeNodeIdFactory, createReferenceHost, domTagFor, hydrate, info, isEventProp, isNativeCommand, isNativePropValue, isSerializable, maturity, name, normalizeNativeProp, notImplemented, render, renderToString };
|
|
35
|
+
export { NativeHostError, NotImplementedError, VERSION, createCanvasBackend, createDomBackend, createHeadlessBackend, createHeadlessRoot, createNativeApp, createNativeBackend, createNativeCommandBackend, createNativeNodeIdFactory, createReferenceHost, domTagFor, hydrate, info, isEventProp, isNativeCommand, isNativePropValue, isSerializable, maturity, name, normalizeNativeProp, notImplemented, render, renderToString };
|
|
35
36
|
|
|
36
37
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { Maturity, PackageInfo } from '@mindees/core'\nimport { NotImplementedError, notImplemented } from '@mindees/core'\n\n/** Host-backend contract + capability detection. */\nexport {\n type HostBackend,\n isSerializable,\n type SerializableBackend,\n} from './backend'\n/** DOM (web) backend. */\nexport {\n createDomBackend,\n type DomDocument,\n type DomElement,\n type DomNode,\n type DomText,\n domTagFor,\n} from './dom'\n/** Headless (in-memory) backend — the reference/test target. */\nexport {\n createHeadlessBackend,\n createHeadlessRoot,\n type HeadlessNode,\n isEventProp,\n} from './headless'\n/**\n * Native backends. `createNativeCommandBackend` is implemented (emits a native\n * command stream); `createNativeBackend`/`createCanvasBackend` are research\n * tracks that throw `NotImplementedError`.\n */\nexport {\n type CanvasBackend,\n createCanvasBackend,\n createNativeBackend,\n createNativeCommandBackend,\n type NativeBackend,\n type NativeCommandBackend,\n type NativeCommandBackendOptions,\n type NativeCommandNode,\n} from './native'\n/**\n * The strict reference native host — applies a command stream to a model tree and\n * validates it (the executable conformance contract real native hosts implement).\n */\nexport {\n createReferenceHost,\n NativeHostError,\n type ReferenceHost,\n type ReferenceHostNode,\n} from './native-host'\n/** The native command protocol: command types + serialization-safe helpers. */\nexport {\n type CreateNodeCommand,\n type CreateTextCommand,\n createNativeNodeIdFactory,\n type DisposeNodeCommand,\n type InsertChildCommand,\n isNativeCommand,\n isNativePropValue,\n type NativeCommand,\n type NativeNodeId,\n type NativePropValue,\n normalizeNativeProp,\n type RegisterEventCommand,\n type RemoveChildCommand,\n type RemovePropCommand,\n type SetPropCommand,\n type UnregisterEventCommand,\n type UpdateTextCommand,\n} from './native-protocol'\n/** The fine-grained reactive reconciler. */\nexport { type Mounted, render } from './render'\n/** Server-side rendering + hydration (web). */\nexport { hydrate, renderToString } from './ssr'\n\n/** The npm package name. */\nexport const name = '@mindees/renderer'\n\n/** The package version. All `@mindees/*` packages share one locked version line. */\nexport const VERSION = '0.
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { Maturity, PackageInfo } from '@mindees/core'\nimport { NotImplementedError, notImplemented } from '@mindees/core'\n\n/** Host-backend contract + capability detection. */\nexport {\n type HostBackend,\n isSerializable,\n type SerializableBackend,\n} from './backend'\n/** DOM (web) backend. */\nexport {\n createDomBackend,\n type DomDocument,\n type DomElement,\n type DomNode,\n type DomText,\n domTagFor,\n} from './dom'\n/** Headless (in-memory) backend — the reference/test target. */\nexport {\n createHeadlessBackend,\n createHeadlessRoot,\n type HeadlessNode,\n isEventProp,\n} from './headless'\n/**\n * Native backends. `createNativeCommandBackend` is implemented (emits a native\n * command stream); `createNativeBackend`/`createCanvasBackend` are research\n * tracks that throw `NotImplementedError`.\n */\nexport {\n type CanvasBackend,\n createCanvasBackend,\n createNativeBackend,\n createNativeCommandBackend,\n type NativeBackend,\n type NativeCommandBackend,\n type NativeCommandBackendOptions,\n type NativeCommandNode,\n} from './native'\n/** One-call native app entry — wires the command backend + host contract. */\nexport {\n type CreateNativeAppOptions,\n createNativeApp,\n type NativeApp,\n} from './native-app'\n/**\n * The strict reference native host — applies a command stream to a model tree and\n * validates it (the executable conformance contract real native hosts implement).\n */\nexport {\n createReferenceHost,\n NativeHostError,\n type ReferenceHost,\n type ReferenceHostNode,\n} from './native-host'\n/** The native command protocol: command types + serialization-safe helpers. */\nexport {\n type CreateNodeCommand,\n type CreateTextCommand,\n createNativeNodeIdFactory,\n type DisposeNodeCommand,\n type InsertChildCommand,\n isNativeCommand,\n isNativePropValue,\n type NativeCommand,\n type NativeNodeId,\n type NativePropValue,\n normalizeNativeProp,\n type RegisterEventCommand,\n type RemoveChildCommand,\n type RemovePropCommand,\n type SetPropCommand,\n type UnregisterEventCommand,\n type UpdateTextCommand,\n} from './native-protocol'\n/** The fine-grained reactive reconciler. */\nexport { type Mounted, render } from './render'\n/** Server-side rendering + hydration (web). */\nexport { hydrate, renderToString } from './ssr'\n\n/** The npm package name. */\nexport const name = '@mindees/renderer'\n\n/** The package version. All `@mindees/*` packages share one locked version line. */\nexport const VERSION = '0.2.0'\n\n/**\n * Current maturity. The Helix **web/DOM** renderer (reconciler, DOM backend,\n * headless backend, SSR + hydration) is implemented and tested. Native\n * (iOS/Android) and the GPU canvas are research tracks (throw\n * `NotImplementedError`). See the repository `STATUS.md`.\n */\nexport const maturity: Maturity = 'experimental'\n\n/**\n * Static identity + maturity metadata for this package. Frozen so the\n * self-reported identity tooling introspects cannot be mutated at runtime,\n * matching the `readonly` fields of {@link PackageInfo}.\n */\nexport const info: PackageInfo = Object.freeze({ name, version: VERSION, maturity })\n\nexport type { Maturity, PackageInfo }\nexport { NotImplementedError, notImplemented }\n"],"mappings":";;;;;;;;;;;;;AAkFA,MAAa,OAAO;;AAGpB,MAAa,UAAU;;;;;;;AAQvB,MAAa,WAAqB;;;;;;AAOlC,MAAa,OAAoB,OAAO,OAAO;CAAE;CAAM,SAAS;CAAS;AAAS,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NativeNodeId } from "./native-protocol.js";
|
|
2
|
+
import { MindeesNode } from "@mindees/core";
|
|
3
|
+
|
|
4
|
+
//#region src/native-app.d.ts
|
|
5
|
+
/** The contract a native host drives: render once, then dispatch events by id. */
|
|
6
|
+
interface NativeApp {
|
|
7
|
+
/** Mount the app and flush the initial command batch to the host. */
|
|
8
|
+
start(): void;
|
|
9
|
+
/** Invoke a registered handler (a native event fired), then flush the resulting batch. */
|
|
10
|
+
dispatchEvent(handlerId: string, event?: unknown): boolean;
|
|
11
|
+
}
|
|
12
|
+
/** Options for {@link createNativeApp}. */
|
|
13
|
+
interface CreateNativeAppOptions {
|
|
14
|
+
/**
|
|
15
|
+
* Id of the host's pre-existing root container. Defaults to `"host-root"` — the
|
|
16
|
+
* convention the reference hosts register — so the common case needs no config.
|
|
17
|
+
*/
|
|
18
|
+
readonly rootId?: NativeNodeId;
|
|
19
|
+
/**
|
|
20
|
+
* How to deliver a command batch to the host. Defaults to `globalThis.MindeesHost.emit`
|
|
21
|
+
* (what the embedded hosts inject). Override in tests or alternative transports.
|
|
22
|
+
*/
|
|
23
|
+
readonly emit?: (json: string) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Expose the app on a global so the host can call `start()`/`dispatchEvent()`.
|
|
26
|
+
* `true` (default) → `globalThis.MindeesApp`; a string → that global name; `false` →
|
|
27
|
+
* don't expose (use the returned handle directly, e.g. in Node tests).
|
|
28
|
+
*/
|
|
29
|
+
readonly expose?: boolean | string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Wire a root node to a native command host. Returns the {@link NativeApp} handle and
|
|
33
|
+
* (unless `expose: false`) publishes it as `globalThis.MindeesApp` for the host to call.
|
|
34
|
+
*/
|
|
35
|
+
declare function createNativeApp(root: MindeesNode, options?: CreateNativeAppOptions): NativeApp;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { CreateNativeAppOptions, NativeApp, createNativeApp };
|
|
38
|
+
//# sourceMappingURL=native-app.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native-app.d.ts","names":[],"sources":["../src/native-app.ts"],"mappings":";;;;;UA0BiB,SAAA;EAwBA;EAtBf,KAAA;EAuCc;EArCd,aAAA,CAAc,SAAA,UAAmB,KAAA;AAAA;;UAIlB,sBAAA;EAoCd;;;;EAAA,SA/BQ,MAAA,GAAS,YAAY;EA8BrB;;;;EAAA,SAzBA,IAAA,IAAQ,IAAA;;;;;;WAMR,MAAA;AAAA;;;;;iBAiBK,eAAA,CACd,IAAA,EAAM,WAAA,EACN,OAAA,GAAS,sBAAA,GACR,SAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createNativeCommandBackend } from "./native-command-backend.js";
|
|
2
|
+
import { render } from "./render.js";
|
|
3
|
+
//#region src/native-app.ts
|
|
4
|
+
function defaultEmit(json) {
|
|
5
|
+
const host = globalThis.MindeesHost;
|
|
6
|
+
if (!host || typeof host.emit !== "function") throw new Error("createNativeApp: no `emit` was provided and globalThis.MindeesHost.emit is unavailable");
|
|
7
|
+
host.emit(json);
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Wire a root node to a native command host. Returns the {@link NativeApp} handle and
|
|
11
|
+
* (unless `expose: false`) publishes it as `globalThis.MindeesApp` for the host to call.
|
|
12
|
+
*/
|
|
13
|
+
function createNativeApp(root, options = {}) {
|
|
14
|
+
const backend = createNativeCommandBackend({ rootId: options.rootId ?? "host-root" });
|
|
15
|
+
const emit = options.emit ?? defaultEmit;
|
|
16
|
+
const flush = () => {
|
|
17
|
+
const batch = backend.flushCommands();
|
|
18
|
+
if (batch.length > 0) emit(JSON.stringify(batch));
|
|
19
|
+
};
|
|
20
|
+
const app = {
|
|
21
|
+
start() {
|
|
22
|
+
render(root, backend, backend.root);
|
|
23
|
+
flush();
|
|
24
|
+
},
|
|
25
|
+
dispatchEvent(handlerId, event) {
|
|
26
|
+
const handled = backend.dispatchEvent(handlerId, event);
|
|
27
|
+
flush();
|
|
28
|
+
return handled;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
const expose = options.expose ?? true;
|
|
32
|
+
if (expose !== false) {
|
|
33
|
+
const name = typeof expose === "string" ? expose : "MindeesApp";
|
|
34
|
+
globalThis[name] = app;
|
|
35
|
+
}
|
|
36
|
+
return app;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { createNativeApp };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=native-app.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native-app.js","names":[],"sources":["../src/native-app.ts"],"sourcesContent":["/**\n * `createNativeApp` — the one-call entry point for a MindeesNative app on an embedded\n * native host. It hides the wiring an app author should never have to write: creating\n * the {@link createNativeCommandBackend}, rendering the root, flushing the command\n * batch to the host, and exposing the start/dispatch contract the host calls.\n *\n * ```tsx\n * import { createNativeApp } from '@mindees/renderer'\n * import { App } from './App'\n *\n * createNativeApp(<App />)\n * ```\n *\n * That's the whole entry file. The native host (see `examples/native-hosts/`) injects\n * a `MindeesHost.emit(json)` global and calls `MindeesApp.start()` once, then\n * `MindeesApp.dispatchEvent(handlerId)` per native event — both of which this wires.\n *\n * @module\n */\n\nimport type { MindeesNode } from '@mindees/core'\nimport { createNativeCommandBackend } from './native-command-backend'\nimport type { NativeNodeId } from './native-protocol'\nimport { render } from './render'\n\n/** The contract a native host drives: render once, then dispatch events by id. */\nexport interface NativeApp {\n /** Mount the app and flush the initial command batch to the host. */\n start(): void\n /** Invoke a registered handler (a native event fired), then flush the resulting batch. */\n dispatchEvent(handlerId: string, event?: unknown): boolean\n}\n\n/** Options for {@link createNativeApp}. */\nexport interface CreateNativeAppOptions {\n /**\n * Id of the host's pre-existing root container. Defaults to `\"host-root\"` — the\n * convention the reference hosts register — so the common case needs no config.\n */\n readonly rootId?: NativeNodeId\n /**\n * How to deliver a command batch to the host. Defaults to `globalThis.MindeesHost.emit`\n * (what the embedded hosts inject). Override in tests or alternative transports.\n */\n readonly emit?: (json: string) => void\n /**\n * Expose the app on a global so the host can call `start()`/`dispatchEvent()`.\n * `true` (default) → `globalThis.MindeesApp`; a string → that global name; `false` →\n * don't expose (use the returned handle directly, e.g. in Node tests).\n */\n readonly expose?: boolean | string\n}\n\nfunction defaultEmit(json: string): void {\n const host = (globalThis as { MindeesHost?: { emit?: (json: string) => void } }).MindeesHost\n if (!host || typeof host.emit !== 'function') {\n throw new Error(\n 'createNativeApp: no `emit` was provided and globalThis.MindeesHost.emit is unavailable',\n )\n }\n host.emit(json)\n}\n\n/**\n * Wire a root node to a native command host. Returns the {@link NativeApp} handle and\n * (unless `expose: false`) publishes it as `globalThis.MindeesApp` for the host to call.\n */\nexport function createNativeApp(\n root: MindeesNode,\n options: CreateNativeAppOptions = {},\n): NativeApp {\n const backend = createNativeCommandBackend({ rootId: options.rootId ?? 'host-root' })\n const emit = options.emit ?? defaultEmit\n\n const flush = (): void => {\n const batch = backend.flushCommands()\n if (batch.length > 0) emit(JSON.stringify(batch))\n }\n\n const app: NativeApp = {\n start(): void {\n render(root, backend, backend.root)\n flush()\n },\n dispatchEvent(handlerId: string, event?: unknown): boolean {\n const handled = backend.dispatchEvent(handlerId, event)\n flush()\n return handled\n },\n }\n\n const expose = options.expose ?? true\n if (expose !== false) {\n const name = typeof expose === 'string' ? expose : 'MindeesApp'\n ;(globalThis as Record<string, unknown>)[name] = app\n }\n\n return app\n}\n"],"mappings":";;;AAqDA,SAAS,YAAY,MAAoB;CACvC,MAAM,OAAQ,WAAmE;CACjF,IAAI,CAAC,QAAQ,OAAO,KAAK,SAAS,YAChC,MAAM,IAAI,MACR,wFACF;CAEF,KAAK,KAAK,IAAI;AAChB;;;;;AAMA,SAAgB,gBACd,MACA,UAAkC,CAAC,GACxB;CACX,MAAM,UAAU,2BAA2B,EAAE,QAAQ,QAAQ,UAAU,YAAY,CAAC;CACpF,MAAM,OAAO,QAAQ,QAAQ;CAE7B,MAAM,cAAoB;EACxB,MAAM,QAAQ,QAAQ,cAAc;EACpC,IAAI,MAAM,SAAS,GAAG,KAAK,KAAK,UAAU,KAAK,CAAC;CAClD;CAEA,MAAM,MAAiB;EACrB,QAAc;GACZ,OAAO,MAAM,SAAS,QAAQ,IAAI;GAClC,MAAM;EACR;EACA,cAAc,WAAmB,OAA0B;GACzD,MAAM,UAAU,QAAQ,cAAc,WAAW,KAAK;GACtD,MAAM;GACN,OAAO;EACT;CACF;CAEA,MAAM,SAAS,QAAQ,UAAU;CACjC,IAAI,WAAW,OAAO;EACpB,MAAM,OAAO,OAAO,WAAW,WAAW,SAAS;EAClD,WAAwC,QAAQ;CACnD;CAEA,OAAO;AACT"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindees/renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "MindeesNative Helix — fine-grained reactive renderer with a web/DOM backend, SSR + hydration, and a headless test backend. Native and GPU-canvas backends are research tracks.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"directory": "packages/renderer"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@mindees/core": "0.
|
|
26
|
+
"@mindees/core": "0.2.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"happy-dom": "20.9.0"
|