📚 Documentação inicial do ALETHEIA
- MANUAL-PRODUTO.md: Manual do usuário final - MANUAL-VENDAS.md: Estratégia comercial e vendas - MANUAL-TECNICO.md: Infraestrutura e deploy - README.md: Visão geral do projeto
This commit is contained in:
3
frontend/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs
generated
vendored
Normal file
3
frontend/node_modules/framer-motion/dist/es/value/utils/is-motion-value.mjs
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
const isMotionValue = (value) => Boolean(value && value.getVelocity);
|
||||
|
||||
export { isMotionValue };
|
||||
16
frontend/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs
generated
vendored
Normal file
16
frontend/node_modules/framer-motion/dist/es/value/utils/resolve-motion-value.mjs
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { isCustomValue } from '../../utils/resolve-value.mjs';
|
||||
import { isMotionValue } from './is-motion-value.mjs';
|
||||
|
||||
/**
|
||||
* If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself
|
||||
*
|
||||
* TODO: Remove and move to library
|
||||
*/
|
||||
function resolveMotionValue(value) {
|
||||
const unwrappedValue = isMotionValue(value) ? value.get() : value;
|
||||
return isCustomValue(unwrappedValue)
|
||||
? unwrappedValue.toValue()
|
||||
: unwrappedValue;
|
||||
}
|
||||
|
||||
export { resolveMotionValue };
|
||||
Reference in New Issue
Block a user