@wardic/dom 1.0.0-rc.1 → 1.0.0-rc.11
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/Appear.d.ts +7 -1
- package/dist/Appear.d.ts.map +1 -1
- package/dist/Appear.js +7 -1
- package/dist/Appear.js.map +1 -1
- package/dist/DomBatch.d.ts +20 -0
- package/dist/DomBatch.d.ts.map +1 -0
- package/dist/DomBatch.js +23 -0
- package/dist/DomBatch.js.map +1 -0
- package/dist/DomInput.d.ts +2 -1
- package/dist/DomInput.d.ts.map +1 -1
- package/dist/DomInput.js +3 -1
- package/dist/DomInput.js.map +1 -1
- package/dist/DomProbe.d.ts +3 -3
- package/dist/DomProbe.js +3 -3
- package/dist/DomScrollSource.d.ts +14 -0
- package/dist/DomScrollSource.d.ts.map +1 -0
- package/dist/DomScrollSource.js +15 -0
- package/dist/DomScrollSource.js.map +1 -0
- package/dist/FlushGate.js +1 -1
- package/dist/FlushGate.js.map +1 -1
- package/dist/KeyboardPress.d.ts +16 -0
- package/dist/KeyboardPress.d.ts.map +1 -0
- package/dist/KeyboardPress.js +17 -0
- package/dist/KeyboardPress.js.map +1 -0
- package/dist/ReorderController.d.ts +24 -4
- package/dist/ReorderController.d.ts.map +1 -1
- package/dist/ReorderController.js +38 -4
- package/dist/ReorderController.js.map +1 -1
- package/dist/ScrollOffset.d.ts +1 -1
- package/dist/ScrollOffset.js +1 -1
- package/dist/index.d.ts +18 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/appear-slot.d.ts +23 -0
- package/dist/internal/appear-slot.d.ts.map +1 -0
- package/dist/internal/appear-slot.js +29 -0
- package/dist/internal/appear-slot.js.map +1 -0
- package/dist/internal/appear.d.ts +84 -16
- package/dist/internal/appear.d.ts.map +1 -1
- package/dist/internal/appear.js +302 -61
- package/dist/internal/appear.js.map +1 -1
- package/dist/internal/batch-writer.d.ts +16 -0
- package/dist/internal/batch-writer.d.ts.map +1 -0
- package/dist/internal/batch-writer.js +77 -0
- package/dist/internal/batch-writer.js.map +1 -0
- package/dist/internal/content-watch.js +1 -1
- package/dist/internal/gate.d.ts +5 -3
- package/dist/internal/gate.d.ts.map +1 -1
- package/dist/internal/gate.js +7 -2
- package/dist/internal/gate.js.map +1 -1
- package/dist/internal/input.d.ts +0 -6
- package/dist/internal/input.d.ts.map +1 -1
- package/dist/internal/input.js +205 -23
- package/dist/internal/input.js.map +1 -1
- package/dist/internal/keyboard-press.d.ts +7 -0
- package/dist/internal/keyboard-press.d.ts.map +1 -0
- package/dist/internal/keyboard-press.js +45 -0
- package/dist/internal/keyboard-press.js.map +1 -0
- package/dist/internal/measure.d.ts +7 -0
- package/dist/internal/measure.d.ts.map +1 -1
- package/dist/internal/measure.js +19 -1
- package/dist/internal/measure.js.map +1 -1
- package/dist/internal/probe.d.ts +1 -1
- package/dist/internal/probe.d.ts.map +1 -1
- package/dist/internal/probe.js +9 -10
- package/dist/internal/probe.js.map +1 -1
- package/dist/internal/projection.d.ts +14 -6
- package/dist/internal/projection.d.ts.map +1 -1
- package/dist/internal/projection.js +272 -34
- package/dist/internal/projection.js.map +1 -1
- package/dist/internal/renderer.d.ts +18 -0
- package/dist/internal/renderer.d.ts.map +1 -1
- package/dist/internal/renderer.js +4 -2
- package/dist/internal/renderer.js.map +1 -1
- package/dist/internal/reorder.d.ts +28 -13
- package/dist/internal/reorder.d.ts.map +1 -1
- package/dist/internal/reorder.js +55 -26
- package/dist/internal/reorder.js.map +1 -1
- package/dist/internal/reveal.d.ts +7 -3
- package/dist/internal/reveal.d.ts.map +1 -1
- package/dist/internal/reveal.js +8 -3
- package/dist/internal/reveal.js.map +1 -1
- package/dist/internal/scroll.d.ts +14 -12
- package/dist/internal/scroll.d.ts.map +1 -1
- package/dist/internal/scroll.js +45 -10
- package/dist/internal/scroll.js.map +1 -1
- package/package.json +4 -4
- package/src/Appear.ts +12 -3
- package/src/DomBatch.ts +22 -0
- package/src/DomInput.ts +2 -1
- package/src/DomProbe.ts +3 -3
- package/src/DomScrollSource.ts +14 -0
- package/src/FlushGate.ts +1 -1
- package/src/KeyboardPress.ts +16 -0
- package/src/ReorderController.ts +54 -4
- package/src/ScrollOffset.ts +1 -1
- package/src/index.ts +22 -8
- package/src/internal/appear-slot.ts +32 -0
- package/src/internal/appear.ts +462 -67
- package/src/internal/batch-writer.ts +95 -0
- package/src/internal/content-watch.ts +1 -1
- package/src/internal/gate.ts +9 -4
- package/src/internal/input.ts +209 -25
- package/src/internal/keyboard-press.ts +45 -0
- package/src/internal/measure.ts +17 -1
- package/src/internal/probe.ts +12 -13
- package/src/internal/projection.ts +273 -39
- package/src/internal/renderer.ts +4 -2
- package/src/internal/reorder.ts +85 -39
- package/src/internal/reveal.ts +10 -4
- package/src/internal/scroll.ts +29 -27
package/dist/Appear.d.ts
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
* - **At mount:** `find` the element's animation, check it `matches` the client's own spec, start the run
|
|
10
10
|
* `elapsedOf` it in (`Machine.startAt`), and `release` the element in the task that writes the engine's
|
|
11
11
|
* first frame.
|
|
12
|
+
* - **A Batch's members** (#706): `batchKeyframes` samples one rule for every member on one set of
|
|
13
|
+
* transitions, each member's own values read from custom properties; a sheet's `batch` gives them one
|
|
14
|
+
* slot, and each member its style. At the Handoff, `findAll` reads every member's animation in one call,
|
|
15
|
+
* each `matchesBatch` the client's key, and its change starts `elapsedOf` it in (`Batch.retarget`'s
|
|
16
|
+
* `startAt`).
|
|
12
17
|
*
|
|
13
18
|
* @example
|
|
14
19
|
* import * as Appear from "@wardic/dom/Appear"
|
|
@@ -20,5 +25,6 @@
|
|
|
20
25
|
* // At mount:
|
|
21
26
|
* const elapsed = Option.map(Appear.find(element), Appear.elapsedOf)
|
|
22
27
|
*/
|
|
23
|
-
export { adoptChunks, animationOf, CHUNK_ATTRIBUTE, chunkStyle, delayOf, elapsedOf, find, keyframes, type Keyframes, matches, MAX_SECONDS, nameOf,
|
|
28
|
+
export { adoptChunks, animationOf, batchKeyframes, type BatchKeyframes, type BatchSlot, type BatchSpec, CHUNK_ATTRIBUTE, chunkStyle, delayOf, elapsedOf, find, findAll, keyframes, type Keyframes, matches, matchesBatch, MAX_SECONDS, nameOf, type Play, sheet, type Sheet, type Slot, type Spec, } from "./internal/appear.ts";
|
|
29
|
+
export { pending, PREFIX, release } from "./internal/appear-slot.ts";
|
|
24
30
|
//# sourceMappingURL=Appear.d.ts.map
|
package/dist/Appear.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Appear.d.ts","sourceRoot":"","sources":["../src/Appear.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Appear.d.ts","sourceRoot":"","sources":["../src/Appear.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EACL,WAAW,EACX,WAAW,EACX,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,eAAe,EACf,UAAU,EACV,OAAO,EACP,SAAS,EACT,IAAI,EACJ,OAAO,EACP,SAAS,EACT,KAAK,SAAS,EACd,OAAO,EACP,YAAY,EACZ,WAAW,EACX,MAAM,EACN,KAAK,IAAI,EACT,KAAK,EACL,KAAK,KAAK,EACV,KAAK,IAAI,EACT,KAAK,IAAI,GACV,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA"}
|
package/dist/Appear.js
CHANGED
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
* - **At mount:** `find` the element's animation, check it `matches` the client's own spec, start the run
|
|
10
10
|
* `elapsedOf` it in (`Machine.startAt`), and `release` the element in the task that writes the engine's
|
|
11
11
|
* first frame.
|
|
12
|
+
* - **A Batch's members** (#706): `batchKeyframes` samples one rule for every member on one set of
|
|
13
|
+
* transitions, each member's own values read from custom properties; a sheet's `batch` gives them one
|
|
14
|
+
* slot, and each member its style. At the Handoff, `findAll` reads every member's animation in one call,
|
|
15
|
+
* each `matchesBatch` the client's key, and its change starts `elapsedOf` it in (`Batch.retarget`'s
|
|
16
|
+
* `startAt`).
|
|
12
17
|
*
|
|
13
18
|
* @example
|
|
14
19
|
* import * as Appear from "@wardic/dom/Appear"
|
|
@@ -21,5 +26,6 @@
|
|
|
21
26
|
* const elapsed = Option.map(Appear.find(element), Appear.elapsedOf)
|
|
22
27
|
*/
|
|
23
28
|
// #48, ADR-0044: the **Handoff**. `@wardic/dom/Appear` (ADR-0041).
|
|
24
|
-
export { adoptChunks, animationOf, CHUNK_ATTRIBUTE, chunkStyle, delayOf, elapsedOf, find, keyframes, matches, MAX_SECONDS, nameOf,
|
|
29
|
+
export { adoptChunks, animationOf, batchKeyframes, CHUNK_ATTRIBUTE, chunkStyle, delayOf, elapsedOf, find, findAll, keyframes, matches, matchesBatch, MAX_SECONDS, nameOf, sheet, } from "./internal/appear.js";
|
|
30
|
+
export { pending, PREFIX, release } from "./internal/appear-slot.js";
|
|
25
31
|
//# sourceMappingURL=Appear.js.map
|
package/dist/Appear.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Appear.js","sourceRoot":"","sources":["../src/Appear.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Appear.js","sourceRoot":"","sources":["../src/Appear.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,mEAAmE;AACnE,OAAO,EACL,WAAW,EACX,WAAW,EACX,cAAc,EAId,eAAe,EACf,UAAU,EACV,OAAO,EACP,SAAS,EACT,IAAI,EACJ,OAAO,EACP,SAAS,EAET,OAAO,EACP,YAAY,EACZ,WAAW,EACX,MAAM,EAEN,KAAK,GAIN,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DOM's writer for a Batch: each moving member's `transform` and `opacity`, written onto its
|
|
3
|
+
* element's style as Wardic's renderer draws the same values. A Batch's keys on the DOM are the
|
|
4
|
+
* transform keys (`x`, `y`, `z`, `translateX/Y/Z`, `scale`, `scaleX/Y`, `rotate`, `rotateX/Y/Z`,
|
|
5
|
+
* `skewX/Y`) and `opacity`, as numbers. A server renders a member's start with `styleOf`, the strings
|
|
6
|
+
* the writer draws it with.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import * as Batch from "@wardic/core/Batch"
|
|
10
|
+
* import * as DomBatch from "@wardic/dom/DomBatch"
|
|
11
|
+
*
|
|
12
|
+
* const grid = Batch.make({ keys: ["x", "y", "opacity"], writer: DomBatch.writer, transition: { type: "spring" } })
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* import * as DomBatch from "@wardic/dom/DomBatch"
|
|
16
|
+
*
|
|
17
|
+
* DomBatch.styleOf({ x: 10, opacity: 0 }) // { transform: "translateX(10px)", opacity: "0" }
|
|
18
|
+
*/
|
|
19
|
+
export { styleOf, writer } from "./internal/batch-writer.ts";
|
|
20
|
+
//# sourceMappingURL=DomBatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomBatch.d.ts","sourceRoot":"","sources":["../src/DomBatch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA"}
|
package/dist/DomBatch.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DOM's writer for a Batch: each moving member's `transform` and `opacity`, written onto its
|
|
3
|
+
* element's style as Wardic's renderer draws the same values. A Batch's keys on the DOM are the
|
|
4
|
+
* transform keys (`x`, `y`, `z`, `translateX/Y/Z`, `scale`, `scaleX/Y`, `rotate`, `rotateX/Y/Z`,
|
|
5
|
+
* `skewX/Y`) and `opacity`, as numbers. A server renders a member's start with `styleOf`, the strings
|
|
6
|
+
* the writer draws it with.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import * as Batch from "@wardic/core/Batch"
|
|
10
|
+
* import * as DomBatch from "@wardic/dom/DomBatch"
|
|
11
|
+
*
|
|
12
|
+
* const grid = Batch.make({ keys: ["x", "y", "opacity"], writer: DomBatch.writer, transition: { type: "spring" } })
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* import * as DomBatch from "@wardic/dom/DomBatch"
|
|
16
|
+
*
|
|
17
|
+
* DomBatch.styleOf({ x: 10, opacity: 0 }) // { transform: "translateX(10px)", opacity: "0" }
|
|
18
|
+
*/
|
|
19
|
+
// `@wardic/dom/DomBatch` (#665, ADR-0070 *Amendment (#665)*): the DOM's implementation of core's
|
|
20
|
+
// `Batch.Writer`, Dom-prefixed as `DomRenderer` is, its member without the module's noun (ADR-0041).
|
|
21
|
+
// Not in `DomLive`: a binding's `createBatch` imports it, so an app that never makes a Batch ships none.
|
|
22
|
+
export { styleOf, writer } from "./internal/batch-writer.js";
|
|
23
|
+
//# sourceMappingURL=DomBatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomBatch.js","sourceRoot":"","sources":["../src/DomBatch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,iGAAiG;AACjG,qGAAqG;AACrG,yGAAyG;AACzG,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA"}
|
package/dist/DomInput.d.ts
CHANGED
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
* DomInput.keyOf("ArrowLeft") // "left"
|
|
10
10
|
* DomInput.buttonOf(2) // "secondary"
|
|
11
11
|
*/
|
|
12
|
-
export { InputDomLive as layer, keyOf, kindOf,
|
|
12
|
+
export { InputDomLive as layer, keyOf, kindOf, buttonOf, toPointer, type Where, } from "./internal/input.ts";
|
|
13
|
+
export { makeFocusable } from "./internal/keyboard-press.ts";
|
|
13
14
|
//# sourceMappingURL=DomInput.d.ts.map
|
package/dist/DomInput.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomInput.d.ts","sourceRoot":"","sources":["../src/DomInput.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,YAAY,IAAI,KAAK,EACrB,KAAK,EACL,MAAM,EACN,
|
|
1
|
+
{"version":3,"file":"DomInput.d.ts","sourceRoot":"","sources":["../src/DomInput.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,YAAY,IAAI,KAAK,EACrB,KAAK,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,KAAK,KAAK,GACX,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA"}
|
package/dist/DomInput.js
CHANGED
|
@@ -11,5 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
// `@wardic/dom/DomInput` (#132, ADR-0041): ADR-0019, ADR-0036 *Amendment (#189)*, ADR-0037. Not in
|
|
13
13
|
// `DomLive`: #511, ADR-0067 decision 14.
|
|
14
|
-
export { InputDomLive as layer, keyOf, kindOf,
|
|
14
|
+
export { InputDomLive as layer, keyOf, kindOf, buttonOf, toPointer, } from "./internal/input.js";
|
|
15
|
+
// The Keyboard press's own module's (#709): `KeyboardPress.makeFocusable`, the same function.
|
|
16
|
+
export { makeFocusable } from "./internal/keyboard-press.js";
|
|
15
17
|
//# sourceMappingURL=DomInput.js.map
|
package/dist/DomInput.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DomInput.js","sourceRoot":"","sources":["../src/DomInput.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,mGAAmG;AACnG,yCAAyC;AACzC,OAAO,EACL,YAAY,IAAI,KAAK,EACrB,KAAK,EACL,MAAM,EACN,
|
|
1
|
+
{"version":3,"file":"DomInput.js","sourceRoot":"","sources":["../src/DomInput.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,mGAAmG;AACnG,yCAAyC;AACzC,OAAO,EACL,YAAY,IAAI,KAAK,EACrB,KAAK,EACL,MAAM,EACN,QAAQ,EACR,SAAS,GAEV,MAAM,qBAAqB,CAAA;AAC5B,8FAA8F;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA"}
|
package/dist/DomProbe.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The DOM's Probe: boxes from `getBoundingClientRect`, sizes and visibility from the observers, the
|
|
3
|
-
* viewport, the reduced-motion preference from `matchMedia`, whether the page is shown
|
|
4
|
-
*
|
|
5
|
-
* `
|
|
3
|
+
* viewport, the reduced-motion preference from `matchMedia`, and whether the page is shown. `layer` needs
|
|
4
|
+
* the Environment's `AtomRegistry`, which it writes its live values through; `DomLive` provides both. A
|
|
5
|
+
* container's scroll is `DomScrollSource`'s.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* import * as DomProbe from "@wardic/dom/DomProbe"
|
package/dist/DomProbe.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The DOM's Probe: boxes from `getBoundingClientRect`, sizes and visibility from the observers, the
|
|
3
|
-
* viewport, the reduced-motion preference from `matchMedia`, whether the page is shown
|
|
4
|
-
*
|
|
5
|
-
* `
|
|
3
|
+
* viewport, the reduced-motion preference from `matchMedia`, and whether the page is shown. `layer` needs
|
|
4
|
+
* the Environment's `AtomRegistry`, which it writes its live values through; `DomLive` provides both. A
|
|
5
|
+
* container's scroll is `DomScrollSource`'s.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* import * as DomProbe from "@wardic/dom/DomProbe"
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DOM's scroll, core's `ScrollSource`: a container's scroll as an Atom, set inside the container's
|
|
3
|
+
* `scroll` event, the window's `resize`, and a resize of the container or its content, so a value derived
|
|
4
|
+
* from a scroll is written in the frame that shows it. `layer` needs the Environment's `AtomRegistry`,
|
|
5
|
+
* which it writes through. A binding builds it where something reads a scroll: the Solid binding's
|
|
6
|
+
* `scroll` Feature does, beside `DomLive`.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import * as DomScrollSource from "@wardic/dom/DomScrollSource"
|
|
10
|
+
*
|
|
11
|
+
* const scroll = DomScrollSource.layer.pipe(Layer.provide(AtomRegistry.layer))
|
|
12
|
+
*/
|
|
13
|
+
export { layer } from "./internal/scroll.ts";
|
|
14
|
+
//# sourceMappingURL=DomScrollSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomScrollSource.d.ts","sourceRoot":"","sources":["../src/DomScrollSource.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The DOM's scroll, core's `ScrollSource`: a container's scroll as an Atom, set inside the container's
|
|
3
|
+
* `scroll` event, the window's `resize`, and a resize of the container or its content, so a value derived
|
|
4
|
+
* from a scroll is written in the frame that shows it. `layer` needs the Environment's `AtomRegistry`,
|
|
5
|
+
* which it writes through. A binding builds it where something reads a scroll: the Solid binding's
|
|
6
|
+
* `scroll` Feature does, beside `DomLive`.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import * as DomScrollSource from "@wardic/dom/DomScrollSource"
|
|
10
|
+
*
|
|
11
|
+
* const scroll = DomScrollSource.layer.pipe(Layer.provide(AtomRegistry.layer))
|
|
12
|
+
*/
|
|
13
|
+
// `@wardic/dom/DomScrollSource` (#518, ADR-0041's names): the DOM Probe's `scroll` until then.
|
|
14
|
+
export { layer } from "./internal/scroll.js";
|
|
15
|
+
//# sourceMappingURL=DomScrollSource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomScrollSource.js","sourceRoot":"","sources":["../src/DomScrollSource.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,+FAA+F;AAC/F,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA"}
|
package/dist/FlushGate.js
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
import * as Context from "effect/Context";
|
|
22
22
|
import * as Effect from "effect/Effect";
|
|
23
23
|
import * as Layer from "effect/Layer";
|
|
24
|
-
import
|
|
24
|
+
import * as Atom from "effect/reactivity/Atom";
|
|
25
25
|
import * as internal from "./internal/gate.js";
|
|
26
26
|
import { makeRunner } from "./internal/runner.js";
|
|
27
27
|
/** The Environment's Flush gate. */
|
package/dist/FlushGate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlushGate.js","sourceRoot":"","sources":["../src/FlushGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,wGAAwG;AACxG,uCAAuC;AACvC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAA;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"FlushGate.js","sourceRoot":"","sources":["../src/FlushGate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,2GAA2G;AAC3G,wGAAwG;AACxG,uCAAuC;AACvC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CA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AAO,EAAE,IAAI;IACb,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ;IACvB,UAAU,EAAE,IAAI;CACjB,CAAC,CAAA;AAEF,oFAAoF;AACpF,MAAM,CAAC,MAAM,UAAU,GAA2B,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Keyboard press's focusability: `makeFocusable` gives an HTML element that doesn't take the
|
|
3
|
+
* keyboard's focus of itself `tabindex="0"`, so Enter and Space can press it, as Motion's press does. A
|
|
4
|
+
* control, a link with its `href`, an editable region, an element given a `tabindex` and an SVG element
|
|
5
|
+
* are left as they are. `DomInput.makeFocusable` is the same function, here apart from the DOM's input,
|
|
6
|
+
* so a binding calls it as each pressable element mounts without loading the input.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import * as KeyboardPress from "@wardic/dom/KeyboardPress"
|
|
10
|
+
*
|
|
11
|
+
* const tile = document.createElement("div")
|
|
12
|
+
* KeyboardPress.makeFocusable(tile)
|
|
13
|
+
* // tile.getAttribute("tabindex") === "0"
|
|
14
|
+
*/
|
|
15
|
+
export { makeFocusable } from "./internal/keyboard-press.ts";
|
|
16
|
+
//# sourceMappingURL=KeyboardPress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardPress.d.ts","sourceRoot":"","sources":["../src/KeyboardPress.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Keyboard press's focusability: `makeFocusable` gives an HTML element that doesn't take the
|
|
3
|
+
* keyboard's focus of itself `tabindex="0"`, so Enter and Space can press it, as Motion's press does. A
|
|
4
|
+
* control, a link with its `href`, an editable region, an element given a `tabindex` and an SVG element
|
|
5
|
+
* are left as they are. `DomInput.makeFocusable` is the same function, here apart from the DOM's input,
|
|
6
|
+
* so a binding calls it as each pressable element mounts without loading the input.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import * as KeyboardPress from "@wardic/dom/KeyboardPress"
|
|
10
|
+
*
|
|
11
|
+
* const tile = document.createElement("div")
|
|
12
|
+
* KeyboardPress.makeFocusable(tile)
|
|
13
|
+
* // tile.getAttribute("tabindex") === "0"
|
|
14
|
+
*/
|
|
15
|
+
// `@wardic/dom/KeyboardPress` (#709, Q2; ADR-0056, *Amendment (#709)*): ADR-0041's module per concern.
|
|
16
|
+
export { makeFocusable } from "./internal/keyboard-press.js";
|
|
17
|
+
//# sourceMappingURL=KeyboardPress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardPress.js","sourceRoot":"","sources":["../src/KeyboardPress.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,uGAAuG;AACvG,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A Reorder group on the DOM: the group, its items' drags, its keyboard and its announcements, one
|
|
3
|
-
* controller a group. `make` builds one over the context's Projection system and `Announcer
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* controller a group. `make` builds one over the context's Projection system and `Announcer`, for items
|
|
4
|
+
* that are layout nodes; `makePlaced` one over the `Announcer` alone, for a Batch Reorder group's items,
|
|
5
|
+
* placed from their index and never measured. A binding attaches its group element, gets a driver for
|
|
6
|
+
* each item, and closing the Scope ends the controller. A server render gets `inert`.
|
|
6
7
|
*
|
|
7
8
|
* @example
|
|
8
9
|
* import * as ReorderController from "@wardic/dom/ReorderController"
|
|
@@ -10,6 +11,10 @@
|
|
|
10
11
|
* const controller = yield* ReorderController.make({ values: () => items, onReorder: (next) => (items = next) })
|
|
11
12
|
* controller.attach(list)
|
|
12
13
|
* const driver = controller.item(item, () => Option.some(element))
|
|
14
|
+
*
|
|
15
|
+
* // Items placed from their index: placed() once they're laid out in a new order.
|
|
16
|
+
* const placedGroup = yield* ReorderController.makePlaced({ values: () => items, onReorder: (next) => (items = next) })
|
|
17
|
+
* placedGroup.placed()
|
|
13
18
|
*/
|
|
14
19
|
import * as Announcer from "@wardic/core/Announcer";
|
|
15
20
|
import * as Effect from "effect/Effect";
|
|
@@ -17,7 +22,7 @@ import type * as Scope from "effect/Scope";
|
|
|
17
22
|
import { PassEnds } from "./internal/pass-ends.ts";
|
|
18
23
|
import * as internal from "./internal/reorder.ts";
|
|
19
24
|
import * as ProjectionSystem from "./ProjectionSystem.ts";
|
|
20
|
-
export { type ReorderEnd as End, type ReorderHoldEnd as HoldEnd, type ReorderHoldHow as HoldHow, type ReorderHoldStart as HoldStart, type ReorderItemDriver as ItemDriver, DEFAULT_REORDER_INSTRUCTIONS as DEFAULT_INSTRUCTIONS, REORDER_GROUP_STYLE as GROUP_STYLE, } from "./internal/reorder.ts";
|
|
25
|
+
export { type ReorderEnd as End, type ReorderHoldEnd as HoldEnd, type ReorderHoldHow as HoldHow, type ReorderHoldStart as HoldStart, type ReorderItemDriver as ItemDriver, type ReorderItemHandle as ItemHandle, DEFAULT_REORDER_INSTRUCTIONS as DEFAULT_INSTRUCTIONS, REORDER_GROUP_STYLE as GROUP_STYLE, } from "./internal/reorder.ts";
|
|
21
26
|
/** A **Reorder group** on the DOM: what a binding attaches its group element and items to. */
|
|
22
27
|
export type ReorderController<V> = Omit<internal.ReorderController<V>, "dispose">;
|
|
23
28
|
/** What a binding hands its group: the app's values, its axis, its keyboard and its announcements. */
|
|
@@ -33,6 +38,21 @@ export type Services = ProjectionSystem.ProjectionSystem | PassEnds | Announcer.
|
|
|
33
38
|
* `Announcer`, in the current Scope: closing it ends the controller.
|
|
34
39
|
*/
|
|
35
40
|
export declare const make: <V>(options: Options<V>) => Effect.Effect<ReorderController<V>, never, Services | Scope.Scope>;
|
|
41
|
+
/**
|
|
42
|
+
* A **Batch Reorder group**'s controller, whose items are placed from their index, never measured: `placed`
|
|
43
|
+
* tells it the binding has laid its items out in a new order, as a Measure pass's end tells `make`'s.
|
|
44
|
+
*/
|
|
45
|
+
export interface Placed<V> extends ReorderController<V> {
|
|
46
|
+
/** The binding has placed its items in the new order: their layout's turn, a stepped item revealed. */
|
|
47
|
+
readonly placed: () => void;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Build a group's controller for items placed rather than measured, a Batch Reorder group's, announcing
|
|
51
|
+
* through the context's `Announcer`, in the current Scope: closing it ends the controller. It needs no
|
|
52
|
+
* projection system: each item registers a handle whose box is its place, raising its box's version as
|
|
53
|
+
* it's placed, and the binding calls `placed` once it has placed a new order.
|
|
54
|
+
*/
|
|
55
|
+
export declare const makePlaced: <V>(options: Options<V>) => Effect.Effect<Placed<V>, never, Announcer.Announcer | Scope.Scope>;
|
|
36
56
|
/**
|
|
37
57
|
* The controller a server render gets: its group has no values, so every operation on it does nothing,
|
|
38
58
|
* its axis is `"y"`, and an item's driver does nothing too.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReorderController.d.ts","sourceRoot":"","sources":["../src/ReorderController.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ReorderController.d.ts","sourceRoot":"","sources":["../src/ReorderController.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAQH,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAClD,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAA;AAEjD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EACL,KAAK,UAAU,IAAI,GAAG,EACtB,KAAK,cA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AE,iBAAiB,CAAC,KAAK,CAAqC,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A Reorder group on the DOM: the group, its items' drags, its keyboard and its announcements, one
|
|
3
|
-
* controller a group. `make` builds one over the context's Projection system and `Announcer
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* controller a group. `make` builds one over the context's Projection system and `Announcer`, for items
|
|
4
|
+
* that are layout nodes; `makePlaced` one over the `Announcer` alone, for a Batch Reorder group's items,
|
|
5
|
+
* placed from their index and never measured. A binding attaches its group element, gets a driver for
|
|
6
|
+
* each item, and closing the Scope ends the controller. A server render gets `inert`.
|
|
6
7
|
*
|
|
7
8
|
* @example
|
|
8
9
|
* import * as ReorderController from "@wardic/dom/ReorderController"
|
|
@@ -10,14 +11,21 @@
|
|
|
10
11
|
* const controller = yield* ReorderController.make({ values: () => items, onReorder: (next) => (items = next) })
|
|
11
12
|
* controller.attach(list)
|
|
12
13
|
* const driver = controller.item(item, () => Option.some(element))
|
|
14
|
+
*
|
|
15
|
+
* // Items placed from their index: placed() once they're laid out in a new order.
|
|
16
|
+
* const placedGroup = yield* ReorderController.makePlaced({ values: () => items, onReorder: (next) => (items = next) })
|
|
17
|
+
* placedGroup.placed()
|
|
13
18
|
*/
|
|
14
19
|
// A **Reorder group**'s controller (ADR-0019 *Amendment (Reorder)*, ADR-0037); a server render's `inert`
|
|
15
20
|
// (ADR-0021). `@wardic/dom/ReorderController` (#132, ADR-0041). A scoped constructor, one per group (#132's
|
|
16
21
|
// PR 3): `make` logs its `wardic.reorder:` events through the context's Logger, and ends with its Scope,
|
|
17
22
|
// which stops its listening to Measure passes, resets its Auto-scroll and clears a pending announcement.
|
|
23
|
+
// `makePlaced` (#712, ADR-0072) is the same controller wired to its binding's placing: no projection system,
|
|
24
|
+
// and `placed` where `make`'s hears a Measure pass's end.
|
|
18
25
|
// Its items' drivers stay plain, each with its own `dispose`, since one is made per element.
|
|
19
26
|
import * as Announcer from "@wardic/core/Announcer";
|
|
20
27
|
import * as Effect from "effect/Effect";
|
|
28
|
+
import { constVoid } from "effect/Function";
|
|
21
29
|
import { PassEnds } from "./internal/pass-ends.js";
|
|
22
30
|
import * as internal from "./internal/reorder.js";
|
|
23
31
|
import { makeRunner } from "./internal/runner.js";
|
|
@@ -31,10 +39,36 @@ export const make = Effect.fnUntraced(function* (options) {
|
|
|
31
39
|
const projection = yield* ProjectionSystem.ProjectionSystem;
|
|
32
40
|
const passEnds = yield* PassEnds;
|
|
33
41
|
const announcer = yield* Announcer.Announcer;
|
|
34
|
-
const controller = internal.makeReorderController({ runtime: yield* makeRunner(), projection, announce: announcer.announce,
|
|
42
|
+
const controller = internal.makeReorderController({ runtime: yield* makeRunner(), layOut: () => projection.notify(), announce: announcer.announce, onLaidOut: passEnds.onPassEnd }, options);
|
|
35
43
|
yield* Effect.addFinalizer(() => Effect.sync(controller.dispose));
|
|
36
44
|
return controller;
|
|
37
45
|
});
|
|
46
|
+
/**
|
|
47
|
+
* Build a group's controller for items placed rather than measured, a Batch Reorder group's, announcing
|
|
48
|
+
* through the context's `Announcer`, in the current Scope: closing it ends the controller. It needs no
|
|
49
|
+
* projection system: each item registers a handle whose box is its place, raising its box's version as
|
|
50
|
+
* it's placed, and the binding calls `placed` once it has placed a new order.
|
|
51
|
+
*/
|
|
52
|
+
// #712, ADR-0072 decision 6: the same controller, wired to its binding's placing.
|
|
53
|
+
export const makePlaced = Effect.fnUntraced(function* (options) {
|
|
54
|
+
const announcer = yield* Announcer.Announcer;
|
|
55
|
+
// What hears the binding's placing: the controller's own, once, until it's disposed.
|
|
56
|
+
let laidOut = constVoid;
|
|
57
|
+
const controller = internal.makeReorderController({
|
|
58
|
+
runtime: yield* makeRunner(),
|
|
59
|
+
// The binding places its items on a change of `values` itself.
|
|
60
|
+
layOut: constVoid,
|
|
61
|
+
announce: announcer.announce,
|
|
62
|
+
onLaidOut: (listener) => {
|
|
63
|
+
laidOut = listener;
|
|
64
|
+
return () => {
|
|
65
|
+
laidOut = constVoid;
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
}, options);
|
|
69
|
+
yield* Effect.addFinalizer(() => Effect.sync(controller.dispose));
|
|
70
|
+
return { ...controller, placed: () => laidOut() };
|
|
71
|
+
});
|
|
38
72
|
/**
|
|
39
73
|
* The controller a server render gets: its group has no values, so every operation on it does nothing,
|
|
40
74
|
* its axis is `"y"`, and an item's driver does nothing too.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReorderController.js","sourceRoot":"","sources":["../src/ReorderController.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ReorderController.js","sourceRoot":"","sources":["../src/ReorderController.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,yGAAyG;AACzG,4GAA4G;AAC5G,yGAAyG;AACzG,yGAAyG;AACzG,6GAA6G;AAC7G,0DAA0D;AAC1D,6FAA6F;AAC7F,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;AAClD,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAA;AAEzD,OAAO,EAOL,4BAA4B,IAAI,oBAAoB,EACpD,mBAAmB,IAAI,WAAW,GACnC,MAAM,uBAAuB,CAAA;AAe9B;;;GAGG;AACH,MAAM,CAAC,MAAM,IAAI,GAAmG,MAAM,CAAC,UAAU,CACnI,QAAQ,CAAC,EAAK,OAAmB;IAC/B,MAAM,UAAU,GAAG,KAAK,CAAC,CAAC,gBAAgB,CAAC,gBAAgB,CAAA;IAC3D,MAAM,QAAQ,GAAG,KAAK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AC,OAAO,CAAC,CAAC,CAAA;IACjE,OAAO,EAAE,GAAG,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAA;AACnD,CAAC,CAAC,CAAA;AAEJ;;;GAGG;AACH,YAAY;AACZ,MAAM,CAAC,MAAM,KAAK,GAA6B,QAAQ,CAAC,wBAAwB,CAAA"}
|
package/dist/ScrollOffset.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Scroll offsets, the DOM's: Motion's syntax for where a target's progress through its scroll container
|
|
3
|
-
* runs, from 0 to 1, which the DOM's `
|
|
3
|
+
* runs, from 0 to 1, which the DOM's `ScrollSource` resolves. Core takes an offset as its Environment's
|
|
4
4
|
* own and passes it through, so its syntax, its names and its units are the DOM's.
|
|
5
5
|
*
|
|
6
6
|
* - **An edge** is a name (`start`, `center`, `end`), a fraction of a length (`0.5`), or a CSS length:
|
package/dist/ScrollOffset.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Scroll offsets, the DOM's: Motion's syntax for where a target's progress through its scroll container
|
|
3
|
-
* runs, from 0 to 1, which the DOM's `
|
|
3
|
+
* runs, from 0 to 1, which the DOM's `ScrollSource` resolves. Core takes an offset as its Environment's
|
|
4
4
|
* own and passes it through, so its syntax, its names and its units are the DOM's.
|
|
5
5
|
*
|
|
6
6
|
* - **An edge** is a name (`start`, `center`, `end`), a fraction of a length (`0.5`), or a CSS length:
|
package/dist/index.d.ts
CHANGED
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
* `@wardic/dom`: the browser Environment, and the framework-free pieces a binding builds on. It's for
|
|
3
3
|
* binding authors, Wardic's own and any other, and it's Effect-typed.
|
|
4
4
|
*
|
|
5
|
-
* - **An app** imports {@link DomLive}, the composed Environment it hands its binding,
|
|
6
|
-
* {@link CheckFrames}, to check its Frames in development
|
|
5
|
+
* - **An app** imports {@link DomLive}, the composed Environment it hands its binding,
|
|
6
|
+
* {@link CheckFrames}, to check its Frames in development, and {@link FrameLoopMetrics}, to record the
|
|
7
|
+
* Frame loop's metrics.
|
|
7
8
|
* - **A binding** imports each module by its subpath, as a namespace
|
|
8
9
|
* (`import * as FlushGate from "@wardic/dom/FlushGate"`), and the root re-exports each one:
|
|
9
10
|
* - the DOM's implementations of core's services, each with its `layer` (Effect's platform
|
|
10
|
-
* convention: `DomRenderer`, `DomInput`, `DomProbe`, `DomClock`, `DomAnnouncer`,
|
|
11
|
+
* convention: `DomRenderer`, `DomInput`, `DomProbe`, `DomScrollSource`, `DomClock`, `DomAnnouncer`,
|
|
11
12
|
* `DomInterpolators`, `DomPositionalKeys`, `DomDefaultTransition`), and `DomKeyRules`, the Key
|
|
12
13
|
* rules `DomInterpolators.layer` installs, which has none of its own;
|
|
13
14
|
* - dom's own concepts, by the glossary's names: `FlushGate`, `ProjectionSystem`,
|
|
14
|
-
* `ReorderController`, `Style`, `Svg`, `Color`, `Variables`, `ScrollOffset`, `Appear`, `OwnValues
|
|
15
|
-
* and `Report`.
|
|
15
|
+
* `ReorderController`, `Style`, `Svg`, `Color`, `Variables`, `ScrollOffset`, `Appear`, `OwnValues`,
|
|
16
|
+
* `KeyboardPress` and `Report`.
|
|
16
17
|
*
|
|
17
18
|
* Everything under `internal/` is dom's own and not exported.
|
|
18
19
|
*/
|
|
@@ -26,11 +27,13 @@ import type * as Probe from "@wardic/core/Probe";
|
|
|
26
27
|
import type * as RefreshFrameSource from "@wardic/core/RefreshFrameSource";
|
|
27
28
|
import type * as Renderer from "@wardic/core/Renderer";
|
|
28
29
|
import * as Layer from "effect/Layer";
|
|
29
|
-
import
|
|
30
|
-
export declare const VERSION = "
|
|
30
|
+
import * as AtomRegistry from "effect/reactivity/AtomRegistry";
|
|
31
|
+
export declare const VERSION = "1.0.0-rc.11";
|
|
32
|
+
export * as DomBatch from "./DomBatch.ts";
|
|
31
33
|
export * as DomClock from "./DomClock.ts";
|
|
32
34
|
export * as DomInput from "./DomInput.ts";
|
|
33
35
|
export * as DomProbe from "./DomProbe.ts";
|
|
36
|
+
export * as DomScrollSource from "./DomScrollSource.ts";
|
|
34
37
|
export * as DomRenderer from "./DomRenderer.ts";
|
|
35
38
|
export * as DomAnnouncer from "./DomAnnouncer.ts";
|
|
36
39
|
export * as DomInterpolators from "./DomInterpolators.ts";
|
|
@@ -48,6 +51,7 @@ export * as Variables from "./Variables.ts";
|
|
|
48
51
|
export * as ScrollOffset from "./ScrollOffset.ts";
|
|
49
52
|
export * as Appear from "./Appear.ts";
|
|
50
53
|
export * as OwnValues from "./OwnValues.ts";
|
|
54
|
+
export * as KeyboardPress from "./KeyboardPress.ts";
|
|
51
55
|
export * as Report from "./Report.ts";
|
|
52
56
|
/**
|
|
53
57
|
* Core's development check for Frames that aren't finite (`FrameLoop.CheckFrames`), here for an app,
|
|
@@ -57,6 +61,13 @@ export * as Report from "./Report.ts";
|
|
|
57
61
|
* it's for development: see https://wardic.dev/guides/observability.
|
|
58
62
|
*/
|
|
59
63
|
export { CheckFrames } from "@wardic/core/FrameLoop";
|
|
64
|
+
/**
|
|
65
|
+
* Core's Frame loop metrics (`FrameLoop.layerMetrics`), here for an app. Merged beside {@link DomLive},
|
|
66
|
+
* the loop records the animations running, the runs that settled or failed, and each tick's ms, for the
|
|
67
|
+
* devtools or an exporter to read. Without it, it records none: see
|
|
68
|
+
* https://wardic.dev/guides/observability.
|
|
69
|
+
*/
|
|
70
|
+
export { layerMetrics as FrameLoopMetrics } from "@wardic/core/FrameLoop";
|
|
60
71
|
/**
|
|
61
72
|
* The browser Environment, composed: the DOM's services, core's interpolators with the DOM's Key
|
|
62
73
|
* rules, and the Frame loop over the DOM's Clock, needing nothing else. Hand it to `WardicProvider`'s
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.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B,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,mBAAmB,MAAM,0BAA0B,CAAA;AAC/D,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAA;AAC3D,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAErC;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEpD;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAEzE;;;;;;;;;;GAUG;AAOH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,KAAK,CAC7B,KAAK,CAAC,KAAK,GACX,kBAAkB,CAAC,kBAAkB,GACrC,SAAS,CAAC,SAAS,GACnB,QAAQ,CAAC,QAAQ,GACjB,KAAK,CAAC,KAAK,GACX,oBAAoB,CAAC,oBAAoB,GACzC,aAAa,CAAC,cAAc,GAC5B,iBAAiB,CAAC,iBAAiB,GACnC,SAAS,CAAC,SAAS,GACnB,YAAY,CAAC,YAAY,CAM5B,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as FrameLoop from "@wardic/core/FrameLoop";
|
|
2
2
|
import * as Layer from "effect/Layer";
|
|
3
|
-
import
|
|
3
|
+
import * as AtomRegistry from "effect/reactivity/AtomRegistry";
|
|
4
4
|
import * as DomAnnouncer from "./DomAnnouncer.js";
|
|
5
5
|
import * as DomClock from "./DomClock.js";
|
|
6
6
|
import * as DomDefaultTransition from "./DomDefaultTransition.js";
|
|
@@ -8,10 +8,12 @@ import * as DomInterpolators from "./DomInterpolators.js";
|
|
|
8
8
|
import * as DomPositionalKeys from "./DomPositionalKeys.js";
|
|
9
9
|
import * as DomProbe from "./DomProbe.js";
|
|
10
10
|
import * as DomRenderer from "./DomRenderer.js";
|
|
11
|
-
export const VERSION = "
|
|
11
|
+
export const VERSION = "1.0.0-rc.11";
|
|
12
|
+
export * as DomBatch from "./DomBatch.js";
|
|
12
13
|
export * as DomClock from "./DomClock.js";
|
|
13
14
|
export * as DomInput from "./DomInput.js";
|
|
14
15
|
export * as DomProbe from "./DomProbe.js";
|
|
16
|
+
export * as DomScrollSource from "./DomScrollSource.js";
|
|
15
17
|
export * as DomRenderer from "./DomRenderer.js";
|
|
16
18
|
export * as DomAnnouncer from "./DomAnnouncer.js";
|
|
17
19
|
export * as DomInterpolators from "./DomInterpolators.js";
|
|
@@ -29,6 +31,7 @@ export * as Variables from "./Variables.js";
|
|
|
29
31
|
export * as ScrollOffset from "./ScrollOffset.js";
|
|
30
32
|
export * as Appear from "./Appear.js";
|
|
31
33
|
export * as OwnValues from "./OwnValues.js";
|
|
34
|
+
export * as KeyboardPress from "./KeyboardPress.js";
|
|
32
35
|
export * as Report from "./Report.js";
|
|
33
36
|
/**
|
|
34
37
|
* Core's development check for Frames that aren't finite (`FrameLoop.CheckFrames`), here for an app,
|
|
@@ -39,6 +42,14 @@ export * as Report from "./Report.js";
|
|
|
39
42
|
*/
|
|
40
43
|
// ADR-0030 decision 7; re-exported here for an app (#586).
|
|
41
44
|
export { CheckFrames } from "@wardic/core/FrameLoop";
|
|
45
|
+
/**
|
|
46
|
+
* Core's Frame loop metrics (`FrameLoop.layerMetrics`), here for an app. Merged beside {@link DomLive},
|
|
47
|
+
* the loop records the animations running, the runs that settled or failed, and each tick's ms, for the
|
|
48
|
+
* devtools or an exporter to read. Without it, it records none: see
|
|
49
|
+
* https://wardic.dev/guides/observability.
|
|
50
|
+
*/
|
|
51
|
+
// #518, ADR-0067 *Amendment (#518)*, decision 2: opt-in, re-exported here for an app, as `CheckFrames` is.
|
|
52
|
+
export { layerMetrics as FrameLoopMetrics } from "@wardic/core/FrameLoop";
|
|
42
53
|
/**
|
|
43
54
|
* The browser Environment, composed: the DOM's services, core's interpolators with the DOM's Key
|
|
44
55
|
* rules, and the Frame loop over the DOM's Clock, needing nothing else. Hand it to `WardicProvider`'s
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAA;AAQnD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AACrC,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,YAAY,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAA;AAC3D,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAA;AAE/C,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAA;AAEpC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAA;AACvD,OAAO,KAA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AAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,CAAC,KAAK,EAAE,oBAAoB,CAAC,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,CACnK,EACD,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,KAAK,CAAC,CACvC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An Appear animation's slot on its element (#48, ADR-0044), as a page's code reads it before any Handoff:
|
|
3
|
+
* whether the element's animation still runs, and the Handoff's last step, its removal. Kept apart from the
|
|
4
|
+
* sampler and the Handoff's reads (`appear.ts`), so code that only asks, or lets one go, ships neither: a
|
|
5
|
+
* Batch's, whose reads load at its first Handoff (#706, Q11).
|
|
6
|
+
*
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
/** The prefix every Appear rule's name starts with. */
|
|
10
|
+
export declare const PREFIX = "wardic-";
|
|
11
|
+
/**
|
|
12
|
+
* Whether `element`'s Appear animation is running, not yet handed over: its inline style still names its
|
|
13
|
+
* slot, which `release` removes. A layout measure asks it of each node, so a running animation's
|
|
14
|
+
* transform, which beats the inline one, stays out of the box it reads.
|
|
15
|
+
*/
|
|
16
|
+
export declare const pending: (element: ElementCSSInlineStyle) => boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The handover's last step: the element's inline `animation` removed, in the task that writes the
|
|
19
|
+
* engine's first frame, so no paint falls between. While it ran, its value beat the inline style the
|
|
20
|
+
* engine writes; removing it ends the CSS animation at that task's style update.
|
|
21
|
+
*/
|
|
22
|
+
export declare const release: (element: ElementCSSInlineStyle) => void;
|
|
23
|
+
//# sourceMappingURL=appear-slot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appear-slot.d.ts","sourceRoot":"","sources":["../../src/internal/appear-slot.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,uDAAuD;AACvD,eAAO,MAAM,MAAM,YAAY,CAAA;AAK/B;;;;GAIG;AAEH,eAAO,MAAM,OAAO,YAAa,qBAAqB,KAAG,OAA8E,CAAA;AAEvI;;;;GAIG;AAEH,eAAO,MAAM,OAAO,YAAa,qBAAqB,KAAG,IAExD,CAAA"}
|