Vollständiges Redesign mit Gold-Formularen, BMP-Logo, multi-step Forms (Bewerbung, Kontakt, Sponsoring), Netlify-Deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
503 B
JavaScript
16 lines
503 B
JavaScript
/**
|
|
* If `transition` has `inherit: true`, shallow-merge it with
|
|
* `parentTransition` (child keys win) and strip the `inherit` key.
|
|
* Otherwise return `transition` unchanged.
|
|
*/
|
|
function resolveTransition(transition, parentTransition) {
|
|
if (transition?.inherit && parentTransition) {
|
|
const { inherit: _, ...rest } = transition;
|
|
return { ...parentTransition, ...rest };
|
|
}
|
|
return transition;
|
|
}
|
|
|
|
export { resolveTransition };
|
|
//# sourceMappingURL=resolve-transition.mjs.map
|