@wardic/dom 1.0.1 → 1.1.1
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 +3 -2
- package/dist/Appear.d.ts.map +1 -1
- package/dist/Appear.js +4 -3
- package/dist/Appear.js.map +1 -1
- package/dist/DomProjectionSystem.js +3 -3
- package/dist/DomProjectionSystem.js.map +1 -1
- package/dist/FlushGate.d.ts +6 -6
- package/dist/FlushGate.d.ts.map +1 -1
- package/dist/FlushGate.js +11 -8
- package/dist/FlushGate.js.map +1 -1
- package/dist/ReorderController.js +3 -3
- package/dist/ReorderController.js.map +1 -1
- package/dist/Report.d.ts +1 -1
- package/dist/Report.d.ts.map +1 -1
- package/dist/Report.js +3 -2
- package/dist/Report.js.map +1 -1
- package/dist/Style.d.ts +2 -1
- package/dist/Style.d.ts.map +1 -1
- package/dist/Style.js +3 -1
- package/dist/Style.js.map +1 -1
- package/dist/TimelineValue.d.ts +18 -0
- package/dist/TimelineValue.d.ts.map +1 -0
- package/dist/TimelineValue.js +20 -0
- package/dist/TimelineValue.js.map +1 -0
- package/dist/index.d.ts +13 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/internal/appear.d.ts +10 -4
- package/dist/internal/appear.d.ts.map +1 -1
- package/dist/internal/appear.js +18 -8
- package/dist/internal/appear.js.map +1 -1
- package/dist/internal/batch-handoff.d.ts +25 -0
- package/dist/internal/batch-handoff.d.ts.map +1 -0
- package/dist/internal/batch-handoff.js +64 -0
- package/dist/internal/batch-handoff.js.map +1 -0
- package/dist/internal/drag-defaults.js +4 -1
- package/dist/internal/drag-defaults.js.map +1 -1
- package/dist/internal/gate-environment.d.ts +4 -0
- package/dist/internal/gate-environment.d.ts.map +1 -0
- package/dist/internal/gate-environment.js +21 -0
- package/dist/internal/gate-environment.js.map +1 -0
- package/dist/internal/projection.d.ts.map +1 -1
- package/dist/internal/projection.js +22 -21
- package/dist/internal/projection.js.map +1 -1
- package/dist/internal/renderer.d.ts +13 -0
- package/dist/internal/renderer.d.ts.map +1 -1
- package/dist/internal/renderer.js +21 -0
- package/dist/internal/renderer.js.map +1 -1
- package/dist/internal/reorder.d.ts +2 -2
- package/dist/internal/reorder.d.ts.map +1 -1
- package/dist/internal/reorder.js +2 -2
- package/dist/internal/reorder.js.map +1 -1
- package/dist/internal/scroll.d.ts +17 -0
- package/dist/internal/scroll.d.ts.map +1 -1
- package/dist/internal/scroll.js +23 -15
- package/dist/internal/scroll.js.map +1 -1
- package/dist/internal/starting-style.d.ts +0 -83
- package/dist/internal/starting-style.d.ts.map +1 -1
- package/dist/internal/starting-style.js +16 -143
- package/dist/internal/starting-style.js.map +1 -1
- package/dist/internal/timeline.d.ts +56 -0
- package/dist/internal/timeline.d.ts.map +1 -0
- package/dist/internal/timeline.js +389 -0
- package/dist/internal/timeline.js.map +1 -0
- package/dist/unstable/AppearAnimations.d.ts +191 -0
- package/dist/unstable/AppearAnimations.d.ts.map +1 -0
- package/dist/unstable/AppearAnimations.js +561 -0
- package/dist/unstable/AppearAnimations.js.map +1 -0
- package/dist/unstable/BatchMembers.d.ts +513 -0
- package/dist/unstable/BatchMembers.d.ts.map +1 -0
- package/dist/unstable/BatchMembers.js +2490 -0
- package/dist/unstable/BatchMembers.js.map +1 -0
- package/dist/unstable/DomValues.d.ts +25 -0
- package/dist/unstable/DomValues.d.ts.map +1 -0
- package/dist/unstable/DomValues.js +45 -0
- package/dist/unstable/DomValues.js.map +1 -0
- package/dist/unstable/DragConstraints.d.ts +48 -0
- package/dist/unstable/DragConstraints.d.ts.map +1 -0
- package/dist/unstable/DragConstraints.js +49 -0
- package/dist/unstable/DragConstraints.js.map +1 -0
- package/dist/unstable/DragControls.d.ts +50 -0
- package/dist/unstable/DragControls.d.ts.map +1 -0
- package/dist/unstable/DragControls.js +55 -0
- package/dist/unstable/DragControls.js.map +1 -0
- package/dist/unstable/DragDefaults.d.ts +34 -0
- package/dist/unstable/DragDefaults.d.ts.map +1 -0
- package/dist/unstable/DragDefaults.js +47 -0
- package/dist/unstable/DragDefaults.js.map +1 -0
- package/dist/unstable/DragTrack.d.ts +236 -0
- package/dist/unstable/DragTrack.d.ts.map +1 -0
- package/dist/unstable/DragTrack.js +646 -0
- package/dist/unstable/DragTrack.js.map +1 -0
- package/dist/unstable/DragTransition.d.ts +22 -0
- package/dist/unstable/DragTransition.d.ts.map +1 -0
- package/dist/unstable/DragTransition.js +31 -0
- package/dist/unstable/DragTransition.js.map +1 -0
- package/dist/unstable/ElementSetup.d.ts +144 -0
- package/dist/unstable/ElementSetup.d.ts.map +1 -0
- package/dist/unstable/ElementSetup.js +297 -0
- package/dist/unstable/ElementSetup.js.map +1 -0
- package/dist/unstable/Feature.d.ts +221 -0
- package/dist/unstable/Feature.d.ts.map +1 -0
- package/dist/unstable/Feature.js +281 -0
- package/dist/unstable/Feature.js.map +1 -0
- package/dist/unstable/GestureFeatures.d.ts +30 -0
- package/dist/unstable/GestureFeatures.d.ts.map +1 -0
- package/dist/unstable/GestureFeatures.js +32 -0
- package/dist/unstable/GestureFeatures.js.map +1 -0
- package/dist/unstable/GestureInfo.d.ts +61 -0
- package/dist/unstable/GestureInfo.d.ts.map +1 -0
- package/dist/unstable/GestureInfo.js +23 -0
- package/dist/unstable/GestureInfo.js.map +1 -0
- package/dist/unstable/Imperative.d.ts +214 -0
- package/dist/unstable/Imperative.d.ts.map +1 -0
- package/dist/unstable/Imperative.js +768 -0
- package/dist/unstable/Imperative.js.map +1 -0
- package/dist/unstable/Instant.d.ts +46 -0
- package/dist/unstable/Instant.d.ts.map +1 -0
- package/dist/unstable/Instant.js +49 -0
- package/dist/unstable/Instant.js.map +1 -0
- package/dist/unstable/LayoutGroup.d.ts +14 -0
- package/dist/unstable/LayoutGroup.d.ts.map +1 -0
- package/dist/unstable/LayoutGroup.js +31 -0
- package/dist/unstable/LayoutGroup.js.map +1 -0
- package/dist/unstable/LayoutMember.d.ts +127 -0
- package/dist/unstable/LayoutMember.d.ts.map +1 -0
- package/dist/unstable/LayoutMember.js +176 -0
- package/dist/unstable/LayoutMember.js.map +1 -0
- package/dist/unstable/LiveStyle.d.ts +171 -0
- package/dist/unstable/LiveStyle.d.ts.map +1 -0
- package/dist/unstable/LiveStyle.js +329 -0
- package/dist/unstable/LiveStyle.js.map +1 -0
- package/dist/unstable/MemberHold.d.ts +3 -0
- package/dist/unstable/MemberHold.d.ts.map +1 -0
- package/dist/unstable/MemberHold.js +223 -0
- package/dist/unstable/MemberHold.js.map +1 -0
- package/dist/unstable/OwnerScope.d.ts +16 -0
- package/dist/unstable/OwnerScope.d.ts.map +1 -0
- package/dist/unstable/OwnerScope.js +35 -0
- package/dist/unstable/OwnerScope.js.map +1 -0
- package/dist/unstable/PresenceController.d.ts +128 -0
- package/dist/unstable/PresenceController.d.ts.map +1 -0
- package/dist/unstable/PresenceController.js +1427 -0
- package/dist/unstable/PresenceController.js.map +1 -0
- package/dist/unstable/Press.d.ts +26 -0
- package/dist/unstable/Press.d.ts.map +1 -0
- package/dist/unstable/Press.js +19 -0
- package/dist/unstable/Press.js.map +1 -0
- package/dist/unstable/ServerInterpolators.d.ts +17 -0
- package/dist/unstable/ServerInterpolators.d.ts.map +1 -0
- package/dist/unstable/ServerInterpolators.js +20 -0
- package/dist/unstable/ServerInterpolators.js.map +1 -0
- package/dist/unstable/WardConfig.d.ts +567 -0
- package/dist/unstable/WardConfig.d.ts.map +1 -0
- package/dist/unstable/WardConfig.js +2 -0
- package/dist/unstable/WardConfig.js.map +1 -0
- package/dist/unstable/features/All.d.ts +24 -0
- package/dist/unstable/features/All.d.ts.map +1 -0
- package/dist/unstable/features/All.js +20 -0
- package/dist/unstable/features/All.js.map +1 -0
- package/dist/unstable/features/Colors.d.ts +12 -0
- package/dist/unstable/features/Colors.d.ts.map +1 -0
- package/dist/unstable/features/Colors.js +38 -0
- package/dist/unstable/features/Colors.js.map +1 -0
- package/dist/unstable/features/DomAnimation.d.ts +16 -0
- package/dist/unstable/features/DomAnimation.d.ts.map +1 -0
- package/dist/unstable/features/DomAnimation.js +19 -0
- package/dist/unstable/features/DomAnimation.js.map +1 -0
- package/dist/unstable/features/DomMax.d.ts +12 -0
- package/dist/unstable/features/DomMax.d.ts.map +1 -0
- package/dist/unstable/features/DomMax.js +14 -0
- package/dist/unstable/features/DomMax.js.map +1 -0
- package/dist/unstable/features/Drag.d.ts +5 -0
- package/dist/unstable/features/Drag.d.ts.map +1 -0
- package/dist/unstable/features/Drag.js +32 -0
- package/dist/unstable/features/Drag.js.map +1 -0
- package/dist/unstable/features/Focus.d.ts +5 -0
- package/dist/unstable/features/Focus.d.ts.map +1 -0
- package/dist/unstable/features/Focus.js +20 -0
- package/dist/unstable/features/Focus.js.map +1 -0
- package/dist/unstable/features/Hover.d.ts +5 -0
- package/dist/unstable/features/Hover.d.ts.map +1 -0
- package/dist/unstable/features/Hover.js +20 -0
- package/dist/unstable/features/Hover.js.map +1 -0
- package/dist/unstable/features/InView.d.ts +5 -0
- package/dist/unstable/features/InView.d.ts.map +1 -0
- package/dist/unstable/features/InView.js +20 -0
- package/dist/unstable/features/InView.js.map +1 -0
- package/dist/unstable/features/Input.d.ts +28 -0
- package/dist/unstable/features/Input.d.ts.map +1 -0
- package/dist/unstable/features/Input.js +31 -0
- package/dist/unstable/features/Input.js.map +1 -0
- package/dist/unstable/features/Keys.d.ts +95 -0
- package/dist/unstable/features/Keys.d.ts.map +1 -0
- package/dist/unstable/features/Keys.js +44 -0
- package/dist/unstable/features/Keys.js.map +1 -0
- package/dist/unstable/features/Layout.d.ts +43 -0
- package/dist/unstable/features/Layout.d.ts.map +1 -0
- package/dist/unstable/features/Layout.js +44 -0
- package/dist/unstable/features/Layout.js.map +1 -0
- package/dist/unstable/features/Pan.d.ts +5 -0
- package/dist/unstable/features/Pan.d.ts.map +1 -0
- package/dist/unstable/features/Pan.js +20 -0
- package/dist/unstable/features/Pan.js.map +1 -0
- package/dist/unstable/features/Press.d.ts +13 -0
- package/dist/unstable/features/Press.d.ts.map +1 -0
- package/dist/unstable/features/Press.js +10 -0
- package/dist/unstable/features/Press.js.map +1 -0
- package/dist/unstable/features/Scroll.d.ts +20 -0
- package/dist/unstable/features/Scroll.d.ts.map +1 -0
- package/dist/unstable/features/Scroll.js +34 -0
- package/dist/unstable/features/Scroll.js.map +1 -0
- package/dist/unstable/features/TimelineKeys.d.ts +7 -0
- package/dist/unstable/features/TimelineKeys.d.ts.map +1 -0
- package/dist/unstable/features/TimelineKeys.js +103 -0
- package/dist/unstable/features/TimelineKeys.js.map +1 -0
- package/package.json +4 -3
- package/src/Appear.ts +4 -2
- package/src/DomProjectionSystem.ts +3 -3
- package/src/FlushGate.ts +15 -12
- package/src/ReorderController.ts +3 -3
- package/src/Report.ts +3 -7
- package/src/Style.ts +4 -1
- package/src/TimelineValue.ts +19 -0
- package/src/index.ts +15 -5
- package/src/internal/appear.ts +20 -8
- package/src/internal/batch-handoff.ts +75 -0
- package/src/internal/drag-defaults.ts +4 -4
- package/src/internal/gate-environment.ts +21 -0
- package/src/internal/projection.ts +22 -21
- package/src/internal/renderer.ts +22 -0
- package/src/internal/reorder.ts +4 -4
- package/src/internal/scroll.ts +32 -15
- package/src/internal/starting-style.ts +5 -204
- package/src/internal/timeline.ts +480 -0
- package/src/unstable/AppearAnimations.ts +837 -0
- package/src/unstable/BatchMembers.ts +3085 -0
- package/src/unstable/DomValues.ts +53 -0
- package/src/unstable/DragConstraints.ts +107 -0
- package/src/unstable/DragControls.ts +98 -0
- package/src/unstable/DragDefaults.ts +57 -0
- package/src/unstable/DragTrack.ts +959 -0
- package/src/unstable/DragTransition.ts +46 -0
- package/src/unstable/ElementSetup.ts +411 -0
- package/src/unstable/Feature.ts +494 -0
- package/src/unstable/GestureFeatures.ts +38 -0
- package/src/unstable/GestureInfo.ts +85 -0
- package/src/unstable/Imperative.ts +1037 -0
- package/src/unstable/Instant.ts +93 -0
- package/src/unstable/LayoutGroup.ts +36 -0
- package/src/unstable/LayoutMember.ts +319 -0
- package/src/unstable/LiveStyle.ts +497 -0
- package/src/unstable/MemberHold.ts +211 -0
- package/src/unstable/OwnerScope.ts +35 -0
- package/src/unstable/PresenceController.ts +1747 -0
- package/src/unstable/Press.ts +43 -0
- package/src/unstable/ServerInterpolators.ts +39 -0
- package/src/unstable/WardConfig.ts +704 -0
- package/src/unstable/features/All.ts +39 -0
- package/src/unstable/features/Colors.ts +40 -0
- package/src/unstable/features/DomAnimation.ts +19 -0
- package/src/unstable/features/DomMax.ts +14 -0
- package/src/unstable/features/Drag.ts +34 -0
- package/src/unstable/features/Focus.ts +21 -0
- package/src/unstable/features/Hover.ts +21 -0
- package/src/unstable/features/InView.ts +21 -0
- package/src/unstable/features/Input.ts +37 -0
- package/src/unstable/features/Keys.ts +124 -0
- package/src/unstable/features/Layout.ts +75 -0
- package/src/unstable/features/Pan.ts +21 -0
- package/src/unstable/features/Press.ts +21 -0
- package/src/unstable/features/Scroll.ts +35 -0
- package/src/unstable/features/TimelineKeys.ts +115 -0
- package/dist/internal/gate.d.ts +0 -188
- package/dist/internal/gate.d.ts.map +0 -1
- package/dist/internal/gate.js +0 -458
- package/dist/internal/gate.js.map +0 -1
- package/dist/internal/report.d.ts +0 -30
- package/dist/internal/report.d.ts.map +0 -1
- package/dist/internal/report.js +0 -60
- package/dist/internal/report.js.map +0 -1
- package/dist/internal/runner.d.ts +0 -21
- package/dist/internal/runner.d.ts.map +0 -1
- package/dist/internal/runner.js +0 -48
- package/dist/internal/runner.js.map +0 -1
- package/src/internal/gate.ts +0 -598
- package/src/internal/report.ts +0 -69
- package/src/internal/runner.ts +0 -64
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"starting-style.d.ts","sourceRoot":"","sources":["../../src/internal/starting-style.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"starting-style.d.ts","sourceRoot":"","sources":["../../src/internal/starting-style.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAY,KAAK,UAA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AAE,OAAO,CAAC,CAAC,KAAG,UAC3D,CAAA"}
|
|
@@ -1,151 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Starting style (ADR-0003, ADR-0021): an element's style before its first Frame,
|
|
3
|
+
* `project(resolveInitial(config))`, computed purely with no runtime. It is the server's
|
|
4
|
+
* markup, the style the hydration render keeps, and the animation's `from`. And the style
|
|
5
|
+
* after the first Frame, the fallback: the user's, without the keys Wardic holds (ADR-0034).
|
|
6
|
+
*
|
|
7
|
+
* Framework-free, so every binding renders it the same way on a server and on the client
|
|
8
|
+
* (the thin-bindings rule): a binding reads its config, calls these, and casts the style to
|
|
9
|
+
* its own JSX type. The merge `over` does moved here from @wardic/solid with its behaviour
|
|
10
|
+
* unchanged; `over` and `without` are `dual` (#132's PR 3, ADR-0041 decision 5). Tier 2, for
|
|
11
|
+
* binding authors.
|
|
12
|
+
*
|
|
13
|
+
* Observability: pure and per element, so quiet (no span, no log).
|
|
14
|
+
*/
|
|
15
|
+
// #672: its pure half (`toValues`, `resolveInitial`, the Keyframes' stops) is core's
|
|
16
|
+
// `unstable/Stops` now, which `Style` re-exports.
|
|
1
17
|
import * as Arr from "effect/Array";
|
|
2
|
-
import * as Bool from "effect/Boolean";
|
|
3
18
|
import { dual } from "effect/Function";
|
|
4
|
-
import * as Match from "effect/Match";
|
|
5
|
-
import * as Option from "effect/Option";
|
|
6
19
|
import * as Predicate from "effect/Predicate";
|
|
7
|
-
import * as Rec from "effect/Record";
|
|
8
|
-
import * as UndefinedOr from "effect/UndefinedOr";
|
|
9
20
|
import { project } from "./renderer.js";
|
|
10
21
|
import { dashCase, splitPatchForTag } from "./svg.js";
|
|
11
|
-
/**
|
|
12
|
-
* A values map with only the keys an animation can take: numbers and strings (custom
|
|
13
|
-
* properties included). `undefined` and anything else drop out, so the engine never sees
|
|
14
|
-
* them.
|
|
15
|
-
*/
|
|
16
|
-
export const toValues = (v) => UndefinedOr.match(v, {
|
|
17
|
-
onUndefined: () => ({}),
|
|
18
|
-
onDefined: (values) => Rec.filter(values, isAnimatable),
|
|
19
|
-
});
|
|
20
|
-
/** Whether a value is one an animation can take: a number or a string. */
|
|
21
|
-
const isAnimatable = Predicate.or(Predicate.isNumber, Predicate.isString);
|
|
22
|
-
/** Whether a stop is one an animation can take, or `null`. */
|
|
23
|
-
const isStop = Predicate.or(isAnimatable, Predicate.isNull);
|
|
24
|
-
/**
|
|
25
|
-
* A Keyframes value's stop (#429): its first, as Motion's `initial` reads it (`use-visual-state.ts`),
|
|
26
|
-
* or its last that isn't `null`, where it rests (Motion's final keyframe, `fill-wildcards.ts`'s).
|
|
27
|
-
* `null` or `undefined` when it has none.
|
|
28
|
-
*/
|
|
29
|
-
const stopOf = (stops, at) => Bool.match(at === "first", { onTrue: () => stops[0], onFalse: () => Option.getOrUndefined(Arr.findLast(stops, Predicate.isNotNull)) });
|
|
30
|
-
/** Whether a value is Keyframes an animation can take (#429): an array of stops, one of them not `null`. */
|
|
31
|
-
const isStops = (value) => {
|
|
32
|
-
if (Bool.not(Arr.isArray(value)))
|
|
33
|
-
return false;
|
|
34
|
-
const stops = value;
|
|
35
|
-
return Bool.and(Arr.every(stops, isStop), Arr.some(stops, Predicate.isNotNull));
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* The Keyframes {@link keepAnimatable} set aside while it filtered a values map (#452): written by it,
|
|
39
|
-
* read and cleared right after, never across a call. A target with none leaves it `undefined`.
|
|
40
|
-
*/
|
|
41
|
-
// Module state (#460, Q7): scratch within one synchronous call, never held across one.
|
|
42
|
-
let setAside;
|
|
43
|
-
/**
|
|
44
|
-
* A values map's filter (#452): a value an animation can take stays, and Keyframes go aside, into
|
|
45
|
-
* {@link setAside}, so one pass over the keys finds both. Built once, at module load.
|
|
46
|
-
*/
|
|
47
|
-
const keepAnimatable = (value, key) => {
|
|
48
|
-
if (Bool.not(Arr.isArray(value)))
|
|
49
|
-
return isAnimatable(value);
|
|
50
|
-
if (isStops(value)) {
|
|
51
|
-
if (Predicate.isUndefined(setAside))
|
|
52
|
-
setAside = {};
|
|
53
|
-
setAside[key] = value;
|
|
54
|
-
}
|
|
55
|
-
return false;
|
|
56
|
-
};
|
|
57
|
-
/** A values map's numbers and strings, its Keyframes set aside (#452, {@link keepAnimatable}): {@link toValues}' one pass. */
|
|
58
|
-
const filtered = (v) => {
|
|
59
|
-
// Per element at mount (#540): statements and a loop.
|
|
60
|
-
setAside = undefined;
|
|
61
|
-
const out = {};
|
|
62
|
-
if (Predicate.isUndefined(v))
|
|
63
|
-
return out;
|
|
64
|
-
const values = v;
|
|
65
|
-
for (const key of Object.keys(values)) {
|
|
66
|
-
const value = values[key];
|
|
67
|
-
// `keepAnimatable` keeps numbers and strings alone, as `isAnimatable` does.
|
|
68
|
-
if (keepAnimatable(value, key))
|
|
69
|
-
out[key] = value;
|
|
70
|
-
}
|
|
71
|
-
return out;
|
|
72
|
-
};
|
|
73
|
-
/** The Keyframes the last {@link filtered} set aside, taken: `undefined` with none. */
|
|
74
|
-
const takeSetAside = () => {
|
|
75
|
-
const taken = setAside;
|
|
76
|
-
setAside = undefined;
|
|
77
|
-
return taken;
|
|
78
|
-
};
|
|
79
|
-
/** `values` with each of `keyframes` at one of its stops (#429), one with no such stop left out. */
|
|
80
|
-
const withStops = (values, keyframes, at) => ({
|
|
81
|
-
...values,
|
|
82
|
-
...toValues(Rec.map(keyframes, (stops) => stopOf(stops, at))),
|
|
83
|
-
});
|
|
84
|
-
/**
|
|
85
|
-
* A values map's values, each keyframes value read at one of its stops, and its keyframes, in one pass
|
|
86
|
-
* over its keys: a target's resolution reads both, and a target with no keyframes makes nothing
|
|
87
|
-
* `toValues` doesn't.
|
|
88
|
-
*/
|
|
89
|
-
// **Keyframes** (#429); one pass (#452).
|
|
90
|
-
export const splitValues = (v, at) => {
|
|
91
|
-
const values = filtered(v);
|
|
92
|
-
const keyframes = takeSetAside();
|
|
93
|
-
if (Predicate.isUndefined(keyframes))
|
|
94
|
-
return { values, keyframes: Option.none() };
|
|
95
|
-
return { values: withStops(values, keyframes, at), keyframes: Option.some(keyframes) };
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* A values map with only the keys an animation can take, each keyframes value read at one of its stops:
|
|
99
|
-
* `initial`'s first, a target's last. A keyframes value with no such stop drops out, as does an array
|
|
100
|
-
* `keyframesOf` doesn't take, and anything that isn't a number or a string. One pass over its keys, as
|
|
101
|
-
* `toValues`'.
|
|
102
|
-
*
|
|
103
|
-
* @example
|
|
104
|
-
* Style.valuesAt({ opacity: [0, 0.5, 1], x: 10 }, "first") // { x: 10, opacity: 0 }
|
|
105
|
-
*/
|
|
106
|
-
// **Keyframes** (#429); one pass (#452).
|
|
107
|
-
export const valuesAt = (v, at) => {
|
|
108
|
-
const values = filtered(v);
|
|
109
|
-
const keyframes = takeSetAside();
|
|
110
|
-
if (Predicate.isUndefined(keyframes))
|
|
111
|
-
return values;
|
|
112
|
-
return withStops(values, keyframes, at);
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* A values map's keyframes values: each array of stops an animation can take, one with a stop that isn't
|
|
116
|
-
* `null`. None when it has none, so a target without any makes nothing.
|
|
117
|
-
*
|
|
118
|
-
* @example
|
|
119
|
-
* Style.keyframesOf({ opacity: [0, 0.5, 1], x: 10 }) // { opacity: [0, 0.5, 1] }
|
|
120
|
-
*/
|
|
121
|
-
// **Keyframes** (#429).
|
|
122
|
-
export const keyframesOf = (v) => splitValues(v, "last").keyframes;
|
|
123
|
-
/** Whether an entry is a list of names (#297): an array, which a values map never is. */
|
|
124
|
-
const isList = (entry) => Arr.isArray(entry);
|
|
125
|
-
/**
|
|
126
|
-
* A values map, or the `variants` entry a name names (an unknown name is empty), or nothing.
|
|
127
|
-
* Built once, at module load: every element reads its own at setup (#69).
|
|
128
|
-
*/
|
|
129
|
-
const entryOf = Match.type().pipe(Match.when({ entry: Match.undefined }, () => ({})), Match.when({ entry: Match.string }, ({ entry, variants, at }) => valuesAt(UndefinedOr.map(variants, (byName) => byName[entry]), at)),
|
|
130
|
-
// A list's names merged in order, a later one's winning a key both set (#297, Motion's).
|
|
131
|
-
Match.when({ entry: isList }, ({ entry, variants, at }) => Arr.reduce(entry, {}, (merged, name) => ({ ...merged, ...valuesAt(UndefinedOr.map(variants, (byName) => byName[name]), at) }))), Match.orElse(({ entry, at }) => valuesAt(entry, at)));
|
|
132
|
-
/**
|
|
133
|
-
* The values an element starts from: its `initial` values, or the `variants` entries its `initial` names,
|
|
134
|
-
* an unknown name empty, or nothing. With `initial: false`, its `animate`, resolved the same way, so it
|
|
135
|
-
* starts at its target and nothing animates at mount, as Motion's. A keyframes value starts at its first
|
|
136
|
-
* stop, or, with `initial: false`, at `animate`'s last, where the animation it skips would end. Read once,
|
|
137
|
-
* at setup: the starting style is where it starts, never a live target.
|
|
138
|
-
*
|
|
139
|
-
* @example
|
|
140
|
-
* Style.resolveInitial({ initial: false, animate: { opacity: 1 } }) // { opacity: 1 }
|
|
141
|
-
*/
|
|
142
|
-
// #134, Motion's `initial={false}`; **Keyframes** (#429, Motion's `use-visual-state.ts`).
|
|
143
|
-
export const resolveInitial = (config) => {
|
|
144
|
-
// Per element at mount (#540): statements.
|
|
145
|
-
if (config.initial === false)
|
|
146
|
-
return entryOf({ entry: config.animate, variants: config.variants, at: "last" });
|
|
147
|
-
return entryOf({ entry: config.initial, variants: config.variants, at: "first" });
|
|
148
|
-
};
|
|
149
22
|
/**
|
|
150
23
|
* A CSS declaration list (`"color: red; background: url(a;b)"`) as `{ property: value }`.
|
|
151
24
|
* A `;` inside parentheses or quotes doesn't end a declaration. Internal (not in the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"starting-style.js","sourceRoot":"","sources":["../../src/internal/starting-style.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"starting-style.js","sourceRoot":"","sources":["../../src/internal/starting-style.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,qFAAqF;AACrF,kDAAkD;AAClD,OA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AAEF;;;;GAIG;AACH,YAAY;AACZ,MAAM,CAAC,MAAM,WAAW,GAGpB,IAAI,CAAC,CAAC,EAAE,CAAC,IAAiB,EAAE,IAA2B,EAAE,IAA2B,EAAW,EAAE,CACnG,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,GAAG,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAC/E,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CACpE,CACF,CAAA;AAED;;;;GAIG;AACH,mFAAmF;AACnF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,GAAuB,EAAE,MAAyC,EAAc,EAAE,CAC9G,gBAAgB,CAAC,GAAG,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timeline values (#240, CONTEXT.md): a Live value derived from a container's scroll by ranges alone,
|
|
3
|
+
* which the browser draws with the scroll itself, on a native `ScrollTimeline` or `ViewTimeline`, over
|
|
4
|
+
* the inline value the gate goes on writing. Where the native timeline is inactive (a container that
|
|
5
|
+
* doesn't overflow, a target not laid out), the inline value shows, and a value it lets go of shows
|
|
6
|
+
* the gate's at once.
|
|
7
|
+
*
|
|
8
|
+
* What runs on a native timeline (ADR-0043 *Amendment (#240)*):
|
|
9
|
+
* - **Keys:** those drawn into `opacity`, `filter`, `clip-path` or `transform` (a `transform` string,
|
|
10
|
+
* or a transform key while nothing else adds to the element's `transform`): what a browser can run
|
|
11
|
+
* on its compositor, as Motion's `acceleratedValues` (14.10.1).
|
|
12
|
+
* - **Sources:** a progress with no offset (a `ScrollTimeline`); a target's progress over two stops
|
|
13
|
+
* whose container edges are `start` or `end` (a `ViewTimeline` on Motion 14's `entry-crossing` /
|
|
14
|
+
* `exit-crossing` ranges, `offset-to-range.ts`), the target the timeline's own subject, measured as
|
|
15
|
+
* Wardic measures it; how far the container is scrolled, through a `transform` (a `ScrollTimeline`
|
|
16
|
+
* over a px range).
|
|
17
|
+
* - **Derivations:** the source itself, or one `transform` of it that clamps, blends by the registry
|
|
18
|
+
* and whose input only rises or only falls, and whose outputs CSS blends as the registry does.
|
|
19
|
+
*
|
|
20
|
+
* Its keyframes are Wardic's own values, projected as the gate projects them: at the domain's ends, at
|
|
21
|
+
* each stop, and, through an eased stretch, at {@link SAMPLES} points, so the browser blends only
|
|
22
|
+
* between near neighbours. Built once, when it's made; the animation, each time it starts.
|
|
23
|
+
*
|
|
24
|
+
* Wardic reads a target's offsets and lengths in whole pixels (`offsetTop`, `clientHeight`), a native
|
|
25
|
+
* timeline the layout's own: on a layout of fractional pixels they part by under a pixel of scroll.
|
|
26
|
+
*
|
|
27
|
+
* Observability: per flush, quiet (no span, no log).
|
|
28
|
+
*/
|
|
29
|
+
import type * as InterpolatorRegistry from "@wardic/core/InterpolatorRegistry";
|
|
30
|
+
import * as LiveValue from "@wardic/core/LiveValue";
|
|
31
|
+
import * as Effect from "effect/Effect";
|
|
32
|
+
import * as Option from "effect/Option";
|
|
33
|
+
/**
|
|
34
|
+
* A key's Timeline value on one element: its native animation, run while its key shows it and nothing
|
|
35
|
+
* else draws its property. The gate syncs it at each flush that commits the element, before the commit.
|
|
36
|
+
*/
|
|
37
|
+
export interface TimelineValue {
|
|
38
|
+
/** The key it draws. */
|
|
39
|
+
readonly key: string;
|
|
40
|
+
/**
|
|
41
|
+
* Run its animation, or stop it, for the element's values now: it runs while nothing else adds to
|
|
42
|
+
* its property (for `transform`, no other transform key off its identity, no projection, no
|
|
43
|
+
* Transform template; for `opacity`, no projection). Per flush: plain statements.
|
|
44
|
+
*/
|
|
45
|
+
readonly sync: (values: Readonly<Record<string, unknown>>) => void;
|
|
46
|
+
/** Stop its animation, and its watch on the sizes its direction reads. A later `sync` starts it again. */
|
|
47
|
+
readonly cancel: () => void;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A Timeline value for `key` on `element`, as `derivation` derives it from a scroll: its native
|
|
51
|
+
* animation, started by its first `sync`. `None` where it can't run on a native timeline as Wardic draws
|
|
52
|
+
* it (above): a browser with no scroll timelines or ranges, an element that isn't an HTML element, a key,
|
|
53
|
+
* a source or a derivation it doesn't take.
|
|
54
|
+
*/
|
|
55
|
+
export declare const make: (derivation: LiveValue.ScrollDerivation, element: Element, key: string) => Effect.Effect<Option.Option<TimelineValue>, never, InterpolatorRegistry.InterpolatorRegistry>;
|
|
56
|
+
//# sourceMappingURL=timeline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeline.d.ts","sourceRoot":"","sources":["../../src/internal/timeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,KAAK,oBAAoB,MAAM,mCAAmC,CAAA;AAC9E,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAA;AAKnD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAGvC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAUvC;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,wBAAwB;IACxB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,KAAK,IAAI,CAAA;IAClE,0GAA0G;IAC1G,QAAQ,CAAC,MAAM,EAAE,MAAM,IAAI,CAAA;CAC5B;AAqVD;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,CACjB,UAAU,EAAE,SAAS,CAAC,gBAAgB,EACtC,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,MAAM,KACR,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,KAAK,EAAE,oBAAoB,CAAC,oBAAoB,CAWhG,CAAA"}
|