mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
feat: forced file naming format (#2270)
This commit is contained in:
@@ -13,7 +13,7 @@ import type { PropsWithChildren, ReactElement } from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import { forwardRef, useCallback, useEffect } from 'react';
|
||||
|
||||
import { IconButton } from '../../ui/button/IconButton';
|
||||
import { IconButton } from '../../ui/button/icon-button';
|
||||
import {
|
||||
floatingMaxWidth,
|
||||
haloStyle,
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
RedditIcon,
|
||||
TelegramIcon,
|
||||
TwitterIcon,
|
||||
} from './Icons';
|
||||
} from './icons';
|
||||
import {
|
||||
StyledBigLink,
|
||||
StyledLogo,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export * from './CopyLink';
|
||||
export * from './DisablePublicSharing';
|
||||
export * from './Export';
|
||||
export * from './copy-link';
|
||||
export * from './disable-public-sharing';
|
||||
export * from './export';
|
||||
// export * from './MoveTo';
|
||||
export * from './MoveToTrash';
|
||||
export * from './move-to-trash';
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
menuItemStyle,
|
||||
svgStyle,
|
||||
} from './index.css';
|
||||
import type { ShareMenuProps } from './ShareMenu';
|
||||
import type { ShareMenuProps } from './share-menu';
|
||||
|
||||
export const Export: FC<ShareMenuProps> = props => {
|
||||
const contentParserRef = useRef<ContentParser>();
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from './disable-public-link';
|
||||
export * from './ShareMenu';
|
||||
export * from './share-menu';
|
||||
|
||||
@@ -7,10 +7,10 @@ import { useRef } from 'react';
|
||||
import { useCallback, useState } from 'react';
|
||||
|
||||
import { Menu } from '../..';
|
||||
import { Export } from './Export';
|
||||
import { Export } from './export';
|
||||
import { containerStyle, indicatorContainerStyle, tabStyle } from './index.css';
|
||||
import { SharePage } from './SharePage';
|
||||
import { ShareWorkspace } from './ShareWorkspace';
|
||||
import { SharePage } from './share-page';
|
||||
import { ShareWorkspace } from './share-workspace';
|
||||
import { StyledIndicator, StyledShareButton, TabItem } from './styles';
|
||||
type SharePanel = 'SharePage' | 'Export' | 'ShareWorkspace';
|
||||
const MenuItems: Record<SharePanel, FC<ShareMenuProps>> = {
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
inputButtonRowStyle,
|
||||
menuItemStyle,
|
||||
} from './index.css';
|
||||
import type { ShareMenuProps } from './ShareMenu';
|
||||
import type { ShareMenuProps } from './share-menu';
|
||||
import {
|
||||
StyledButton,
|
||||
StyledDisableButton,
|
||||
@@ -4,7 +4,7 @@ import { WorkspaceFlavour } from '@affine/workspace/type';
|
||||
import type { FC } from 'react';
|
||||
|
||||
import { descriptionStyle, menuItemStyle } from './index.css';
|
||||
import type { ShareMenuProps } from './ShareMenu';
|
||||
import type { ShareMenuProps } from './share-menu';
|
||||
import { StyledButton } from './styles';
|
||||
|
||||
const ShareLocalWorkspace: FC<ShareMenuProps<LocalWorkspace>> = props => {
|
||||
@@ -1 +1 @@
|
||||
export * from './TourModal';
|
||||
export * from './tour-modal';
|
||||
|
||||
@@ -10,7 +10,7 @@ import { useBlockSuiteWorkspaceName } from '@toeverything/hooks/use-block-suite-
|
||||
import clsx from 'clsx';
|
||||
import type React from 'react';
|
||||
|
||||
import { DefaultAvatar } from './DefaultAvatar';
|
||||
import { DefaultAvatar } from './default-avatar';
|
||||
import { avatarImageStyle, avatarStyle } from './index.css';
|
||||
|
||||
export type WorkspaceAvatarProps = {
|
||||
|
||||
Reference in New Issue
Block a user