streetui 2.6.0 → 2.8.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/dist/bin.cjs +1 -1
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/bin.js.map +1 -1
- package/dist/create-bin.cjs +1 -1
- package/dist/create-bin.cjs.map +1 -1
- package/dist/create-bin.js +1 -1
- package/dist/create-bin.js.map +1 -1
- package/dist/{hydration-diagnostics-D1GlzulR.d.cts → hydration-diagnostics-CvttL7mx.d.cts} +3 -3
- package/dist/{hydration-diagnostics-D1GlzulR.d.ts → hydration-diagnostics-CvttL7mx.d.ts} +3 -3
- package/dist/index.cjs +1391 -207
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1031 -15
- package/dist/index.d.ts +1031 -15
- package/dist/index.js +1325 -207
- package/dist/index.js.map +1 -1
- package/dist/{renderer-interface-BzLwBsyj.d.cts → renderer-interface-Cfa1Ts21.d.cts} +1 -1
- package/dist/{renderer-interface-CmVlxE95.d.ts → renderer-interface-WAzq2EVw.d.ts} +1 -1
- package/dist/{server-BP651UK6.d.ts → server-B94YjpnN.d.ts} +1 -1
- package/dist/{server-LJGg4GyH.d.cts → server-C2Wje065.d.cts} +1 -1
- package/dist/server.cjs +8 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +8 -1
- package/dist/server.js.map +1 -1
- package/dist/testing.cjs +190 -183
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +4 -4
- package/dist/testing.d.ts +4 -4
- package/dist/testing.js +190 -183
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GraphNode, R as ReadonlySignal, C as CompiledApplication, i as ApplicationGraph, j as HydrationDiagnosticSink } from './hydration-diagnostics-
|
|
1
|
+
import { G as GraphNode, R as ReadonlySignal, C as CompiledApplication, i as ApplicationGraph, j as HydrationDiagnosticSink } from './hydration-diagnostics-CvttL7mx.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-
|
|
1
|
+
import { G as GraphNode, R as ReadonlySignal, C as CompiledApplication, i as ApplicationGraph, j as HydrationDiagnosticSink } from './hydration-diagnostics-CvttL7mx.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.
|
|
1951
|
+
var VERSION = "2.8.0";
|
|
1945
1952
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1946
1953
|
0 && (module.exports = {
|
|
1947
1954
|
STATE_MARKER_ATTR,
|