UNPKG

material-motion

Version:

Makes it easy to add rich, interactive motion to your application.

88 lines 3.52 kB
/** @license * Copyright 2016 - present The Material Motion Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. */ import { withAddedBy, } from './addedBy'; import { withAppendUnit, } from './appendUnit'; import { withClampTo, } from './clampTo'; import { withDedupe, } from './dedupe'; import { withDistanceFrom, } from './distanceFrom'; import { withDividedBy, } from './dividedBy'; import { withFoundationalMotionOperators, } from './foundation'; import { withInverted, } from './inverted'; import { withIsAnyOf, } from './isAnyOf'; import { withLog, } from './log'; import { withMerge, } from './merge'; import { withMultipliedBy, } from './multipliedBy'; import { withPluck, } from './pluck'; import { withRename, } from './rename'; import { withRewrite, } from './rewrite'; import { withRewriteRange, } from './rewriteRange'; import { withRewriteTo, } from './rewriteTo'; import { withStartWith, } from './startWith'; import { withSubtractedBy, } from './subtractedBy'; import { withThreshold, } from './threshold'; import { withThresholdRange, } from './thresholdRange'; import { withTimestamp, } from './timestamp'; import { withToPolar, } from './toPolar'; export function withMotionOperators(superclass) { const result = withFoundationalMotionOperators(superclass); const result1 = withDedupe(result); const result2 = withLog(result1); const result3 = withMerge(result2); const result4 = withTimestamp(result3); const result5 = withStartWith(result4); const result6 = withRewrite(result5); const result7 = withRewriteTo(result6); const result8 = withRewriteRange(result7); const result9 = withPluck(result8); const result10 = withAddedBy(result9); const result11 = withSubtractedBy(result10); const result12 = withMultipliedBy(result11); const result13 = withDividedBy(result12); const result14 = withDistanceFrom(result13); const result15 = withClampTo(result14); const result16 = withThresholdRange(result15); const result17 = withThreshold(result16); const result18 = withIsAnyOf(result17); const result19 = withAppendUnit(result18); const result20 = withInverted(result19); const result21 = withToPolar(result20); const result22 = withRename(result21); return result22; } export * from './addedBy'; export * from './appendUnit'; export * from './clampTo'; export * from './dedupe'; export * from './distanceFrom'; export * from './dividedBy'; export * from './foundation'; export * from './inverted'; export * from './isAnyOf'; export * from './log'; export * from './merge'; export * from './multipliedBy'; export * from './pluck'; export * from './rename'; export * from './rewrite'; export * from './rewriteRange'; export * from './rewriteTo'; export * from './startWith'; export * from './subtractedBy'; export * from './threshold'; export * from './thresholdRange'; export * from './timestamp'; export * from './toPolar'; //# sourceMappingURL=index.js.map