📚 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:
17
frontend/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
generated
vendored
Normal file
17
frontend/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { isVariantLabel } from '../../render/utils/is-variant-label.mjs';
|
||||
import { isControllingVariants } from '../../render/utils/is-controlling-variants.mjs';
|
||||
|
||||
function getCurrentTreeVariants(props, context) {
|
||||
if (isControllingVariants(props)) {
|
||||
const { initial, animate } = props;
|
||||
return {
|
||||
initial: initial === false || isVariantLabel(initial)
|
||||
? initial
|
||||
: undefined,
|
||||
animate: isVariantLabel(animate) ? animate : undefined,
|
||||
};
|
||||
}
|
||||
return props.inherit !== false ? context : {};
|
||||
}
|
||||
|
||||
export { getCurrentTreeVariants };
|
||||
Reference in New Issue
Block a user