@manyducks.co/dolla 2.0.0-alpha.17 → 2.0.0-alpha.19
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.js +447 -442
- package/dist/index.js.map +1 -1
- package/dist/jsx-dev-runtime.js +2 -2
- package/dist/jsx-runtime.js +2 -2
- package/dist/modules/render.d.ts +5 -8
- package/dist/{passthrough-J9nMzwTV.js → passthrough-DcOD0Wf3.js} +155 -153
- package/dist/passthrough-DcOD0Wf3.js.map +1 -0
- package/notes/scratch.md +1 -1
- package/package.json +5 -2
- package/dist/passthrough-J9nMzwTV.js.map +0 -1
package/dist/jsx-dev-runtime.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s } from "./passthrough-
|
|
2
|
-
import { P as m } from "./passthrough-
|
|
1
|
+
import { s } from "./passthrough-DcOD0Wf3.js";
|
|
2
|
+
import { P as m } from "./passthrough-DcOD0Wf3.js";
|
|
3
3
|
function d(n, r, t, e, a, l) {
|
|
4
4
|
const i = { ...o(["children", "key"], r) }, c = Array.isArray(r.children) ? r.children : [r.children];
|
|
5
5
|
return s(n, i, ...c);
|
package/dist/jsx-runtime.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as t } from "./passthrough-
|
|
2
|
-
import { P as l } from "./passthrough-
|
|
1
|
+
import { s as t } from "./passthrough-DcOD0Wf3.js";
|
|
2
|
+
import { P as l } from "./passthrough-DcOD0Wf3.js";
|
|
3
3
|
function d(n, e, r) {
|
|
4
4
|
return t(n, e ? { ...u(["children", "key"], e) } : void 0, e.children);
|
|
5
5
|
}
|
package/dist/modules/render.d.ts
CHANGED
|
@@ -3,15 +3,12 @@ export declare class Render {
|
|
|
3
3
|
#private;
|
|
4
4
|
constructor(dolla: Dolla);
|
|
5
5
|
/**
|
|
6
|
-
* Queues a callback
|
|
7
|
-
* Running your DOM mutations in update callbacks reduces layout thrashing.
|
|
8
|
-
* Returns a Promise that resolves once the callback has run.
|
|
6
|
+
* Queues a callback that runs before the next batch of writes.
|
|
9
7
|
*/
|
|
10
|
-
|
|
8
|
+
read(callback: () => void): void;
|
|
11
9
|
/**
|
|
12
|
-
* Queues a callback
|
|
13
|
-
*
|
|
14
|
-
* Returns a Promise that resolves once the callback has run.
|
|
10
|
+
* Queues a callback to run in the next render batch.
|
|
11
|
+
* Always put DOM mutations in a write callback when possible to help Dolla batch them efficiently.
|
|
15
12
|
*/
|
|
16
|
-
|
|
13
|
+
write(callback: () => void, key?: string): void;
|
|
17
14
|
}
|