Skip to content

Commit

Permalink
fix: fix the case of import paths to ensure consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai committed Jan 6, 2025
1 parent b45be04 commit ceb870b
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 37 deletions.
1 change: 1 addition & 0 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"@univerjs/uni-docs-ui": "workspace:*",
"@univerjs/uni-formula": "workspace:*",
"@univerjs/uni-formula-ui": "workspace:*",
"@univerjs/uni-sheets-ui": "workspace:*",
"@univerjs/uni-slides-ui": "workspace:*",
"@univerjs/uniscript": "workspace:*",
"@univerjs/uniui": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
import { FormulaEditor } from '@univerjs/sheets-formula-ui';
import { ILayoutService, useScrollYOverContainer, useSidebarClick } from '@univerjs/ui';

import React, { forwardRef, useEffect, useMemo, useRef, useState } from 'react';
import React, { useEffect, useMemo, useRef, useState } from 'react';

import stylesBase from '../index.module.less';
import styles from './index.module.less';
Expand Down Expand Up @@ -108,7 +108,7 @@ interface IconGroupListProps {
onClick: (iconType: IIconType) => void;
iconType?: IIconType;
};
const IconGroupList = forwardRef<HTMLDivElement | null, IconGroupListProps>((props, ref) => {
const IconGroupList = ({ ref, ...props }: IconGroupListProps & { ref: React.RefObject<HTMLDivElement | null> }) => {
const localeService = useDependency(LocaleService);

const handleClick = (iconType: IIconType) => {
Expand Down Expand Up @@ -137,7 +137,7 @@ const IconGroupList = forwardRef<HTMLDivElement | null, IconGroupListProps>((pro
})}
</div>
);
});
};

const IconItemList = (props: { onClick: (iconType: IIconType, iconId: string) => void; iconType?: IIconType; iconId: string }) => {
const list = useMemo(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ import { AddCfCommand } from '../../../commands/commands/add-cf.command';

import { SetCfCommand } from '../../../commands/commands/set-cf.command';
import styleBase from '../index.module.less';
import { ColorScaleStyleEditor } from './colorScale';
import { DataBarStyleEditor } from './dataBar';
import { FormulaStyleEditor } from './formula';
import { HighlightCellStyleEditor } from './highlightCell';
import { IconSet } from './iconSet';
import { ColorScaleStyleEditor } from './ColorScale';
import { DataBarStyleEditor } from './DataBar';
import { FormulaStyleEditor } from './Formula';
import { HighlightCellStyleEditor } from './HighlightCell';
import { IconSet } from './IconSet';
import styles from './index.module.less';
import { RankStyleEditor } from './rank';
import { RankStyleEditor } from './Rank';
import { beforeSubmit, submit } from './type';

interface IRuleEditProps {
Expand Down
31 changes: 3 additions & 28 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ceb870b

Please sign in to comment.