ilha 0.4.3 → 0.4.4

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.ts CHANGED
@@ -34,6 +34,10 @@ declare const RAW: unique symbol;
34
34
  declare const SIGNAL_ACCESSOR: unique symbol;
35
35
  declare const ISLAND: unique symbol;
36
36
  declare const ISLAND_CALL: unique symbol;
37
+ /** @internal Internal hook used by a parent's mountSlots to mount a child island and
38
+ * retain a handle to push updated props into it on subsequent parent
39
+ * re-renders. Not part of the public surface. */
40
+ declare const ISLAND_MOUNT_INTERNAL: unique symbol;
37
41
  interface RawHtml {
38
42
  [RAW]: true;
39
43
  value: string;
@@ -288,4 +292,4 @@ declare const mount: typeof mountAll;
288
292
  declare const from: typeof ilhaFrom;
289
293
  declare const context: typeof ilhaContext;
290
294
  //#endregion
291
- export { DerivedValue, ErrorContext, ErrorSource, ExternalSignal, HandlerContext, HandlerContextFor, HydratableOptions, Island, IslandDerived, IslandState, KeyedIsland, MountOptions, MountResult, OnMountContext, RawHtml, SignalAccessor, batch, context, css, ilha as default, from, html, ilhaSignal, ilhaSignal as signal, mount, raw, untrack };
295
+ export { DerivedValue, ErrorContext, ErrorSource, ExternalSignal, HandlerContext, HandlerContextFor, HydratableOptions, ISLAND_MOUNT_INTERNAL, Island, IslandDerived, IslandState, KeyedIsland, MountOptions, MountResult, OnMountContext, RawHtml, SignalAccessor, batch, context, css, ilha as default, from, html, ilhaSignal, ilhaSignal as signal, mount, raw, untrack };
package/dist/index.js CHANGED
@@ -92,6 +92,9 @@ const RAW = Symbol("ilha.raw");
92
92
  const SIGNAL_ACCESSOR = Symbol("ilha.signalAccessor");
93
93
  const ISLAND = Symbol("ilha.island");
94
94
  const ISLAND_CALL = Symbol("ilha.islandCall");
95
+ /** @internal Internal hook used by a parent's mountSlots to mount a child island and
96
+ * retain a handle to push updated props into it on subsequent parent
97
+ * re-renders. Not part of the public surface. */
95
98
  const ISLAND_MOUNT_INTERNAL = Symbol("ilha.islandMountInternal");
96
99
  const SLOT_ATTR = "data-ilha-slot";
97
100
  const PROPS_ATTR = "data-ilha-props";
@@ -1289,4 +1292,4 @@ const mount = mountAll;
1289
1292
  const from = ilhaFrom;
1290
1293
  const context = ilhaContext;
1291
1294
  //#endregion
1292
- export { batch, context, css, ilha as default, from, html, ilhaSignal, ilhaSignal as signal, mount, raw, untrack };
1295
+ export { ISLAND_MOUNT_INTERNAL, batch, context, css, ilha as default, from, html, ilhaSignal, ilhaSignal as signal, mount, raw, untrack };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ilha",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "A tiny, framework-free island architecture library",
5
5
  "license": "MIT",
6
6
  "author": "Ryuz <ryuzer@proton.me>",