streetui 2.6.0 → 2.7.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.
@@ -1,4 +1,4 @@
1
- import { C as CompiledApplication } from './hydration-diagnostics-D1GlzulR.js';
1
+ import { C as CompiledApplication } from './hydration-diagnostics-Bh0-5vdC.js';
2
2
 
3
3
  /**
4
4
  * The interface the runtime uses to communicate with the renderer.
@@ -1,4 +1,4 @@
1
- import { C as CompiledApplication } from './hydration-diagnostics-D1GlzulR.cjs';
1
+ import { C as CompiledApplication } from './hydration-diagnostics-Bh0-5vdC.cjs';
2
2
 
3
3
  /**
4
4
  * The interface the runtime uses to communicate with the renderer.
@@ -1,4 +1,4 @@
1
- import { G as GraphNode, R as ReadonlySignal, C as CompiledApplication, i as ApplicationGraph, j as HydrationDiagnosticSink } from './hydration-diagnostics-D1GlzulR.js';
1
+ import { G as GraphNode, R as ReadonlySignal, C as CompiledApplication, i as ApplicationGraph, j as HydrationDiagnosticSink } from './hydration-diagnostics-Bh0-5vdC.js';
2
2
 
3
3
  /**
4
4
  * Application and component lifecycle primitives.
@@ -1,4 +1,4 @@
1
- import { G as GraphNode, R as ReadonlySignal, C as CompiledApplication, i as ApplicationGraph, j as HydrationDiagnosticSink } from './hydration-diagnostics-D1GlzulR.cjs';
1
+ import { G as GraphNode, R as ReadonlySignal, C as CompiledApplication, i as ApplicationGraph, j as HydrationDiagnosticSink } from './hydration-diagnostics-Bh0-5vdC.cjs';
2
2
 
3
3
  /**
4
4
  * Application and component lifecycle primitives.
package/dist/server.cjs CHANGED
@@ -151,6 +151,13 @@ function applyProp(dom, element, name, value) {
151
151
  }
152
152
  return;
153
153
  }
154
+ if (name.startsWith("style.")) {
155
+ const el = element;
156
+ const prop = name.slice("style.".length);
157
+ if (value === null || value === void 0) el.style.removeProperty(prop);
158
+ else el.style.setProperty(prop, String(value));
159
+ return;
160
+ }
154
161
  if (value === null || value === void 0 || value === false) {
155
162
  dom.removeAttribute(element, name);
156
163
  return;
@@ -1941,7 +1948,7 @@ function renderToString(compiled, options = {}) {
1941
1948
  }
1942
1949
 
1943
1950
  // src/version.ts
1944
- var VERSION = "2.6.0";
1951
+ var VERSION = "2.7.0";
1945
1952
  // Annotate the CommonJS export names for ESM import in node:
1946
1953
  0 && (module.exports = {
1947
1954
  STATE_MARKER_ATTR,