octane 0.1.42 → 0.1.44

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 CHANGED
@@ -21,6 +21,10 @@ Custom Node build pipelines can opt into project-aware string-child inference
21
21
  through `octane/compiler/typescript`. See the
22
22
  [type-aware text compilation guide](https://github.com/octanejs/octane/blob/main/docs/compiler-text-inference.md).
23
23
 
24
+ Vite builds can fold proven immutable CSS-module class strings into templates.
25
+ See the [CSS-module constants guide](https://github.com/octanejs/octane/blob/main/docs/compiler-css-module-constants.md)
26
+ for the provider contract and stylesheet-loading guarantees.
27
+
24
28
  Direct Node or Bun server scripts can preload `octane/compiler/register` to
25
29
  compile imported Octane components without going through Vite. See the
26
30
  [SSR guide](https://github.com/octanejs/octane/blob/main/docs/ssr.md#run-an-ssg-script-directly).
@@ -83,6 +83,7 @@ __export(index_exports, {
83
83
  createRoot: () => import_runtime.createRoot,
84
84
  createScopedElement: () => import_runtime.createScopedElement,
85
85
  createScopedValue: () => import_runtime.createScopedValue,
86
+ createSubSlot: () => import_sub_slot.createSubSlot,
86
87
  delegateCaptureEvents: () => import_runtime.delegateCaptureEvents,
87
88
  delegateEvents: () => import_runtime.delegateEvents,
88
89
  descriptorChildren: () => import_runtime.descriptorChildren,
@@ -189,6 +190,7 @@ __export(index_exports, {
189
190
  startTransition: () => import_runtime.startTransition,
190
191
  styleResource: () => import_runtime.styleResource,
191
192
  stylesheetResource: () => import_runtime.stylesheetResource,
193
+ subSlot: () => import_sub_slot.subSlot,
192
194
  switchBlock: () => import_runtime.switchBlock,
193
195
  template: () => import_runtime.template,
194
196
  textHole: () => import_runtime.textHole,
@@ -228,6 +230,7 @@ module.exports = __toCommonJS(index_exports);
228
230
  var import_version = require("./version.cjs");
229
231
  var import_event_capture = require("./hydration/event-capture.cjs");
230
232
  var import_behavior_root = require("./behavior-root.cjs");
233
+ var import_sub_slot = require("./sub-slot.cjs");
231
234
  var import_runtime = require("./runtime.cjs");
232
235
  var import_server_rpc_client = require("./server-rpc-client.cjs");
233
236
  var import_method_dep = require("./method-dep.cjs");
@@ -298,6 +301,7 @@ var import_method_dep = require("./method-dep.cjs");
298
301
  createRoot,
299
302
  createScopedElement,
300
303
  createScopedValue,
304
+ createSubSlot,
301
305
  delegateCaptureEvents,
302
306
  delegateEvents,
303
307
  descriptorChildren,
@@ -404,6 +408,7 @@ var import_method_dep = require("./method-dep.cjs");
404
408
  startTransition,
405
409
  styleResource,
406
410
  stylesheetResource,
411
+ subSlot,
407
412
  switchBlock,
408
413
  template,
409
414
  textHole,