chore: sort imports

This commit is contained in:
DarkSky
2022-08-13 03:16:26 +08:00
parent 5462b1707f
commit 754b2581cd
198 changed files with 839 additions and 917 deletions
@@ -1,11 +1,11 @@
import type { TLBounds } from '@tldraw/core';
import { getFontFace, getFontSize } from './shape-styles';
import { getTextAlign } from './get-text-align';
import {
LINE_HEIGHT,
AlignStyle,
LINE_HEIGHT,
ShapeStyles,
} from '@toeverything/components/board-types';
import { getTextAlign } from './get-text-align';
import { getFontFace, getFontSize } from './shape-styles';
export function getTextSvgElement(
text: string,
@@ -1,12 +1,12 @@
export * from './get-bounds-rectangle';
export * from './get-text-align';
export * from './get-text-size';
export * from './get-text-svg-element';
export * from './shape-styles';
export * from './get-bounds-rectangle';
export * from './transform-rectangle';
export * from './transform-single-rectangle';
export * from './text-label';
export * from './polygon-utils';
export * from './label-mask';
export * from './normalize-text';
export * from './polygon-utils';
export * from './shape-styles';
export * from './stop-propagation';
export * from './text-label';
export * from './transform-rectangle';
export * from './transform-single-rectangle';
@@ -1,5 +1,4 @@
import type { TLBounds } from '@tldraw/core';
import * as React from 'react';
interface WithLabelMaskProps {
id: string;
@@ -1,13 +1,13 @@
import { Utils } from '@tldraw/core';
import {
Theme,
AlignStyle,
ColorStyle,
DashStyle,
ShapeStyles,
FontSizeStyle,
FontStyle,
AlignStyle,
ShapeStyles,
StrokeWidth,
Theme,
} from '@toeverything/components/board-types';
const canvasLight = '#fafafa';
@@ -1,12 +1,12 @@
import * as React from 'react';
import { stopPropagation } from './stop-propagation';
import {
GHOSTED_OPACITY,
LETTER_SPACING,
} from '@toeverything/components/board-types';
import { normalizeText } from './normalize-text';
import { styled } from '@toeverything/components/ui';
import * as React from 'react';
import { getTextLabelSize } from './get-text-size';
import { normalizeText } from './normalize-text';
import { stopPropagation } from './stop-propagation';
import { TextAreaUtils } from './text-area-utils';
export interface TextLabelProps {