init 3
This commit is contained in:
1
node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.map
generated
vendored
Normal file
1
node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
20
node_modules/motion-dom/dist/es/projection/node/state.mjs
generated
vendored
Normal file
20
node_modules/motion-dom/dist/es/projection/node/state.mjs
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* This should only ever be modified on the client otherwise it'll
|
||||
* persist through server requests. If we need instanced states we
|
||||
* could lazy-init via root.
|
||||
*/
|
||||
const globalProjectionState = {
|
||||
/**
|
||||
* Global flag as to whether the tree has animated since the last time
|
||||
* we resized the window
|
||||
*/
|
||||
hasAnimatedSinceResize: true,
|
||||
/**
|
||||
* We set this to true once, on the first update. Any nodes added to the tree beyond that
|
||||
* update will be given a `data-projection-id` attribute.
|
||||
*/
|
||||
hasEverUpdated: false,
|
||||
};
|
||||
|
||||
export { globalProjectionState };
|
||||
//# sourceMappingURL=state.mjs.map
|
||||
6
node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
generated
vendored
Normal file
6
node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
function eachAxis(callback) {
|
||||
return [callback("x"), callback("y")];
|
||||
}
|
||||
|
||||
export { eachAxis };
|
||||
//# sourceMappingURL=each-axis.mjs.map
|
||||
Reference in New Issue
Block a user