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 17, 2025
1 parent 5c7006a commit b643fcc
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
"eslint-plugin-react-refresh": "^0.4.16",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"release-it": "^17.11.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"release-it": "^17.11.0",
"serve": "^14.2.4",
"tsx": "^4.19.2",
"turbo": "^2.3.3",
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
3 changes: 3 additions & 0 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 b643fcc

Please sign in to comment.