material-motion
Version:
Makes it easy to add rich, interactive motion to your application.
66 lines (65 loc) • 3.24 kB
TypeScript
/** @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 { Constructor, Observable } from '../types';
import { MotionAddable } from './addedBy';
import { MotionAppendUnitable } from './appendUnit';
import { MotionClampable } from './clampTo';
import { MotionDeduplicable } from './dedupe';
import { MotionMeasurable } from './distanceFrom';
import { MotionDivisible } from './dividedBy';
import { ObservableWithFoundationalMotionOperators } from './foundation';
import { MotionInvertible } from './inverted';
import { MotionIsAnyOfable } from './isAnyOf';
import { MotionLoggable } from './log';
import { MotionMergeable } from './merge';
import { MotionMultipliable } from './multipliedBy';
import { MotionPluckable } from './pluck';
import { MotionRenameable } from './rename';
import { MotionRewritable } from './rewrite';
import { MotionRewriteRangeable } from './rewriteRange';
import { MotionRewriteToable } from './rewriteTo';
import { MotionSeedable } from './startWith';
import { MotionSubtractable } from './subtractedBy';
import { MotionThresholdable } from './threshold';
import { MotionThresholdRangeable } from './thresholdRange';
import { MotionTimestampable } from './timestamp';
import { MotionPolarizable } from './toPolar';
export interface ObservableWithMotionOperators<T> extends ObservableWithFoundationalMotionOperators<T>, MotionAddable<T>, MotionAppendUnitable, MotionClampable<T>, MotionDeduplicable<T>, MotionDivisible<T>, MotionInvertible<T>, MotionIsAnyOfable<T>, MotionLoggable<T>, MotionMeasurable<T>, MotionMergeable<T>, MotionMultipliable<T>, MotionPluckable<T>, MotionPolarizable<T>, MotionRenameable<T>, MotionRewritable<T>, MotionRewriteRangeable, MotionRewriteToable, MotionSeedable<T>, MotionSubtractable<T>, MotionThresholdRangeable, MotionThresholdable, MotionTimestampable<T> {
}
export declare function withMotionOperators<T, S extends Constructor<Observable<T>>>(superclass: S): S & Constructor<ObservableWithMotionOperators<T>>;
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';