mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
chore: sort imports
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user