chore: cleanup reexports

This commit is contained in:
Nathan Walker
2020-07-05 14:53:34 -07:00
parent 1525c89733
commit 8f2900ad0b
306 changed files with 1197 additions and 1534 deletions

View File

@@ -1,12 +1,17 @@
import {
ButtonBase, PseudoClassHandler,
paddingLeftProperty, paddingTopProperty, paddingRightProperty, paddingBottomProperty,
Length, zIndexProperty, textAlignmentProperty, TextAlignment, layout,
minWidthProperty, minHeightProperty
ButtonBase,
} from "./button-common";
import {
PseudoClassHandler,
} from "../core/view";
import { paddingLeftProperty, paddingTopProperty, paddingRightProperty, paddingBottomProperty,
Length, zIndexProperty, minWidthProperty, minHeightProperty } from '../styling/style-properties';
import { textAlignmentProperty } from "../text-base";
import { TextAlignment } from "../enums";
import { profile } from "../../profiling";
import { TouchGestureEventData, GestureTypes, TouchAction } from "../gestures";
import { device } from "../../platform";
import { layout } from "../../utils/utils";
import lazy from "../../utils/lazy";
export * from "./button-common";
@@ -58,7 +63,7 @@ export class Button extends ButtonBase {
private _stateListAnimator: any;
private _highlightedHandler: (args: TouchGestureEventData) => void;
@profile
@profile()
public createNativeView() {
if (!AndroidButton) {
AndroidButton = android.widget.Button;

View File

@@ -1,10 +1,19 @@
import { ControlStateChangeListener } from "../core/control-state-change";
import {
ButtonBase, PseudoClassHandler, Length, layout,
borderTopWidthProperty, borderRightWidthProperty, borderBottomWidthProperty, borderLeftWidthProperty,
paddingTopProperty, paddingRightProperty, paddingBottomProperty, paddingLeftProperty,
whiteSpaceProperty, WhiteSpace, textAlignmentProperty, TextAlignment, View
ButtonBase
} from "./button-common";
import {
View,
PseudoClassHandler,
} from "../core/view";
import { borderTopWidthProperty, borderRightWidthProperty, borderBottomWidthProperty, borderLeftWidthProperty, paddingLeftProperty, paddingTopProperty, paddingRightProperty, paddingBottomProperty,
Length, zIndexProperty, minWidthProperty, minHeightProperty } from '../styling/style-properties';
import { textAlignmentProperty, whiteSpaceProperty, WhiteSpace } from "../text-base";
import { TextAlignment } from "../enums";
import { profile } from "../../profiling";
import { TouchGestureEventData, GestureTypes, TouchAction } from "../gestures";
import { device } from "../../platform";
import { layout } from "../../utils/utils";
export * from "./button-common";