@wardic/core 1.1.0 → 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.
Files changed (101) hide show
  1. package/dist/unstable/AnimationControls.d.ts +110 -0
  2. package/dist/unstable/AnimationControls.d.ts.map +1 -0
  3. package/dist/unstable/AnimationControls.js +107 -0
  4. package/dist/unstable/AnimationControls.js.map +1 -0
  5. package/dist/unstable/AppearHandoff.d.ts +53 -0
  6. package/dist/unstable/AppearHandoff.d.ts.map +1 -0
  7. package/dist/unstable/AppearHandoff.js +23 -0
  8. package/dist/unstable/AppearHandoff.js.map +1 -0
  9. package/dist/unstable/Config.d.ts +285 -0
  10. package/dist/unstable/Config.d.ts.map +1 -0
  11. package/dist/unstable/Config.js +3 -0
  12. package/dist/unstable/Config.js.map +1 -0
  13. package/dist/unstable/FlushGate.d.ts +222 -0
  14. package/dist/unstable/FlushGate.d.ts.map +1 -0
  15. package/dist/unstable/FlushGate.js +567 -0
  16. package/dist/unstable/FlushGate.js.map +1 -0
  17. package/dist/unstable/FrameTime.d.ts +21 -0
  18. package/dist/unstable/FrameTime.d.ts.map +1 -0
  19. package/dist/unstable/FrameTime.js +45 -0
  20. package/dist/unstable/FrameTime.js.map +1 -0
  21. package/dist/unstable/MeasuredPairs.d.ts +51 -0
  22. package/dist/unstable/MeasuredPairs.d.ts.map +1 -0
  23. package/dist/unstable/MeasuredPairs.js +20 -0
  24. package/dist/unstable/MeasuredPairs.js.map +1 -0
  25. package/dist/unstable/OwnValues.d.ts +29 -0
  26. package/dist/unstable/OwnValues.d.ts.map +1 -0
  27. package/dist/unstable/OwnValues.js +22 -0
  28. package/dist/unstable/OwnValues.js.map +1 -0
  29. package/dist/unstable/PresenceRecord.d.ts +176 -0
  30. package/dist/unstable/PresenceRecord.d.ts.map +1 -0
  31. package/dist/unstable/PresenceRecord.js +26 -0
  32. package/dist/unstable/PresenceRecord.js.map +1 -0
  33. package/dist/unstable/Reactivity.d.ts +29 -0
  34. package/dist/unstable/Reactivity.d.ts.map +1 -0
  35. package/dist/unstable/Reactivity.js +15 -0
  36. package/dist/unstable/Reactivity.js.map +1 -0
  37. package/dist/unstable/Report.d.ts +30 -0
  38. package/dist/unstable/Report.d.ts.map +1 -0
  39. package/dist/unstable/Report.js +66 -0
  40. package/dist/unstable/Report.js.map +1 -0
  41. package/dist/unstable/RetargetLegs.d.ts +189 -0
  42. package/dist/unstable/RetargetLegs.d.ts.map +1 -0
  43. package/dist/unstable/RetargetLegs.js +834 -0
  44. package/dist/unstable/RetargetLegs.js.map +1 -0
  45. package/dist/unstable/Spine.d.ts +696 -0
  46. package/dist/unstable/Spine.d.ts.map +1 -0
  47. package/dist/unstable/Spine.js +2617 -0
  48. package/dist/unstable/Spine.js.map +1 -0
  49. package/dist/unstable/Stops.d.ts +82 -0
  50. package/dist/unstable/Stops.d.ts.map +1 -0
  51. package/dist/unstable/Stops.js +149 -0
  52. package/dist/unstable/Stops.js.map +1 -0
  53. package/dist/unstable/Subject.d.ts +11 -0
  54. package/dist/unstable/Subject.d.ts.map +1 -0
  55. package/dist/unstable/Subject.js +12 -0
  56. package/dist/unstable/Subject.js.map +1 -0
  57. package/dist/unstable/Timelines.d.ts +51 -0
  58. package/dist/unstable/Timelines.d.ts.map +1 -0
  59. package/dist/unstable/Timelines.js +10 -0
  60. package/dist/unstable/Timelines.js.map +1 -0
  61. package/dist/unstable/VariableValues.d.ts +27 -0
  62. package/dist/unstable/VariableValues.d.ts.map +1 -0
  63. package/dist/unstable/VariableValues.js +19 -0
  64. package/dist/unstable/VariableValues.js.map +1 -0
  65. package/dist/unstable/VariantTarget.d.ts +106 -0
  66. package/dist/unstable/VariantTarget.d.ts.map +1 -0
  67. package/dist/unstable/VariantTarget.js +185 -0
  68. package/dist/unstable/VariantTarget.js.map +1 -0
  69. package/dist/unstable/VariantTree.d.ts +351 -0
  70. package/dist/unstable/VariantTree.d.ts.map +1 -0
  71. package/dist/unstable/VariantTree.js +362 -0
  72. package/dist/unstable/VariantTree.js.map +1 -0
  73. package/dist/unstable/WardicConfigValue.d.ts +89 -0
  74. package/dist/unstable/WardicConfigValue.d.ts.map +1 -0
  75. package/dist/unstable/WardicConfigValue.js +106 -0
  76. package/dist/unstable/WardicConfigValue.js.map +1 -0
  77. package/dist/unstable/WardicServices.d.ts +46 -0
  78. package/dist/unstable/WardicServices.d.ts.map +1 -0
  79. package/dist/unstable/WardicServices.js +72 -0
  80. package/dist/unstable/WardicServices.js.map +1 -0
  81. package/package.json +1 -1
  82. package/src/unstable/AnimationControls.ts +199 -0
  83. package/src/unstable/AppearHandoff.ts +81 -0
  84. package/src/unstable/Config.ts +326 -0
  85. package/src/unstable/FlushGate.ts +730 -0
  86. package/src/unstable/FrameTime.ts +52 -0
  87. package/src/unstable/MeasuredPairs.ts +56 -0
  88. package/src/unstable/OwnValues.ts +32 -0
  89. package/src/unstable/PresenceRecord.ts +201 -0
  90. package/src/unstable/Reactivity.ts +35 -0
  91. package/src/unstable/Report.ts +75 -0
  92. package/src/unstable/RetargetLegs.ts +1062 -0
  93. package/src/unstable/Spine.ts +3275 -0
  94. package/src/unstable/Stops.ts +221 -0
  95. package/src/unstable/Subject.ts +13 -0
  96. package/src/unstable/Timelines.ts +58 -0
  97. package/src/unstable/VariableValues.ts +27 -0
  98. package/src/unstable/VariantTarget.ts +246 -0
  99. package/src/unstable/VariantTree.ts +643 -0
  100. package/src/unstable/WardicConfigValue.ts +154 -0
  101. package/src/unstable/WardicServices.ts +125 -0
@@ -0,0 +1,189 @@
1
+ import * as DefaultTransition from "../DefaultTransition.ts";
2
+ import type * as Frame from "../Frame.ts";
3
+ import type * as InterpolatorRegistry from "../InterpolatorRegistry.ts";
4
+ import * as Machine from "../Machine.ts";
5
+ import * as ReducedMotion from "../ReducedMotion.ts";
6
+ import * as Values from "../Values.ts";
7
+ import type * as CoreMeasuredPairs from "./MeasuredPairs.ts";
8
+ import type * as Stops from "./Stops.ts";
9
+ import * as Effect from "effect/Effect";
10
+ import { type LazyArg } from "effect/Function";
11
+ import type * as Config from "./Config.ts";
12
+ /** A Retarget's returns that follow a moving Live value (#130, ADR-0043 decision 6). */
13
+ export interface Follows {
14
+ /** The keys among the animated ones whose return follows its Live value. */
15
+ readonly keysOf: (rest: Values.Values) => ReadonlyArray<string>;
16
+ /** Where a following key's Live value is now, read each step. */
17
+ readonly targetOf: (key: string, start: number) => () => number;
18
+ }
19
+ /** A leg that snaps the positional keys (ADR-0029). */
20
+ export interface Snap {
21
+ readonly _tag: "Snap";
22
+ /** The keys it snaps: a spring starts each of them at rest after. */
23
+ readonly keys: ReadonlyArray<string>;
24
+ /** Each key it snaps, with the target the Retarget gave it (#325). */
25
+ readonly to: Values.Values;
26
+ readonly machine: () => Machine.Machine<Frame.Frame<Values.Values>>;
27
+ }
28
+ /** A leg that follows one key's moving Live value (#130). */
29
+ export interface Follow {
30
+ readonly _tag: "Follow";
31
+ readonly key: string;
32
+ /** Its key, with where its Live value was at the Retarget (#325). */
33
+ readonly to: Values.Values;
34
+ readonly machine: () => Machine.Machine<Frame.Frame<number> & {
35
+ readonly velocity?: number;
36
+ }>;
37
+ }
38
+ /** A leg over the numeric keys, carrying their velocities: a spring's. */
39
+ export interface Numbers {
40
+ readonly _tag: "Numbers";
41
+ /** Each key it animates, with its target (#325). */
42
+ readonly to: Values.Values;
43
+ readonly machine: () => Machine.Machine<Frame.MultiPhysics>;
44
+ }
45
+ /** A leg over values through the Interpolators: a tween's keys, or a spring's strings. */
46
+ export interface Blend {
47
+ readonly _tag: "Blend";
48
+ /** Each key it animates, with its target (#325). */
49
+ readonly to: Values.Values;
50
+ readonly machine: () => Effect.Effect<Machine.Machine<Frame.Frame<Values.Values>>, never, InterpolatorRegistry.InterpolatorRegistry>;
51
+ }
52
+ /** One leg of a Retarget. */
53
+ export type Leg = Snap | Follow | Numbers | Blend;
54
+ /**
55
+ * Each key's velocity now (#464): read only for a key a spring or a follow starts, so a tween's
56
+ * Retarget reads none. A spring takes its transition's own `velocity` over it, as Motion's
57
+ * `{ velocity: value.getVelocity(), ...valueTransition }`.
58
+ */
59
+ export type Velocities = (key: string) => number;
60
+ /** No velocity: every key at rest. */
61
+ export declare const NO_VELOCITY: Velocities;
62
+ /** Each key's velocity from a record of them, 0 for one it doesn't have. */
63
+ export declare const velocitiesOf: (record: Readonly<Record<string, number>>) => Velocities;
64
+ /**
65
+ * The fields no machine reads: the orchestration's (ADR-0007), the variant tree's, and a Path
66
+ * (#438), which {@link legsOf} takes out to `x` and `y`'s leg. Neither defines a transition.
67
+ */
68
+ declare const ORCHESTRATION: readonly ["staggerChildren", "delayChildren", "from", "staggerDirection", "when", "path"];
69
+ /** A transition as a machine takes it: without the orchestration's fields (#243) or its Path (#438), each arm. */
70
+ export type MotionTransition = Config.WardicTransition extends infer T ? (T extends unknown ? Omit<T, (typeof ORCHESTRATION)[number]> : never) : never;
71
+ /**
72
+ * A transition as its machines take it: without the orchestration's fields (#243). A stagger's
73
+ * `from` (`"last"`, `"center"`) is the variant tree's, and a spring decodes `from` as its starting
74
+ * position, so it failed every leg; the rest of those fields a machine ignores. The same transition,
75
+ * one with none of them.
76
+ */
77
+ export declare const motionOf: (transition: Config.WardicTransition | undefined) => MotionTransition | undefined;
78
+ /**
79
+ * A transition's entries (#301): its own fields, and each value's entry (`default` and `layout`
80
+ * among them). Each entry is resolved at its first need and kept, so its keys run on the same object
81
+ * at every Retarget (#66's decode cache keys on it).
82
+ */
83
+ interface Entries {
84
+ readonly own: Config.WardicTransition;
85
+ readonly byKey: Readonly<Record<string, Config.WardicTransition>>;
86
+ /** Whether any entry is a value's, not `default` or `layout`: else every value runs on one transition. */
87
+ readonly byValue: boolean;
88
+ readonly resolved: Map<string, Config.WardicTransition>;
89
+ }
90
+ /**
91
+ * A transition's entries (#301), or `undefined` for one with none: worked out once per transition
92
+ * object, so an element whose transitions have none pays a lookup per Retarget.
93
+ */
94
+ export declare const entriesOf: (given: Config.WardicTransition | undefined) => Entries | undefined;
95
+ /**
96
+ * The transition `key` runs on in `given` (#301): its entry, else `default`, else `given`'s own
97
+ * fields. `given` itself when it has no entry.
98
+ */
99
+ export declare const transitionForKey: (given: Config.WardicTransition | undefined, key: string) => Config.WardicTransition | undefined;
100
+ /**
101
+ * `given` held back by `extra` more seconds (ADR-0007's stagger, #290's exit delays): its own `delay`,
102
+ * and each entry's (#301), so a key on its entry waits as the rest do. An `inherit` entry with no
103
+ * `delay` of its own takes the own fields' as they are.
104
+ */
105
+ export declare const delayedBy: (given: Config.WardicTransition | undefined, extra: number) => Config.WardicTransition | undefined;
106
+ /**
107
+ * A transition as its legs run it: a spring or a tween, Motion's fields filled in (ADR-0051), with
108
+ * its reduced-motion opt-out.
109
+ */
110
+ export type Run = (DefaultTransition.Transition | DefaultTransition.KeyframesTransition | InertiaRun) & {
111
+ readonly respectReducedMotion?: boolean;
112
+ readonly skipAnimations?: boolean;
113
+ };
114
+ /** An inertia as its legs run it (#435): core's options, `timeConstant` in seconds, with the transition's `velocity` and `delay`. */
115
+ export type InertiaRun = Machine.InertiaValuesOptions & {
116
+ readonly type: "inertia";
117
+ };
118
+ /** Each key's stops past its first two (#429): the Keyframes a tween runs through `keyframesValues`. */
119
+ export type StopsByKey = Readonly<Record<string, ReadonlyArray<number | string>>>;
120
+ /**
121
+ * Whether `key` has Keyframes of more than two stops among `stops`: never a Measured pair (#430). They
122
+ * run through their stops, switching where types mix, as Motion's measures two stops only (#460).
123
+ */
124
+ export declare const hasManyStops: (stops: StopsByKey | undefined, key: string) => boolean;
125
+ /** Where a Retarget's keys start, and each one's stops, its Keyframes resolved ({@link keyframesFrom}). */
126
+ export interface KeyframesStart {
127
+ readonly from: Values.Values;
128
+ readonly stops: StopsByKey | undefined;
129
+ }
130
+ /**
131
+ * Where a target's keys start with its **Keyframes** resolved (#429, Motion's): a first `null` stop is
132
+ * where the key is (`from`), each later one the stop before (`fillWildcards`), and an explicit first
133
+ * stop is where it starts, jumped to. `stops` holds the keys with more than two: a key with two runs
134
+ * as a target does, from its first, so a spring takes it with the key's velocity, as Motion's.
135
+ *
136
+ * @param from each key's start
137
+ * @param to each key's target, its Keyframes' last stop
138
+ * @param keyframes each Keyframes key's stops; only the keys `to` has are read
139
+ */
140
+ export declare const keyframesFrom: (from: Values.Values, to: Values.Values, keyframes: Readonly<Record<string, Stops.Stops>>) => KeyframesStart;
141
+ /**
142
+ * Stops with each `null` filled (#429, Motion's `fillWildcards`): the first with `start`, a later one
143
+ * with the stop before. A sequence's function Segment fills its own from 0 (#433).
144
+ */
145
+ export declare const filledStops: (stops: Stops.Stops, start: number | string) => ReadonlyArray<number | string>;
146
+ /**
147
+ * The spring fields: one of them, with no `type`, makes a transition a spring, a value's or a layout
148
+ * animation's (ADR-0009 *Amendment (#171)*, ADR-0051); a time-based spring's `bounce` and
149
+ * `visualDuration` among them (#359), where a `duration` alone is a tween's.
150
+ */
151
+ export declare const SPRING_FIELDS: readonly ["stiffness", "damping", "mass", "velocity", "restDelta", "restSpeed", "bounce", "visualDuration"];
152
+ /**
153
+ * A transition as its legs run it (ADR-0051, #357), or `undefined` when it isn't defined: none, or
154
+ * one with only orchestration, `delay` and the reduced-motion opt-out (Motion's
155
+ * `isTransitionDefined`). A defined one:
156
+ * - is a spring when it says so, or gives no `type` and a spring field ({@link SPRING_FIELDS});
157
+ * anything else is a tween, as a layout animation's is (ADR-0009 *Amendment (#171)*): `{ duration:
158
+ * 0.5 }` a 0.5 s tween, as Motion's, where `{ stiffness: 300 }` stays a spring;
159
+ * - takes Motion's fields for those it leaves out: a spring's 100 / 10 / 1, a tween's `easeOut`
160
+ * (a tween's 0.3 s is core's too). A spring set by time, a `duration`, `bounce` or
161
+ * `visualDuration` and no stiffness, damping or mass (#359), takes no physics: core solves them.
162
+ *
163
+ * Worked out once per transition object. A field set to `undefined` gives nothing.
164
+ */
165
+ export declare const runOf: (given: Config.WardicTransition | undefined) => Run | undefined;
166
+ /**
167
+ * A Retarget's keys with both of a Path's axes (#438): a Path couples `x` and `y`, so with either one
168
+ * retargeted, the other goes along it too, to its own target in `target`, though that hasn't changed
169
+ * and a Retarget otherwise keeps an unchanged key's Leg (#325). Without a Path, or neither axis, the
170
+ * keys as they are.
171
+ */
172
+ export declare const withPathAxes: (fresh: Values.Values, target: Values.Values, transition: Config.WardicTransition | undefined) => Values.Values;
173
+ export declare const legsOf: (from: Values.Values, to: Values.Values, given: Config.WardicTransition | undefined, reducedMotion: boolean, skipped: boolean, positionalKeys: ReducedMotion.PositionalKeys["Service"], defaults: DefaultTransition.DefaultTransition["Service"], velocities: Velocities, follow?: Follows | undefined, stops?: StopsByKey | undefined, measured?: MeasuredPairs | undefined, current?: Values.Values | undefined, rests?: Values.Values | undefined) => ReadonlyArray<Leg>;
174
+ /** Each key's Measured pair (#430), by its key. */
175
+ export type MeasuredPairs = Readonly<Record<string, CoreMeasuredPairs.Requested>>;
176
+ /** What a leg's machine can be run through: the same Frames, stepped another way. */
177
+ export type MachineMap = <F extends Frame.Frame<unknown>>(machine: Machine.Machine<F>) => Machine.Machine<F>;
178
+ /**
179
+ * `leg` with its machine run through `f`: started partway ({@link startingAt}), or through an
180
+ * **Imperative animation**'s Playhead (#433, `Playback.drive`).
181
+ */
182
+ export declare const mapMachine: (leg: Leg, f: MachineMap) => Leg;
183
+ /**
184
+ * `leg`, started `at()` seconds in (`Machine.startAt`): a Handoff's first legs, which pick up an
185
+ * Appear animation where it has got (#48, ADR-0044 decision 6).
186
+ */
187
+ export declare const startingAt: (leg: Leg, at: LazyArg<number>) => Leg;
188
+ export {};
189
+ //# sourceMappingURL=RetargetLegs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RetargetLegs.d.ts","sourceRoot":"","sources":["../../src/unstable/RetargetLegs.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAA;AAE5D,OAAO,KAAK,KAAK,KAAK,MAAM,aAAa,CAAA;AAEzC,OAAO,KAAK,KAAK,oBAAoB,MAAM,4BAA4B,CAAA;AACvE,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