Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

feat: replace icons (#345)

白熱ae9528192dee
diff --git a/packages/base-ui/package.json b/packages/base-ui/package.json
index 3aae1575d9..f10378c49d 100644
--- a/packages/base-ui/package.json
+++ b/packages/base-ui/package.json
@@ -46,12 +46,11 @@
"build:doc": "storybook build"
},
"dependencies": {
- "@rc-component/color-picker": "^1.4.1",
"@rc-component/trigger": "^1.18.0",
"@univerjs/base-render": "workspace:*",
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
- "@univerjs/icons": "^0.0.10",
+ "@univerjs/icons": "^0.1.3",
"@wendellhu/redi": "^0.12.10",
"localforage": "^1.10.0",
"rc-dropdown": "^4.1.0",
@@ -63,13 +62,13 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
- "@storybook/addon-docs": "^7.5.1",
- "@storybook/addon-essentials": "^7.5.1",
- "@storybook/addon-interactions": "^7.5.1",
- "@storybook/addon-links": "^7.5.1",
- "@storybook/blocks": "^7.5.1",
- "@storybook/react": "^7.5.1",
- "@storybook/react-vite": "^7.5.1",
+ "@storybook/addon-docs": "^7.5.2",
+ "@storybook/addon-essentials": "^7.5.2",
+ "@storybook/addon-interactions": "^7.5.2",
+ "@storybook/addon-links": "^7.5.2",
+ "@storybook/blocks": "^7.5.2",
+ "@storybook/react": "^7.5.2",
+ "@storybook/react-vite": "^7.5.2",
"@storybook/testing-library": "^0.2.2",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.8.9",
@@ -79,9 +78,9 @@
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"esbuild": "^0.19.5",
- "happy-dom": "^12.10.1",
+ "happy-dom": "^12.10.3",
"less": "^4.2.0",
- "storybook": "^7.5.1",
+ "storybook": "^7.5.2",
"ts-node": "^10.9.1",
"vitest": "^0.34.6",
"vitest-canvas-mock": "^0.3.3"
diff --git a/packages/base-ui/src/Common/ComponentManager.ts b/packages/base-ui/src/Common/ComponentManager.ts
index 98a4f28f4a..21033a6877 100644
--- a/packages/base-ui/src/Common/ComponentManager.ts
+++ b/packages/base-ui/src/Common/ComponentManager.ts
@@ -1,62 +1,45 @@
-import { IKeyValue } from '@univerjs/core';
-import { Copy24, PasteSpecial24 } from '@univerjs/icons';
-
-import {
- BorderDashDot,
- BorderDashDotDot,
- BorderDashed,
- BorderDotted,
- BorderHair,
- BorderMedium,
- BorderMediumDashDot,
- BorderMediumDashDotDot,
- BorderMediumDashed,
- BorderThick,
- BorderThin,
-} from '../Components/BorderLine';
import {
- BackIcon,
- BoldIcon,
- BottomBorderIcon,
- BottomVerticalIcon,
- BrIcon,
- CenterAlignIcon,
- CenterVerticalIcon,
- CutIcon,
- DeleteLineIcon,
- FillColorIcon,
- FormatPainterIcon,
- ForwardIcon,
- FullBorderIcon,
- FxIcon,
- InnerBorderIcon,
- ItalicIcon,
- LeftAlignIcon,
- LeftBorderIcon,
- MergeIcon,
- NoneBorderIcon,
- OuterBorderIcon,
- OverflowIcon,
- RightAlignIcon,
- RightBorderIcon,
- ShortcutIcon,
- StripingBorderIcon,
- TextColorIcon,
- TextRotateAngleDownIcon,
- TextRotateAngleUpIcon,
- TextRotateIcon,
- TextRotateRotationDownIcon,
- TextRotateRotationUpIcon,
- TextRotateVerticalIcon,
- TopBorderIcon,
- TopVerticalIcon,
- UnderLineIcon,
- VerticalBorderIcon,
-} from '../Components/Icon';
+ AlignBottomSingle,
+ AlignTopSingle,
+ AllBorderSingle,
+ AutowrapSingle,
+ BoldSingle,
+ BrushSingle,
+ Copy,
+ DownBorderSingle,
+ FontColor,
+ HorizontallySingle,
+ InnerBorderSingle,
+ ItalicSingle,
+ KeyboardSingle,
+ LeftBorderSingle,
+ LeftJustifyingSingle,
+ LeftRotationFortyFiveDegreesSingle,
+ LeftRotationNinetyDegreesSingle,
+ MergeCellSingle,
+ NoBorderSingle,
+ NoRotationSingle,
+ OuterBorderSingle,
+ OverflowSingle,
+ PaintBucket,
+ PasteSpecial,
+ RedoSingle,
+ RightBorderSingle,
+ RightJustifyingSingle,
+ RightRotationFortyFiveDegreesSingle,
+ RightRotationNinetyDegreesSingle,
+ StrikethroughSingle,
+ TruncationSingle,
+ UnderlineSingle,
+ UndoSingle,
+ UpBorderSingle,
+ VerticalCenterSingle,
+ VerticalTextSingle,
+} from '@univerjs/icons';
export interface ICustomComponent {
name: string;
- props?: IKeyValue;
+ props?: any;
}
export type ComponentList = Map<string, Function>;
@@ -66,57 +49,42 @@ export class ComponentManager {
constructor() {
const iconList: Record<string, Function> = {
- ForwardIcon,
- BackIcon,
- FormatPainterIcon,
- BoldIcon,
- ItalicIcon,
- DeleteLineIcon,
- UnderLineIcon,
- TextColorIcon,
- FillColorIcon,
- MergeIcon,
- TopBorderIcon,
- BottomBorderIcon,
- LeftBorderIcon,
- RightBorderIcon,
- NoneBorderIcon,
- FullBorderIcon,
- OuterBorderIcon,
- InnerBorderIcon,
- StripingBorderIcon,
- VerticalBorderIcon,
- LeftAlignIcon,
- CenterAlignIcon,
- RightAlignIcon,
- TopVerticalIcon,
- CenterVerticalIcon,
- BottomVerticalIcon,
- OverflowIcon,
- BrIcon,
- CutIcon,
- ShortcutIcon,
- TextRotateIcon,
- TextRotateAngleUpIcon,
- TextRotateAngleDownIcon,
- TextRotateVerticalIcon,
- TextRotateRotationUpIcon,
- TextRotateRotationDownIcon,
- BorderThin,
- BorderHair,
- BorderDotted,
- BorderDashed,
- BorderDashDot,
- BorderDashDotDot,
- BorderMedium,
- BorderMediumDashed,
- BorderMediumDashDot,
- BorderMediumDashDotDot,
- BorderThick,
- FxIcon,
-
- Copy24,
- PasteSpecial24,
+ AlignBottomSingle,
+ AlignTopSingle,
+ AllBorderSingle,
+ AutowrapSingle,
+ BoldSingle,
+ BrushSingle,
+ Copy,
+ DownBorderSingle,
+ FontColor,
+ HorizontallySingle,
+ InnerBorderSingle,
+ ItalicSingle,
+ KeyboardSingle,
+ LeftBorderSingle,
+ LeftJustifyingSingle,
+ LeftRotationFortyFiveDegreesSingle,
+ LeftRotationNinetyDegreesSingle,
+ MergeCellSingle,
+ NoBorderSingle,
+ NoRotationSingle,
+ OuterBorderSingle,
+ OverflowSingle,
+ PaintBucket,
+ PasteSpecial,
+ RedoSingle,
+ RightBorderSingle,
+ RightJustifyingSingle,
+ RightRotationFortyFiveDegreesSingle,
+ RightRotationNinetyDegreesSingle,
+ StrikethroughSingle,
+ TruncationSingle,
+ UnderlineSingle,
+ UndoSingle,
+ UpBorderSingle,
+ VerticalCenterSingle,
+ VerticalTextSingle,
};
for (const k in iconList) {
@@ -125,6 +93,9 @@ export class ComponentManager {
}
register(name: string, component: any) {
+ if (this._componentList.has(name)) {
+ console.warn(`Component ${name} already exists.`);
+ }
this._componentList.set(name, component);
}
diff --git a/packages/base-ui/src/Components/BorderLine/Basic.tsx b/packages/base-ui/src/Components/BorderLine/Basic.tsx
deleted file mode 100644
index c0a588c84c..0000000000
--- a/packages/base-ui/src/Components/BorderLine/Basic.tsx
+++ /dev/null
@@ -1,90 +0,0 @@
-/* eslint-disable no-magic-numbers */
-import { useEffect, useRef } from 'react';
-
-interface IProps {
- width: string;
- height: string;
- type: string;
- hv: string;
- mSt: number;
- mEd: number;
- lineSt: number;
- lineEd: number;
-}
-
-export function CanvasIcon(props: IProps) {
- const { type, hv, mSt: m_st, mEd: m_ed, lineSt: line_st, lineEd: line_ed } = props;
-
- const canvasRef = useRef<HTMLCanvasElement>(null);
-
- useEffect(() => {
- const canvas = canvasRef.current;
-
- if (!canvas) return;
-
- const ctx = canvas.getContext('2d')!;
-
- const scale = window.devicePixelRatio;
-
- ctx.scale(scale, scale);
-
- setLineDash(ctx);
- }, []);
-
- /**
- *
- * @param ctx View DOM
- * @param type BorderLine Type
- * @param hv
- * @param m_st Start X
- * @param m_ed Start Y
- * @param line_st End X
- * @param line_ed End Y
- */
- function setLineDash(ctx: CanvasRenderingContext2D) {
- try {
- if (type === 'Hair') {
- ctx.setLineDash([1, 2]);
- } else if (type.indexOf('DashDotDot') > -1) {
- ctx.setLineDash([2, 2, 5, 2, 2]);
- } else if (type.indexOf('DashDot') > -1) {
- ctx.setLineDash([2, 5, 2]);
- } else if (type.indexOf('Dotted') > -1) {
- ctx.setLineDash([2]);
- } else if (type.indexOf('Dashed') > -1) {
- ctx.setLineDash([3]);
- } else {
- ctx.setLineDash([0]);
- }
- } catch (e) {
- console.error(e);
- }
-
- ctx.beginPath();
-
- if (type.indexOf('Medium') > -1) {
- if (hv === 'h') {
- ctx.moveTo(m_st, m_ed - 0.5);
- ctx.lineTo(line_st, line_ed - 0.5);
- } else {
- ctx.moveTo(m_st - 0.5, m_ed);
- ctx.lineTo(line_st - 0.5, line_ed);
- }
-
- ctx.lineWidth = 2;
- } else if (type === 'Thick') {
- ctx.moveTo(m_st, m_ed);
- ctx.lineTo(line_st, line_ed);
- ctx.lineWidth = 3;
- } else {
- ctx.moveTo(m_st, m_ed);
- ctx.lineTo(line_st, line_ed);
- ctx.lineWidth = 1;
- }
-
- ctx.stroke();
- ctx.closePath();
- }
-
- return <canvas ref={canvasRef} width={props.width} height={props.height} />;
-}
diff --git a/packages/base-ui/src/Components/BorderLine/BorderLine.stories.tsx b/packages/base-ui/src/Components/BorderLine/BorderLine.stories.tsx
deleted file mode 100644
index d7f90cd9bd..0000000000
--- a/packages/base-ui/src/Components/BorderLine/BorderLine.stories.tsx
+++ /dev/null
@@ -1,66 +0,0 @@
-import type { Meta } from '@storybook/react';
-
-import {
- BorderDashDot,
- BorderDashDotDot,
- BorderDashed,
- BorderDotted,
- BorderHair,
- BorderMedium,
- BorderMediumDashDot,
- BorderMediumDashDotDot,
- BorderMediumDashed,
- BorderThick,
- BorderThin,
-} from './BorderLine';
-
-const meta: Meta = {
- title: 'Components / BorderLine',
- parameters: {
- layout: 'centered',
- },
- tags: ['autodocs'],
-};
-
-export default meta;
-
-export const Playground = {
- render() {
- return (
- <section style={{ display: 'grid', gap: 24, gridTemplateColumns: '1fr 1fr' }}>
- <code>BorderDashDot</code>
- <BorderDashDot />
-
- <code>BorderDashDotDot</code>
- <BorderDashDotDot />
-
- <code>BorderDashed</code>
- <BorderDashed />
-
- <code>BorderDotted</code>
- <BorderDotted />
-
- <code>BorderHair</code>
- <BorderHair />
-
- <code>BorderMedium</code>
- <BorderMedium />
-
- <code>BorderMediumDashDot</code>
- <BorderMediumDashDot />
-
- <code>BorderMediumDashDotDot</code>
- <BorderMediumDashDotDot />
-
- <code>BorderMediumDashed</code>
- <BorderMediumDashed />
-
- <code>BorderThick</code>
- <BorderThick />
-
- <code>BorderThin</code>
- <BorderThin />
- </section>
- );
- },
-};
diff --git a/packages/base-ui/src/Components/BorderLine/BorderLine.tsx b/packages/base-ui/src/Components/BorderLine/BorderLine.tsx
deleted file mode 100644
index fe6d11a22f..0000000000
--- a/packages/base-ui/src/Components/BorderLine/BorderLine.tsx
+++ /dev/null
@@ -1,78 +0,0 @@
-import { CanvasIcon } from './Basic';
-
-interface IProps {
- width?: string;
- height?: string;
-}
-
-export function BorderDashDot(props: IProps) {
- const { width = '100', height = '10' } = props;
- return <CanvasIcon width={width} height={height} type="DashDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;
-}
-
-export function BorderDashDotDot(props: IProps) {
- const { width = '100', height = '10' } = props;
- return (
- <CanvasIcon width={width} height={height} type="DashDotDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />
- );
-}
-
-export function BorderDashed(props: IProps) {
- const { width = '100', height = '10' } = props;
- return <CanvasIcon width={width} height={height} type="Dashed" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;
-}
-
-export function BorderDotted(props: IProps) {
- const { width = '100', height = '10' } = props;
- return <CanvasIcon width={width} height={height} type="Dotted" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;
-}
-
-export function BorderHair(props: IProps) {
- const { width = '100', height = '10' } = props;
- return <CanvasIcon width={width} height={height} type="Hair" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;
-}
-
-export function BorderMedium(props: IProps) {
- const { width = '100', height = '10' } = props;
- return <CanvasIcon width={width} height={height} type="Medium" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;
-}
-
-export function BorderMediumDashDot(props: IProps) {
- const { width = '100', height = '10' } = props;
- return (
- <CanvasIcon width={width} height={height} type="MediumDashDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />
- );
-}
-
-export function BorderMediumDashDotDot(props: IProps) {
- const { width = '100', height = '10' } = props;
- return (
- <CanvasIcon
- width={width}
- height={height}
- type="MediumDashDotDot"
- hv="h"
- mSt={0}
- mEd={5}
- lineSt={100}
- lineEd={5}
- />
- );
-}
-
-export function BorderMediumDashed(props: IProps) {
- const { width = '100', height = '10' } = props;
- return (
- <CanvasIcon width={width} height={height} type="MediumDashed" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />
- );
-}
-
-export function BorderThick(props: IProps) {
- const { width = '100', height = '10' } = props;
- return <CanvasIcon width={width} height={height} type="Thick" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;
-}
-
-export function BorderThin(props: IProps) {
- const { width = '100', height = '10' } = props;
- return <CanvasIcon width={width} height={height} type="Thin" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;
-}
diff --git a/packages/base-ui/src/Components/BorderLine/index.ts b/packages/base-ui/src/Components/BorderLine/index.ts
deleted file mode 100644
index 6d3489a839..0000000000
--- a/packages/base-ui/src/Components/BorderLine/index.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-export {
- BorderDashDot,
- BorderDashDotDot,
- BorderDashed,
- BorderDotted,
- BorderHair,
- BorderMedium,
- BorderMediumDashDot,
- BorderMediumDashDotDot,
- BorderMediumDashed,
- BorderThick,
- BorderThin,
-} from './BorderLine';
diff --git a/packages/base-ui/src/Components/BorderLine/test/__snapshots__/index.test.tsx.snap b/packages/base-ui/src/Components/BorderLine/test/__snapshots__/index.test.tsx.snap
deleted file mode 100644
index 2c7e4700af..0000000000
--- a/packages/base-ui/src/Components/BorderLine/test/__snapshots__/index.test.tsx.snap
+++ /dev/null
@@ -1,10 +0,0 @@
-// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
-
-exports[`BorderLine > renders BorderDashDot 1`] = `
-<div>
- <canvas
- height="10"
- width="100"
- />
-</div>
-`;
diff --git a/packages/base-ui/src/Components/BorderLine/test/index.test.tsx b/packages/base-ui/src/Components/BorderLine/test/index.test.tsx
deleted file mode 100644
index 729455bcda..0000000000
--- a/packages/base-ui/src/Components/BorderLine/test/index.test.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import 'vitest-canvas-mock';
-
-import { render } from '@testing-library/react';
-import { describe, expect, test } from 'vitest';
-
-import { BorderDashDot } from '../BorderLine';
-
-describe('BorderLine', () => {
- test('renders BorderDashDot', () => {
- const { container } = render(<BorderDashDot />);
-
- expect(container).toMatchSnapshot();
- });
-});
diff --git a/packages/base-ui/src/Components/CellRange/CellRange.tsx b/packages/base-ui/src/Components/CellRange/CellRange.tsx
index 9981a43158..740b8ed5d4 100644
--- a/packages/base-ui/src/Components/CellRange/CellRange.tsx
+++ b/packages/base-ui/src/Components/CellRange/CellRange.tsx
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { BaseComponentProps } from '../../BaseComponent';
-import * as Icon from '../Icon';
+// import * as Icon from '../Icon';
import { Input } from '../Input';
import { Modal } from '../Modal';
import { ModalButtonGroup } from '../Modal/Modal';
@@ -44,7 +44,7 @@ export function CellRange(props: BaseCellRangeModalProps) {
<div className={styles.cellRangeModal}>
<Input placeholder={props.placeholder} value={value} onChange={handleChange}></Input>
<span className={styles.cellModalIcon} onClick={() => setShow(true)}>
- <Icon.Sheet.TableIcon />
+ {/* <Icon.Sheet.TableIcon /> */}
</span>
<Modal title={props.title} visible={show} group={group}>
<Input readonly={true} placeholder={props.contentPlaceholder} value={value}></Input>
diff --git a/packages/base-ui/src/Components/Collapse/Collapse.tsx b/packages/base-ui/src/Components/Collapse/Collapse.tsx
index b37c91fdaa..02d0a202fb 100644
--- a/packages/base-ui/src/Components/Collapse/Collapse.tsx
+++ b/packages/base-ui/src/Components/Collapse/Collapse.tsx
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { joinClassNames } from '../../Utils';
-import { NextIcon } from '../Icon/Format';
+// import { NextIcon } from '../Icon/Format';
import Style from './index.module.less';
export interface BaseCollapseProps {
@@ -38,7 +38,7 @@ export function Collapse(props: BaseCollapseProps) {
panelBodyClassName!.includes('active') ? Style.panelHeaderIconRotate : ''
}`}
>
- <NextIcon />
+ {/* <NextIcon /> */}
</span>
</div>
<div className={panelBodyClassName}>{children}</div>
diff --git a/packages/base-ui/src/Components/CustomLabel/CustomLabel.tsx b/packages/base-ui/src/Components/CustomLabel/CustomLabel.tsx
index dae6204fa5..ab4a47e18b 100644
--- a/packages/base-ui/src/Components/CustomLabel/CustomLabel.tsx
+++ b/packages/base-ui/src/Components/CustomLabel/CustomLabel.tsx
@@ -1,5 +1,5 @@
import { LocaleService } from '@univerjs/core';
-import { Selectedo24 } from '@univerjs/icons';
+import { CheckMarkSingle } from '@univerjs/icons';
import { useDependency } from '@wendellhu/redi/react-bindings';
import React, { isValidElement, JSX } from 'react';
@@ -114,10 +114,10 @@ export function NeoCustomLabel(
>
{selected && (
<span className={styles.selectItemSelected}>
- <Selectedo24 style={{ color: 'rgb(var(--success-color))' }} />
+ <CheckMarkSingle style={{ color: 'rgb(var(--success-color))' }} />
</span>
)}
- {LabelComponent && <LabelComponent />}
+ {LabelComponent && <LabelComponent extend={{ colorChannel1: 'rgb(var(--primary-color))' }} />}
<span className={styles.selectItemContent}>{getLocale(title)}</span>
</div>
);
diff --git a/packages/base-ui/src/Components/Icon/AddIcon.tsx b/packages/base-ui/src/Components/Icon/AddIcon.tsx
deleted file mode 100644
index 2724f847b3..0000000000
--- a/packages/base-ui/src/Components/Icon/AddIcon.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-import { IExtendProps } from '@univerjs/icons';
-
-import { joinClassNames } from '../../Utils';
-import styles from './Style/index.module.less';
-
-export interface BaseIconProps {
- spin?: boolean;
- rotate?: number;
- style?: React.CSSProperties;
- className?: string;
- children?: React.ReactNode;
- name?: string;
- width?: string;
- height?: string;
- color?: string;
- extend?: IExtendProps;
-}
-export const Icon = (props: BaseIconProps) => {
- const { spin, rotate, children, name, style, className } = props;
-
- let svgStyle;
- if (style) {
- svgStyle = style;
- svgStyle.transform = rotate ? `rotate(${rotate}deg)` : '';
- } else {
- svgStyle = rotate ? { transform: `rotate(${rotate}deg)` } : {};
- }
-
- const classes = joinClassNames(
- styles.icon,
- {
- [`${styles.icon}-${name}`]: name,
- [`${styles.icon}-spin`]: spin || name === 'loading',
- },
- className
- );
-
- return (
- <span role="img" className={classes} style={{ ...svgStyle }}>
- {children}
- </span>
- );
-};
diff --git a/packages/base-ui/src/Components/Icon/Cell/index.tsx b/packages/base-ui/src/Components/Icon/Cell/index.tsx
deleted file mode 100644
index 86907e4cab..0000000000
--- a/packages/base-ui/src/Components/Icon/Cell/index.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-import {
- BorderColor24,
- DownBorde24,
- InnerBorde24,
- LeftBorde24,
- MergeCell24,
- NoBorders24,
- OuterBorder24,
- RightBorde24,
- TableStyle24,
- UpBorde24,
-} from '@univerjs/icons';
-
-import { BaseIconProps } from '../AddIcon';
-
-export const FillColorIcon = (props: BaseIconProps) => (
- <BorderColor24 extend={{ colorChannel1: props.color ?? 'white' }} />
-);
-
-export const FullBorderIcon = (props: BaseIconProps) => <TableStyle24 />;
-
-export const TopBorderIcon = (props: BaseIconProps) => <UpBorde24 />;
-
-export const BottomBorderIcon = (props: BaseIconProps) => <DownBorde24 />;
-
-export const LeftBorderIcon = (props: BaseIconProps) => <LeftBorde24 />;
-
-export const RightBorderIcon = (props: BaseIconProps) => <RightBorde24 />;
-
-export const NoneBorderIcon = (props: BaseIconProps) => <NoBorders24 />;
-
-export const OuterBorderIcon = (props: BaseIconProps) => <OuterBorder24 />;
-
-export const InnerBorderIcon = (props: BaseIconProps) => <InnerBorde24 />;
-
-export const StripingBorderIcon = (props: BaseIconProps) => <InnerBorde24 />;
-
-export const VerticalBorderIcon = (props: BaseIconProps) => <InnerBorde24 />;
-
-export const MergeIcon = (props: BaseIconProps) => <MergeCell24 />;
-
-export default {
- FillColorIcon,
- FullBorderIcon,
- TopBorderIcon,
- BottomBorderIcon,
- LeftBorderIcon,
- RightBorderIcon,
- NoneBorderIcon,
- OuterBorderIcon,
- InnerBorderIcon,
- StripingBorderIcon,
- VerticalBorderIcon,
- MergeIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/Data/index.tsx b/packages/base-ui/src/Components/Icon/Data/index.tsx
deleted file mode 100644
index ae4975252b..0000000000
--- a/packages/base-ui/src/Components/Icon/Data/index.tsx
+++ /dev/null
@@ -1,197 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const PivotableIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="7578"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M256 362.666667v298.666666l256 149.333334 256-149.333334v-298.666666L512 213.333333 256 362.666667zM725.333333 640l-213.333333 128-213.333333-128V384l213.333333-128 213.333333 128v256z m-189.354666 40.021333a18.645333 18.645333 0 0 1-18.645334 18.645334 18.304 18.304 0 0 1-18.688-18.645334V535.466667l-130.645333-75.349334a18.645333 18.645333 0 0 1 4.565333-34.133333 18.304 18.304 0 0 1 14.08 2.005333l130.688 74.666667 129.578667-74.666667a18.304 18.304 0 0 1 25.386667 6.698667 18.645333 18.645333 0 0 1-6.784 25.386667l-129.536 74.666666v145.237334z"
- p-id="7579"
- ></path>
- </svg>
- </Icon>
-);
-
-export const SumIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="7451"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M774.058667 213.333333v42.666667H310.784l236.288 256-236.330667 256h463.317334v42.666667H213.333333l275.669334-298.666667L213.333333 213.333333z"
- p-id="7452"
- ></path>
- </svg>
- </Icon>
-);
-
-export const OrderIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6675"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M704 256a21.333333 21.333333 0 0 1 21.333333 21.333333v469.333334a21.333333 21.333333 0 1 1-42.666666 0v-469.333334c0-11.776 9.472-21.333333 21.333333-21.333333zM512 384c11.776 0 21.333333 7.68 21.333333 17.194667v221.610666c0 9.514667-9.472 17.194667-21.333333 17.194667-11.776 0-21.333333-7.68-21.333333-17.194667V401.194667c0-4.565333 2.218667-8.96 6.186666-12.16A24.32 24.32 0 0 1 512 384zM320 256a21.333333 21.333333 0 0 1 21.333333 21.333333v469.333334a21.333333 21.333333 0 1 1-42.666666 0v-469.333334c0-11.776 9.472-21.333333 21.333333-21.333333z m283.562667 368.896a21.333333 21.333333 0 0 1 30.165333 30.165333l-106.666667 106.666667a21.333333 21.333333 0 0 1-30.165333 0l-106.666667-106.666667a21.333333 21.333333 0 0 1 30.165334-30.165333L512 716.501333l91.605333-91.562666z m0.298666-225.834667a21.333333 21.333333 0 0 0 30.165334-30.165333l-106.666667-106.666667a21.333333 21.333333 0 0 0-30.165333 0l-106.666667 106.666667a21.333333 21.333333 0 0 0 30.165333 30.165333l91.562667-91.562666 91.605333 91.562666z"
- p-id="6676"
- ></path>
- </svg>
- </Icon>
-);
-
-export const OrderDESCIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6548"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M430.848 666.197333H366.592V236.074667a6.656 6.656 0 0 0-6.741333-6.528h-47.36a6.656 6.656 0 0 0-6.741334 6.528v430.122666H241.493333c-5.674667 0-8.874667 6.314667-5.333333 10.538667l94.72 115.2a6.912 6.912 0 0 0 10.624 0l94.72-115.2c3.413333-4.224 0.298667-10.538667-5.376-10.538667zM582.442667 806.698667l20.992-61.098667h103.68l21.205333 61.098667h43.690667L672.64 533.333333h-34.688l-99.370667 273.365334h43.861334z m112.896-97.877334h-79.872l39.552-119.424h0.768l39.552 119.466667zM742.570667 486.698667v-39.168h-124.288l124.288-203.093334V213.333333h-169.685334v36.949334h119.04l-123.904 201.941333v34.474667z"
- p-id="6549"
- ></path>
- </svg>
- </Icon>
-);
-
-export const OrderASCIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6294"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M430.848 357.76H366.592v430.165333a6.656 6.656 0 0 1-6.741333 6.485334h-47.36a6.656 6.656 0 0 1-6.741334-6.485334V357.76H241.493333c-5.674667 0-8.874667-6.314667-5.333333-10.538667l94.72-115.2a6.912 6.912 0 0 1 10.624 0l94.72 115.2c3.413333 4.224 0.298667 10.538667-5.376 10.538667zM582.442667 486.698667l20.992-61.098667h103.68l21.205333 61.098667h43.690667L672.64 213.333333h-34.688l-99.370667 273.365334h43.861334z m112.896-97.877334h-79.872l39.552-119.424h0.768l39.552 119.466667zM742.570667 806.698667v-39.168h-124.288l124.288-203.093334V533.333333h-169.685334v36.949334h119.04l-123.904 201.941333v34.474667z"
- p-id="6295"
- ></path>
- </svg>
- </Icon>
-);
-
-export const FilterIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6802"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M736 213.333333H328.533333C288 213.333333 256 245.333333 256 285.866667c0 17.066667 6.4 34.133333 17.066667 46.933333 0 2.133333 2.133333 2.133333 2.133333 4.266667l160 160v168.533333c0 6.4 2.133333 10.666667 6.4 14.933333l145.066667 123.733334c4.266667 2.133333 8.533333 4.266667 12.8 4.266666 6.4 0 10.666667-2.133333 14.933333-6.4 4.266667-4.266667 4.266667-10.666667 4.266667-14.933333V503.466667l170.666666-166.4 2.133334-2.133334c10.666667-12.8 17.066667-29.866667 17.066666-46.933333 0-42.666667-32-74.666667-72.533333-74.666667z m23.466667 93.866667s-2.133333 2.133333 0 0l-172.8 172.8c-4.266667 4.266667-6.4 8.533333-6.4 14.933333v251.733334l-104.533334-87.466667V490.666667c0-6.4-2.133333-10.666667-6.4-14.933334l-162.133333-166.4-2.133333-2.133333c-6.4-6.4-8.533333-12.8-8.533334-21.333333 0-17.066667 14.933333-32 32-32h407.466667c17.066667 0 32 14.933333 32 32 0 8.533333-4.266667 14.933333-8.533333 21.333333z"
- p-id="6803"
- ></path>
- </svg>
- </Icon>
-);
-
-export const FilterRankIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6929"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M736 213.333333H328.533333C288 213.333333 256 245.333333 256 285.866667c0 17.066667 6.4 34.133333 17.066667 46.933333 0 2.133333 2.133333 2.133333 2.133333 4.266667l160 160v168.533333c0 6.4 2.133333 10.666667 6.4 14.933333l145.066667 123.733334c4.266667 2.133333 8.533333 4.266667 12.8 4.266666 6.4 0 10.666667-2.133333 14.933333-6.4 4.266667-4.266667 4.266667-10.666667 4.266667-14.933333V503.466667l170.666666-166.4 2.133334-2.133334c10.666667-12.8 17.066667-29.866667 17.066666-46.933333 0-42.666667-32-74.666667-72.533333-74.666667z m23.466667 93.866667s-2.133333 2.133333 0 0l-172.8 172.8c-4.266667 4.266667-6.4 8.533333-6.4 14.933333v251.733334l-104.533334-87.466667V490.666667c0-6.4-2.133333-10.666667-6.4-14.933334l-162.133333-166.4-2.133333-2.133333c-6.4-6.4-8.533333-12.8-8.533334-21.333333 0-17.066667 14.933333-32 32-32h407.466667c17.066667 0 32 14.933333 32 32 0 8.533333-4.266667 14.933333-8.533333 21.333333z"
- p-id="6930"
- ></path>
- <path
- d="M688.213333 378.410667l-101.546666 101.589333c-4.266667 4.266667-6.4 8.533333-6.4 14.933333v251.733334l-104.533334-87.466667V490.666667c0-6.4-2.133333-10.666667-6.4-14.933334L403.626667 408.32l284.586666-29.909333z"
- p-id="6931"
- ></path>
- </svg>
- </Icon>
-);
-
-export const CleanIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="7193"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M214.016 722.432h593.92v42.410667H214.016v-42.410667z m578.048-312.106667l-180.693333-181.077333A53.376 53.376 0 0 0 573.738667 213.333333a45.653333 45.653333 0 0 0-32.64 13.226667l-313.941334 314.965333c-18.56 18.602667-17.322667 50.261333 2.688 70.4l68.010667 68.096h298.24l198.698667-199.338666c18.56-18.602667 17.322667-50.261333-2.730667-70.357334z m-213.546667 227.242667H315.434667L259.84 581.888c-3.968-4.010667-4.053333-9.088-2.730667-10.453333L430.08 398.08l193.92 193.92-45.44 45.568z"
- p-id="7194"
- ></path>
- </svg>
- </Icon>
-);
-
-export const CheckIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} className={props.className} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5912"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M764.330667 592.170667l30.165333 30.165333L734.165333 682.666667l60.330667 60.330666-30.165333 30.165334-60.330667-60.330667-60.330667 60.330667-30.165333-30.165334L673.834667 682.666667l-60.330667-60.330667 30.165333-30.165333 60.330667 60.330666 60.330667-60.330666zM725.333333 512v42.666667H256v128h256v42.666666H213.333333v-213.333333h512z m47.829334-209.664l30.165333 30.165333L682.666667 453.12l-30.165334 30.165333-90.496-90.453333 30.165334-30.208 60.330666 60.330667 120.661334-120.661334zM725.333333 256v42.666667H256v128h256v42.666666H213.333333V256h512z"
- p-id="5913"
- ></path>
- </svg>
- </Icon>
-);
-
-export default {
- PivotableIcon,
- SumIcon,
- OrderIcon,
- OrderDESCIcon,
- OrderASCIcon,
- FilterIcon,
- FilterRankIcon,
- CleanIcon,
- CheckIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/Delete/index.tsx b/packages/base-ui/src/Components/Icon/Delete/index.tsx
deleted file mode 100644
index 435fd51ae4..0000000000
--- a/packages/base-ui/src/Components/Icon/Delete/index.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const DeleteIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="logo" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="1214"
- width="1em"
- height="1em"
- >
- <path
- d="M840 288H688v-56c0-40-32-72-72-72h-208C368 160 336 192 336 232V288h-152c-12.8 0-24 11.2-24 24s11.2 24 24 24h656c12.8 0 24-11.2 24-24s-11.2-24-24-24zM384 288v-56c0-12.8 11.2-24 24-24h208c12.8 0 24 11.2 24 24V288H384zM758.4 384c-12.8 0-24 11.2-24 24v363.2c0 24-19.2 44.8-44.8 44.8H332.8c-24 0-44.8-19.2-44.8-44.8V408c0-12.8-11.2-24-24-24s-24 11.2-24 24v363.2c0 51.2 41.6 92.8 92.8 92.8h358.4c51.2 0 92.8-41.6 92.8-92.8V408c-1.6-12.8-12.8-24-25.6-24z"
- p-id="1215"
- ></path>
- <path
- d="M444.8 744v-336c0-12.8-11.2-24-24-24s-24 11.2-24 24v336c0 12.8 11.2 24 24 24s24-11.2 24-24zM627.2 744v-336c0-12.8-11.2-24-24-24s-24 11.2-24 24v336c0 12.8 11.2 24 24 24s24-11.2 24-24z"
- p-id="1216"
- ></path>
- </svg>
- </Icon>
-);
diff --git a/packages/base-ui/src/Components/Icon/Font/index.tsx b/packages/base-ui/src/Components/Icon/Font/index.tsx
deleted file mode 100644
index c68e4a9d31..0000000000
--- a/packages/base-ui/src/Components/Icon/Font/index.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-import { Strikethrough24, TextBold24, TextColor24, TextItalic24, Underline24 } from '@univerjs/icons';
-
-import { BaseIconProps } from '../AddIcon';
-
-// TODO The toolbar should use the icon directly
-export const BoldIcon = (props: BaseIconProps) => <TextBold24 />;
-export const ItalicIcon = (props: BaseIconProps) => <TextItalic24 />;
-export const DeleteLineIcon = (props: BaseIconProps) => <Strikethrough24 style={props.style} />;
-export const UnderLineIcon = (props: BaseIconProps) => <Underline24 />;
-
-export const TextColorIcon = (props: BaseIconProps) => (
- <TextColor24 style={{ color: props.color }} extend={props.extend} />
-);
-
-export default {
- BoldIcon,
- ItalicIcon,
- DeleteLineIcon,
- UnderLineIcon,
- TextColorIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/Format/index.tsx b/packages/base-ui/src/Components/Icon/Format/index.tsx
deleted file mode 100644
index b050328d9f..0000000000
--- a/packages/base-ui/src/Components/Icon/Format/index.tsx
+++ /dev/null
@@ -1,179 +0,0 @@
-import { Painter24, Redo24, Undo24 } from '@univerjs/icons';
-
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const BackIcon = (props: BaseIconProps) => <Redo24 />;
-
-export const ForwardIcon = (props: BaseIconProps) => <Undo24 />;
-
-export const FormatPainterIcon = (props: BaseIconProps) => <Painter24 {...props} />;
-
-export const FormatIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5955"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M725.333333 213.333333v85.333334h85.333334v234.666666h-298.666667V597.333333h21.333333v213.333334h-85.333333v-213.333334h21.333333v-106.666666h298.666667V341.333333h-42.666667v85.333334H213.333333V213.333333h512z m-42.666666 42.666667H256v128h426.666667V256z"
- p-id="5956"
- ></path>
- </svg>
- </Icon>
-);
-
-export const NextIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} className={props.className} name="nextIcon" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5311"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path d="M512 682.666667L170.666667 341.333333h682.666666z" p-id="5312"></path>
- </svg>
- </Icon>
-);
-
-export const RightIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} className={props.className} name="rightIcon" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5311"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path d="M682.666667 512l-341.333334 341.333333V170.666667z" p-id="5312"></path>
- </svg>
- </Icon>
-);
-
-export const CorrectIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} className={props.className} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5311"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path d="M268.032 523.434667l60.373333-60.330667 211.2 211.2-60.373333 60.330667z" p-id="5312"></path>
- <path
- d="M780.928 312.234667l60.373333 60.330666-331.904 331.861334-60.330666-60.330667z"
- p-id="5313"
- ></path>
- </svg>
- </Icon>
-);
-
-export const LtIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} className={props.className} name="foward" style={props.style}>
- <svg
- width="1em"
- height="1em"
- fill="currentColor"
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="1732"
- >
- <path d="M224.45 538.68l575.11-346.21-0.05-68.75-575.03 345.61-0.03 69.35z" p-id="1733"></path>
- <path d="M224.45 538.68l575.08 356.96v-69.52L224.48 469.33l-0.03 69.35z" p-id="1734"></path>
- </svg>
- </Icon>
-);
-
-export const CloseIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} className={props.className} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5318"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path d="M330.965333 270.634667l422.4 422.4-60.330666 60.330666-422.4-422.4z" p-id="5319"></path>
- <path d="M753.365333 330.965333l-422.4 422.4-60.330666-60.330666 422.4-422.4z" p-id="5320"></path>
- </svg>
- </Icon>
-);
-
-export const MenuIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} className={props.className} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5446"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M213.333333 469.333333h597.333334v85.333334H213.333333zM213.333333 213.333333h597.333334v85.333334H213.333333zM213.333333 725.333333h597.333334v85.333334H213.333333z"
- p-id="5447"
- ></path>
- </svg>
- </Icon>
-);
-
-export const HideIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} className={props.className} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6513"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M512 219.428571c161.645714 0 307.931429 97.499429 438.857143 292.571429-130.925714 195.072-277.211429 292.571429-438.857143 292.571429S204.068571 707.072 73.142857 512c130.925714-195.072 277.211429-292.571429 438.857143-292.571429z m0 73.142858c-124.123429 0-241.225143 65.462857-365.714286 219.428571 119.661714 147.968 231.424 213.577143 365.714286 219.428571 124.196571 0 241.298286-65.462857 365.714286-219.428571-119.588571-147.968-231.350857-213.577143-365.714286-219.428571z"
- p-id="6514"
- ></path>
- <path d="M818.614857 146.285714l51.712 51.712L197.997714 870.4 146.285714 818.688z" p-id="6515"></path>
- <path
- d="M512 365.714286a146.285714 146.285714 0 1 1 0 292.571428 146.285714 146.285714 0 0 1 0-292.571428z m0 73.142857a73.142857 73.142857 0 1 0 0 146.285714 73.142857 73.142857 0 0 0 0-146.285714z"
- p-id="6516"
- ></path>
- </svg>
- </Icon>
-);
-
-export default {
- BackIcon,
- ForwardIcon,
- FormatIcon,
- FormatPainterIcon,
- NextIcon,
- RightIcon,
- CorrectIcon,
- LtIcon,
- CloseIcon,
- MenuIcon,
- HideIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/Icon.stories.tsx b/packages/base-ui/src/Components/Icon/Icon.stories.tsx
deleted file mode 100644
index 67f062358c..0000000000
--- a/packages/base-ui/src/Components/Icon/Icon.stories.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-import type { Meta } from '@storybook/react';
-
-import { Icon } from './AddIcon';
-
-const meta: Meta<typeof Icon> = {
- title: 'Components / Icon',
- component: Icon,
- parameters: {
- layout: 'centered',
- },
- tags: ['autodocs'],
- args: {
- children: (
- <>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5374"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M590.848 567.04l-265.386667-306.645333a28.245333 28.245333 0 0 1 3.2-40.149334 29.141333 29.141333 0 0 1 40.789334 3.242667l267.946666 309.674667a124.885333 124.885333 0 0 1 144.213334 34.474666 125.141333 125.141333 0 0 1-16.042667 176.256 125.141333 125.141333 0 0 1-176.341333-14.805333 125.013333 125.013333 0 0 1 1.621333-162.048z m40.149333 18.133333c-18.602667 15.701333-29.312 38.826667-29.312 63.189334 0 45.909333 37.461333 83.157333 83.754667 83.157333a83.413333 83.413333 0 0 0 83.712-83.157333 83.413333 83.413333 0 0 0-83.712-83.114667c-15.189333 0-29.44 4.010667-41.685333 11.008a28.458667 28.458667 0 0 1-12.757334 8.96v-0.042667z m-150.698666-52.565333l-38.229334 44.16a29.653333 29.653333 0 0 1-0.768 0.810667 124.885333 124.885333 0 0 1-6.528 151.509333 125.141333 125.141333 0 0 1-176.341333 14.805333C205.226667 699.306667 198.101333 620.373333 242.346667 567.637333a124.928 124.928 0 0 1 156.416-28.544l38.528-44.501333c9.514667 17.237333 24.746667 30.634667 43.008 37.973333z m105.6-122.026667a85.632 85.632 0 0 0-43.818667-37.12l129.749333-150.016a29.141333 29.141333 0 0 1 40.789334-3.242666 28.245333 28.245333 0 0 1 3.2 40.149333l-129.92 150.186667z m-300.8 301.44c35.413333 29.738667 88.064 25.301333 117.546666-9.813333a83.413333 83.413333 0 0 0-10.666666-117.546667 83.456 83.456 0 0 0-117.589334 9.856 83.456 83.456 0 0 0 10.709334 117.504z"
- p-id="5375"
- ></path>
- </svg>
- </>
- ),
- },
-};
-
-export default meta;
-
-export const Playground = {
- args: {},
-};
diff --git a/packages/base-ui/src/Components/Icon/Insert/index.tsx b/packages/base-ui/src/Components/Icon/Insert/index.tsx
deleted file mode 100644
index 189a5be82a..0000000000
--- a/packages/base-ui/src/Components/Icon/Insert/index.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const PhotoIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="8090"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M810.666667 213.333333v597.333334H213.333333V213.333333h597.333334z m-42.666667 263.381334l-233.984 190.890666-118.613333-98.218666L256 704.64V768h512v-291.285333zM768 256H256v392.704l159.146667-134.954667 119.04 98.602667L768 421.674667V256zM384 341.333333a42.666667 42.666667 0 1 1 0 85.333334 42.666667 42.666667 0 0 1 0-85.333334z"
- p-id="8091"
- ></path>
- </svg>
- </Icon>
-);
-
-export const LinkIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="7962"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M771.584 251.733333c-49.066667-51.2-132.266667-51.2-181.333333 0l-74.666667 76.8c-8.533333 8.533333-8.533333 23.466667 0 32 8.533333 8.533333 21.333333 8.533333 29.866667 0l74.666666-76.8c34.133333-34.133333 87.466667-34.133333 121.6 0 34.133333 34.133333 34.133333 89.6 0 123.733334l-121.6 123.733333c-34.133333 34.133333-87.466667 34.133333-121.6 0-8.533333-8.533333-21.333333-8.533333-29.866666 0-8.533333 8.533333-8.533333 23.466667 0 32 49.066667 51.2 132.266667 51.2 181.333333 0l121.6-123.733333c51.2-53.333333 51.2-136.533333 0-187.733334z"
- p-id="7963"
- ></path>
- <path
- d="M477.184 663.466667l-74.666667 76.8c-34.133333 34.133333-87.466667 34.133333-121.6 0-34.133333-34.133333-34.133333-89.6 0-123.733334l121.6-123.733333c34.133333-34.133333 87.466667-34.133333 121.6 0 8.533333 8.533333 21.333333 8.533333 29.866667 0 8.533333-8.533333 8.533333-23.466667 0-32-49.066667-51.2-132.266667-51.2-181.333333 0l-121.6 123.733333c-51.2 51.2-49.066667 134.4 0 185.6 49.066667 51.2 132.266667 51.2 181.333333 0l74.666667-76.8c8.533333-8.533333 8.533333-23.466667 0-32-8.533333-6.4-21.333333-6.4-29.866667 2.133334z"
- p-id="7964"
- ></path>
- </svg>
- </Icon>
-);
-
-export const ChartIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="7833"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path d="M256 213.333333H213.333333v597.333334h597.333334v-42.666667H256z" p-id="7834"></path>
- <path
- d="M490.666667 343.466667V554.666667h185.6c-19.2 72.533333-85.333333 128-164.266667 128-93.866667 0-170.666667-76.8-170.666667-170.666667 0-87.466667 66.133333-157.866667 149.333334-168.533333M512 298.666667c-117.333333 0-213.333333 96-213.333333 213.333333s96 213.333333 213.333333 213.333333 213.333333-96 213.333333-213.333333h-192V298.666667H512z"
- p-id="7835"
- ></path>
- <path
- d="M618.666667 260.266667c83.2 14.933333 134.4 74.666667 147.2 166.4H618.666667V260.266667m-42.666667-46.933334v256H810.666667c0-149.333333-85.333333-256-234.666667-256z"
- p-id="7836"
- ></path>
- </svg>
- </Icon>
-);
-
-export default {
- PhotoIcon,
- LinkIcon,
- ChartIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/Loading/index.tsx b/packages/base-ui/src/Components/Icon/Loading/index.tsx
deleted file mode 100644
index c361899b63..0000000000
--- a/packages/base-ui/src/Components/Icon/Loading/index.tsx
+++ /dev/null
@@ -1,11 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const LoadingIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="loading" style={props.style}>
- <svg viewBox="0 0 1024 1024" width="1em" height="1em" fill="currentColor">
- <path d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" />
- </svg>
- </Icon>
-);
-
-export default LoadingIcon;
diff --git a/packages/base-ui/src/Components/Icon/Logo/index.tsx b/packages/base-ui/src/Components/Icon/Logo/index.tsx
deleted file mode 100644
index b41754b06d..0000000000
--- a/packages/base-ui/src/Components/Icon/Logo/index.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const LogoIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="logo" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 4864 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="8477"
- fill="currentColor"
- >
- <path
- d="M1023.168 131.36c0 234.4-190.016 424.416-424.416 424.416 0-234.4 190.016-424.416 424.416-424.416zM131.36 1023.168c0-234.4 190.016-424.416 424.416-424.416 0 234.4-190.016 424.416-424.416 424.416zM929.696 929.696c-182.784 0-330.944-148.16-330.944-330.944 182.752 0 330.944 148.16 330.944 330.944z"
- fill="#2D7FF9"
- p-id="8478"
- ></path>
- <path d="M494.848 0H0v494.848h494.848z" fill="#2D7FF9" opacity=".503" p-id="8479"></path>
- <path d="M558.016 81.376H81.376v476.64h476.64z" fill="#2D7FF9" opacity=".551" p-id="8480"></path>
- <path d="M558.304 164.416H164.384v393.92h393.92z" fill="#2D7FF9" opacity=".805" p-id="8481"></path>
- <path
- d="M1678.08 736v-64h-247.04V279.04H1356.8V736h321.28z m177.568 8.96c40.96 0 75.52-17.28 103.68-51.84V736h72.96V405.12h-72.96v202.24c-6.4 23.68-17.28 42.24-32 56.32-14.72 13.44-30.08 20.48-46.08 20.48-25.6 0-43.52-6.4-55.04-18.56-11.52-12.8-16.64-32-16.64-58.88v-201.6h-72.96v206.08c0 88.96 39.68 133.76 119.04 133.76z m407.936 0c42.88 0 77.44-10.88 103.04-32 26.24-21.76 43.52-55.04 51.2-99.84h-72.32c-5.76 48-32.64 72.32-81.28 72.32-28.16 0-49.28-10.24-63.36-30.08-15.36-20.48-22.4-49.28-22.4-85.76 0-35.84 7.68-64 23.04-83.84 15.36-20.48 36.48-30.08 63.36-30.08 21.76 0 39.68 5.12 53.12 15.36 12.8 10.24 21.76 25.6 26.24 46.72h72.32c-6.4-41.6-23.04-72.32-49.28-92.8-25.6-19.2-59.52-28.8-102.4-28.8-51.84 0-92.16 17.28-120.96 51.84-26.88 31.36-40.32 72.32-40.32 122.24 0 51.2 13.44 92.8 40.96 124.8 28.16 33.28 67.84 49.92 119.04 49.92z m292.128-8.96v-115.84l33.28-31.36 115.84 147.2h93.44l-159.36-193.92 146.56-136.96h-94.08l-135.68 131.2V270.08h-72.96V736h72.96z m404.096 126.72l179.2-457.6h-79.36l-83.84 235.52-87.68-235.52h-79.36l131.2 323.2-58.24 134.4h78.08z m357.408-117.76c99.2 0 149.12-35.2 149.12-105.6 0-29.44-13.44-53.12-39.68-69.76-17.92-12.16-46.08-22.4-83.2-31.36-33.28-8.32-55.04-14.72-65.92-19.2-17.92-7.68-26.24-17.28-26.24-27.52 0-12.8 5.12-21.76 16.64-27.52 9.6-5.76 24.32-8.32 43.52-8.32 22.4 0 39.04 3.2 49.92 10.24 10.24 6.4 17.92 18.56 23.04 35.2h71.04c-7.68-70.4-55.68-104.96-142.72-104.96-40.96 0-73.6 8.32-98.56 26.24-25.6 16.64-37.76 40.32-37.76 71.04 0 28.8 12.8 51.2 38.4 67.2 16 10.24 43.52 19.84 82.56 28.8 33.28 7.68 55.04 13.44 65.28 18.56 19.2 8.96 28.8 21.12 28.8 36.48 0 26.88-25.6 40.96-76.8 40.96-24.32 0-41.6-4.48-52.48-12.16-10.88-8.96-18.56-23.68-22.4-44.8h-71.04c7.04 77.44 56.32 116.48 148.48 116.48z m286.976-8.96v-184.96c0-28.16 6.4-50.56 19.84-68.48 12.8-17.92 30.72-26.88 53.76-26.88 24.96 0 43.52 7.68 56.32 23.68 10.88 14.72 16.64 36.48 16.64 64.64v192h72.96v-204.8c0-44.16-9.6-77.44-28.16-99.84-19.84-23.68-49.92-35.2-90.24-35.2-21.12 0-39.68 3.84-55.68 12.16-17.92 8.96-33.28 22.4-45.44 40.96v-179.2h-72.96V736h72.96z m447.648 8.96c44.16 0 80.64-12.8 110.08-37.76 23.04-20.48 38.4-46.72 46.08-77.44h-72.96c-8.96 18.56-18.56 32-29.44 40.32-14.08 10.24-32 15.36-54.4 15.36-26.24 0-46.72-8.32-60.8-24.32-14.08-16-22.4-39.68-24.96-70.4h247.68c0-59.52-13.44-106.24-39.68-139.52-28.8-37.12-70.4-55.04-124.8-55.04-49.28 0-88.32 16.64-116.48 50.56-29.44 33.28-43.52 74.24-43.52 123.52 0 55.04 15.36 97.92 46.08 129.28 28.8 30.08 67.84 45.44 117.12 45.44z m85.12-209.28h-170.24c4.48-26.24 13.44-46.08 26.88-59.52 14.08-14.08 32.64-20.48 56.96-20.48 51.2 0 80 26.24 86.4 80z m285.088 209.28c44.16 0 80.64-12.8 110.08-37.76 23.04-20.48 38.4-46.72 46.08-77.44h-72.96c-8.96 18.56-18.56 32-29.44 40.32-14.08 10.24-32 15.36-54.4 15.36-26.24 0-46.72-8.32-60.8-24.32-14.08-16-22.4-39.68-24.96-70.4h247.68c0-59.52-13.44-106.24-39.68-139.52-28.8-37.12-70.4-55.04-124.8-55.04-49.28 0-88.32 16.64-116.48 50.56-29.44 33.28-43.52 74.24-43.52 123.52 0 55.04 15.36 97.92 46.08 129.28 28.8 30.08 67.84 45.44 117.12 45.44z m85.12-209.28h-170.24c4.48-26.24 13.44-46.08 26.88-59.52 14.08-14.08 32.64-20.48 56.96-20.48 51.2 0 80 26.24 86.4 80z m310.016 200.32v-60.16h-43.52c-7.68 0-12.8-1.92-16.64-5.76-3.84-4.48-5.12-10.24-5.12-17.92v-186.88h73.6v-60.16h-73.6V298.24l-72.96 30.08v76.8h-59.52v60.16h59.52v186.88c0 26.88 6.4 46.72 19.2 60.8 13.44 15.36 34.56 23.04 63.36 23.04h55.68z"
- fill="#7C838C"
- p-id="8482"
- ></path>
- </svg>
- </Icon>
-);
-
-export default LogoIcon;
diff --git a/packages/base-ui/src/Components/Icon/Math/index.tsx b/packages/base-ui/src/Components/Icon/Math/index.tsx
deleted file mode 100644
index 6625285f54..0000000000
--- a/packages/base-ui/src/Components/Icon/Math/index.tsx
+++ /dev/null
@@ -1,174 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const AddNumIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6466"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M533.333333 789.333333m-42.666666 0a42.666667 42.666667 0 1 0 85.333333 0 42.666667 42.666667 0 1 0-85.333333 0Z"
- p-id="6467"
- ></path>
- <path
- d="M682.666667 554.666667a85.333333 85.333333 0 0 0-85.333334 85.333333v85.333333a85.333333 85.333333 0 1 0 170.666667 0V640a85.333333 85.333333 0 0 0-85.333333-85.333333z m0 42.666666a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 1 1-85.333333 0V640a42.666667 42.666667 0 0 1 42.666667-42.666667z"
- p-id="6468"
- ></path>
- <path
- d="M367.829333 799.701333l90.538667-90.538666L367.786667 618.666667l-30.165334 30.165333 37.76 37.802667H256v42.666666h121.898667l-40.234667 40.234667 30.165333 30.165333z"
- p-id="6469"
- ></path>
- <path
- d="M490.666667 213.333333a85.333333 85.333333 0 0 0-85.333334 85.333334v85.333333a85.333333 85.333333 0 1 0 170.666667 0V298.666667a85.333333 85.333333 0 0 0-85.333333-85.333334z m0 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 1 1-85.333333 0V298.666667a42.666667 42.666667 0 0 1 42.666667-42.666667zM682.666667 213.333333a85.333333 85.333333 0 0 0-85.333334 85.333334v85.333333a85.333333 85.333333 0 1 0 170.666667 0V298.666667a85.333333 85.333333 0 0 0-85.333333-85.333334z m0 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-85.333333 0V298.666667a42.666667 42.666667 0 0 1 42.666667-42.666667z"
- p-id="6470"
- ></path>
- <path
- d="M341.333333 448m-42.666666 0a42.666667 42.666667 0 1 0 85.333333 0 42.666667 42.666667 0 1 0-85.333333 0Z"
- p-id="6471"
- ></path>
- </svg>
- </Icon>
-);
-
-export const ReduceNumIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6336"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M533.333333 448m-42.666666 0a42.666667 42.666667 0 1 0 85.333333 0 42.666667 42.666667 0 1 0-85.333333 0Z"
- p-id="6337"
- ></path>
- <path
- d="M341.333333 789.333333m-42.666666 0a42.666667 42.666667 0 1 0 85.333333 0 42.666667 42.666667 0 1 0-85.333333 0Z"
- p-id="6338"
- ></path>
- <path
- d="M346.496 394.368L256 303.786667 346.496 213.333333l30.165333 30.165334-37.717333 37.802666h119.424v42.666667H336.469333l40.192 40.234667-30.165333 30.165333z"
- p-id="6339"
- ></path>
- <path
- d="M682.666667 213.333333a85.333333 85.333333 0 0 0-85.333334 85.333334v85.333333a85.333333 85.333333 0 1 0 170.666667 0V298.666667a85.333333 85.333333 0 0 0-85.333333-85.333334z m0 42.666667a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-85.333333 0V298.666667a42.666667 42.666667 0 0 1 42.666667-42.666667zM490.666667 554.666667a85.333333 85.333333 0 0 0-85.333334 85.333333v85.333333a85.333333 85.333333 0 1 0 170.666667 0v-85.333333a85.333333 85.333333 0 0 0-85.333333-85.333333z m0 42.666666a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-85.333333 0v-85.333333a42.666667 42.666667 0 0 1 42.666667-42.666667zM682.666667 554.666667a85.333333 85.333333 0 0 0-85.333334 85.333333v85.333333a85.333333 85.333333 0 1 0 170.666667 0v-85.333333a85.333333 85.333333 0 0 0-85.333333-85.333333z m0 42.666666a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-85.333333 0v-85.333333a42.666667 42.666667 0 0 1 42.666667-42.666667z"
- p-id="6340"
- ></path>
- </svg>
- </Icon>
-);
-
-export const PercentIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6209"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M653.525333 213.333333l36.949334 21.333334-320 554.24-36.949334-21.333334L653.525333 213.333333zM682.666667 469.333333c71.68 0 128 67.626667 128 149.333334S754.346667 768 682.666667 768s-128-67.626667-128-149.333333 56.32-149.333333 128-149.333334z m0 42.666667c-46.165333 0-85.333333 46.976-85.333334 106.666667s39.168 106.666667 85.333334 106.666666c46.165333 0 85.333333-46.976 85.333333-106.666666s-39.168-106.666667-85.333333-106.666667zM341.333333 234.666667c71.68 0 128 67.626667 128 149.333333s-56.32 149.333333-128 149.333333S213.333333 465.706667 213.333333 384s56.32-149.333333 128-149.333333z m0 42.666666C295.168 277.333333 256 324.309333 256 384s39.168 106.666667 85.333333 106.666667c46.165333 0 85.333333-46.976 85.333334-106.666667s-39.168-106.666667-85.333334-106.666667z"
- p-id="6210"
- ></path>
- </svg>
- </Icon>
-);
-
-export const MoneyIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6082"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M658.816 256l34.986667 24.490667-124.629334 177.92h119.04v42.666666h-149.333333v85.333334h149.333333v42.666666h-149.333333v128h-42.666667v-128h-149.333333v-42.666666h149.333333v-85.333334h-149.333333v-42.666666h119.04L341.333333 280.490667 376.32 256l141.226667 201.728L658.816 256z"
- p-id="6083"
- ></path>
- </svg>
- </Icon>
-);
-
-export const FxIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5446"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M771.072 391.253333a6.698667 6.698667 0 0 0-0.512-9.514666 6.997333 6.997333 0 0 0-4.48-1.749334h-61.354667c-1.962667 0-3.84 0.853333-5.12 2.346667l-103.893333 122.709333a6.698667 6.698667 0 0 1-11.392-1.621333l-53.674667-119.381333a6.656 6.656 0 0 0-6.144-4.010667H381.866667l0.853333-3.968 6.741333-35.712c8.874667-46.933333 32.085333-68.864 72.533334-68.864 15.658667 0 29.994667 1.450667 41.258666 4.010667l11.861334-56.490667a197.888 197.888 0 0 0-46.464-5.12c-87.296 0-132.224 37.418667-148.650667 124.458667l-7.978667 41.813333H229.632a6.698667 6.698667 0 0 0-6.613333 5.376l-9.130667 43.818667a6.826667 6.826667 0 0 0 6.570667 8.106666h79.786666l-75.264 363.52a6.826667 6.826667 0 0 0 6.570667 8.234667H287.573333c3.242667 0 5.973333-2.346667 6.570667-5.418667l75.861333-366.165333h114.773334l57.685333 117.546667a6.570667 6.570667 0 0 1-1.024 7.381333l-152.746667 171.690667a6.826667 6.826667 0 0 0 5.12 11.264h61.44c2.005333 0 3.882667-0.853333 5.162667-2.389334l104.576-123.989333a6.826667 6.826667 0 0 1 11.392 1.493333l55.594667 120.661334a6.741333 6.741333 0 0 0 6.186666 3.968h54.613334a6.784 6.784 0 0 0 6.101333-9.770667L618.325333 567.466667a6.698667 6.698667 0 0 1 1.066667-7.466667l151.722667-168.661333-0.042667-0.042667z"
- p-id="5447"
- ></path>
- </svg>
- </Icon>
-);
-
-export const AddIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5318"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path d="M213.333333 469.333333h597.333334v85.333334H213.333333z" p-id="5319"></path>
- <path d="M554.666667 213.333333v597.333334h-85.333334V213.333333z" p-id="5320"></path>
- </svg>
- </Icon>
-);
-
-export const ReduceIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5318"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path d="M213.333333 469.333333h597.333334v85.333334H213.333333z" p-id="5319"></path>
- </svg>
- </Icon>
-);
-
-export default {
- AddNumIcon,
- ReduceNumIcon,
- PercentIcon,
- MoneyIcon,
- FxIcon,
- AddIcon,
- ReduceIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/Other/index.tsx b/packages/base-ui/src/Components/Icon/Other/index.tsx
deleted file mode 100644
index 6ee7cf7476..0000000000
--- a/packages/base-ui/src/Components/Icon/Other/index.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const Close = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="logo" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="4224"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M119.808 180.053333l60.330667-60.245333 724.053333 724.053333-60.330667 60.330667z"
- p-id="4225"
- ></path>
- <path
- d="M843.946667 119.808l60.245333 60.330667-724.053333 724.053333-60.330667-60.330667z"
- p-id="4226"
- ></path>
- </svg>
- </Icon>
-);
-export const DropDownIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="dropdown" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="4519"
- width="1em"
- height="1em"
- >
- <path
- d="M149.930667 444.330667l60.330666-60.330667 362.069334 362.069333L512 806.4z"
- fill="#B5B8BD"
- p-id="4520"
- ></path>
- <path
- d="M813.738667 384l60.330666 60.330667L512 806.4l-60.330667-60.330667z"
- fill="#B5B8BD"
- p-id="4521"
- ></path>
- </svg>
- </Icon>
-);
-
-export default { Close, DropDownIcon };
diff --git a/packages/base-ui/src/Components/Icon/Sheet/index.tsx b/packages/base-ui/src/Components/Icon/Sheet/index.tsx
deleted file mode 100644
index d5c5f0cae4..0000000000
--- a/packages/base-ui/src/Components/Icon/Sheet/index.tsx
+++ /dev/null
@@ -1,274 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const CommentIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="7705"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M352 490.666667a32 32 0 1 0 64 0 32 32 0 0 0-64 0z m128 0a32 32 0 1 0 64 0 32 32 0 0 0-64 0z m128 0a32 32 0 1 0 64 0 32 32 0 0 0-64 0z"
- p-id="7706"
- ></path>
- <path
- d="M768 298.666667H256c-23.466667 0-42.666667 19.2-42.666667 42.666666v298.666667c0 23.466667 19.2 42.666667 42.666667 42.666667h106.666667v128l128-128H768c23.466667 0 42.666667-19.2 42.666667-42.666667V341.333333c0-23.466667-19.2-42.666667-42.666667-42.666666z m0 320c0 12.8-8.533333 21.333333-21.333333 21.333333H469.333333l-64 64V640h-128c-12.8 0-21.333333-8.533333-21.333333-21.333333v-256c0-12.8 8.533333-21.333333 21.333333-21.333334h469.333334c12.8 0 21.333333 8.533333 21.333333 21.333334v256z"
- p-id="7707"
- ></path>
- </svg>
- </Icon>
-);
-
-export const FreezeIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5448"
- width="1em"
- height="1em"
- >
- <path d="M256.426667 256.426667h255.317333v553.130666H256.426667z" fill="#B5B8BD" p-id="5449"></path>
- <path
- d="M809.557333 213.930667v595.626666H213.930667V213.930667h595.626666z m-42.538666 42.538666H256.426667v510.549334h510.549333V256.426667z"
- fill="#444D5A"
- p-id="5450"
- ></path>
- <path d="M490.453333 256.426667h42.538667v510.592h-42.538667z" fill="#444D5A" p-id="5451"></path>
- <path d="M256.426667 532.992v-42.538667h510.592v42.538667z" fill="#444D5A" p-id="5452"></path>
- <path
- d="M256.384 226.261333l264.192 264.192-30.122667 30.08-264.192-264.192 30.122667-30.08z m-30.122667 317.184l30.122667-30.122666 264.192 264.192-30.122667 30.08-264.192-264.149334z"
- fill="#444D5A"
- p-id="5453"
- ></path>
- </svg>
- </Icon>
-);
-
-export const conditionalFormatIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6039"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M810.666667 213.333333v597.333334H213.333333V213.333333h597.333334z m-42.666667 320h-106.666667V768H768v-234.666667z m-405.376 0h-106.666667V768h106.666667v-234.666667z m256.042667 86.784L445.482667 768H618.666667v-147.882667z m0-162.346666l-213.376 179.968v108.885333l213.376-179.072v-109.781333z m0-163.669334l-213.333334 179.029334v108.885333l213.333334-179.072V294.101333zM768 256h-103.936l-2.730667 2.304V490.666667H768V256zM362.666667 256H256v234.666667h106.666667V256z m235.008 0H405.333333v161.408L597.674667 256z"
- p-id="6040"
- ></path>
- </svg>
- </Icon>
-);
-
-export const DivideIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5501"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M544.896 389.717333h110.762667v46.933334c6.698667 6.613333 15.658667 6.613333 22.357333 0l84.949333-55.125334c6.698667-4.437333 6.698667-13.226667 0-19.84l-84.906666-57.386666c-6.741333-6.613333-15.701333-6.613333-22.4 0v41.258666h-133.12l-89.429334 154.453334H343.722667v0.128h-22.698667c-11.178667 0-22.357333 11.050667-22.357333 22.058666 0 11.050667 11.178667 22.058667 22.357333 22.058667h134.101333l-0.085333-0.128h0.426667l89.386666-154.453333h0.042667z m133.12 198.954667a15.061333 15.061333 0 0 0-22.314667 0v43.690667h-66.133333l-67.029333-110.293334-22.357334 44.117334s62.592 103.68 67.072 110.293333h88.448V721.066667a15.061333 15.061333 0 0 0 22.314667 0l84.949333-55.168c6.698667-4.437333 6.698667-13.226667 0-19.84l-84.906666-57.386667h-0.042667z"
- p-id="5502"
- ></path>
- </svg>
- </Icon>
-);
-
-export const ReplaceIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="4859"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M768 430.933333H280.405333l-4.394666-0.554666c-5.461333-0.853333-6.570667-1.749333-12.885334-6.528l-2.986666-5.376c-6.4-11.946667-5.376-13.738667 2.986666-28.885334L440.618667 213.333333l34.218666 34.048-136.362666 135.424H768v48.170667z m-7.594667 163.242667L585.472 768l-34.261333-34.048 136.362666-135.424H258.048v-48.170667h484.096c10.453333 0 19.882667 6.272 23.893333 15.872a25.6 25.6 0 0 1-5.632 27.989334z"
- p-id="4860"
- ></path>
- </svg>
- </Icon>
-);
-
-export const SearchIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="4732"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M664.832 634.624l128.554667 128.597333a21.333333 21.333333 0 1 1-30.165334 30.165334l-128.597333-128.597334a256 256 0 1 1 30.165333-30.165333zM469.333333 682.666667a213.333333 213.333333 0 1 0 0-426.666667 213.333333 213.333333 0 0 0 0 426.666667z"
- p-id="4733"
- ></path>
- </svg>
- </Icon>
-);
-
-export const LockIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="4605"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M810.666667 213.333333v597.333334H213.333333V213.333333h597.333334zM341.333333 383.872H256V768h85.333333V383.872z m426.666667 0H383.872V768H768V383.872z m-149.333333 21.461333a64 64 0 0 1 63.701333 57.856L682.666667 469.333333v64h42.666666v213.333334h-298.666666v-213.333334h42.666666V469.333333a64 64 0 0 1 57.856-63.701333L533.333333 405.333333h85.333334z m64 170.666667h-213.333334v128h213.333334v-128z m-106.666667 21.333333a21.333333 21.333333 0 0 1 21.333333 21.333334v42.666666a21.333333 21.333333 0 1 1-42.666666 0v-42.666666a21.333333 21.333333 0 0 1 21.333333-21.333334z m42.666667-149.333333h-85.333334a21.333333 21.333333 0 0 0-20.992 17.493333L512 469.333333v64h128V469.333333a21.333333 21.333333 0 0 0-13.909333-20.010666l-3.584-0.981334-3.84-0.341333zM768 256H383.872v85.290667L768 341.333333V256zM341.333333 256H256v85.333333l85.333333-0.042666V256z"
- p-id="4606"
- ></path>
- </svg>
- </Icon>
-);
-
-export const LocationIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5579"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M618.666667 723.584V661.333333a21.333333 21.333333 0 1 1 42.666666 0v62.250667a128.128 128.128 0 0 0 104.917334-104.917333H704a21.333333 21.333333 0 1 1 0-42.666667h62.250667a128.128 128.128 0 0 0-104.917334-104.874667V533.333333a21.333333 21.333333 0 1 1-42.666666 0v-62.208a128.085333 128.085333 0 0 0-104.874667 104.874667H576a21.333333 21.333333 0 0 1 0 42.666667h-62.208a128.128 128.128 0 0 0 104.874667 104.917333z m149.333333-296.96a213.12 213.12 0 0 0-42.666667-24.874667V277.333333a21.333333 21.333333 0 0 0-21.333333-21.333333h-426.666667a21.333333 21.333333 0 0 0-21.333333 21.333333v341.333334a21.333333 21.333333 0 0 0 21.333333 21.333333h153.6c2.986667 14.848 7.594667 29.098667 13.482667 42.666667H256a42.666667 42.666667 0 0 1-42.666667-42.666667V256a42.666667 42.666667 0 0 1 42.666667-42.666667h469.333333a42.666667 42.666667 0 0 1 42.666667 42.666667v170.666667zM640 768a170.666667 170.666667 0 1 1 0-341.333333 170.666667 170.666667 0 0 1 0 341.333333z"
- p-id="5580"
- ></path>
- </svg>
- </Icon>
-);
-
-export const PageIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5318"
- width="1em"
- height="1em"
- >
- <path
- d="M810.666667 213.333333v597.333334H213.333333V213.333333h597.333334z m-42.666667 42.666667H256v512h512V256z"
- p-id="5319"
- ></path>
- <path d="M256 512h256v42.666667H256zM554.666667 256v298.666667h-42.666667V256z" p-id="5320"></path>
- <path d="M405.333333 256v298.666667h-42.666666V256z" p-id="5321"></path>
- </svg>
- </Icon>
-);
-
-export const RegularIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5447"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path d="M256 256h554.666667v42.666667H256z" p-id="5448"></path>
- <path
- d="M298.666667 256v554.666667H256V256zM810.666667 256v554.666667h-42.666667V256zM469.333333 256v554.666667h-42.666666V256zM640 256v554.666667h-42.666667V256z"
- p-id="5449"
- ></path>
- <path
- d="M256 426.666667h554.666667v42.666666H256zM256 597.333333h554.666667v42.666667H256zM256 768h554.666667v42.666667H256z"
- p-id="5450"
- ></path>
- </svg>
- </Icon>
-);
-
-export const LayoutIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5576"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M810.666667 213.333333v42.666667h-170.709334L640 768h170.666667v42.666667h-213.333334V213.333333h213.333334z m-384 0l-0.042667 554.666667H426.666667v42.666667H213.333333v-42.666667h170.624L384 256H213.333333V213.333333h213.333334z m106.666666 512v85.333334h-42.666666v-85.333334h42.666666z m0-170.666666v85.333333h-42.666666v-85.333333h42.666666z m0-170.666667v85.333333h-42.666666V384h42.666666z m0-170.666667v85.333334h-42.666666V213.333333h42.666666z"
- p-id="5577"
- ></path>
- </svg>
- </Icon>
-);
-
-export const TableIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="6094"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M913.988 173.68H110.05c-25.671 0-46.676 21.007-46.676 46.679v665.897c0 25.651 20.987 46.638 46.637 46.638H913.95c25.671 0 46.676-21.004 46.676-46.676V220.32c0-25.651-20.988-46.64-46.638-46.64zM339.796 896.142c0 12.016-9.34 21.353-21.305 21.353H104.864c-11.965 0-21.303-9.337-21.303-21.353V768.023c0-12.014 9.338-21.353 21.303-21.353h213.627c11.965 0 21.305 9.34 21.305 21.353v128.118z m0-224.995c0 12.015-9.34 21.353-21.305 21.353H104.864c-11.965 0-21.303-9.338-21.303-21.353V543.029c0-12.013 9.338-21.354 21.303-21.354h213.627c11.965 0 21.305 9.34 21.305 21.354v128.117z m0-223.432c0 12.016-9.34 21.353-21.305 21.353H104.864c-11.965 0-21.303-9.337-21.303-21.353V319.596c0-12.013 9.338-21.353 21.303-21.353h213.627c11.965 0 21.305 9.34 21.305 21.353v128.118zM639.269 896.14c0 12.016-9.34 21.353-21.306 21.353H404.337c-11.966 0-21.305-9.337-21.305-21.353V768.023c0-12.014 9.34-21.353 21.305-21.353h213.626c11.966 0 21.306 9.34 21.306 21.353v128.118z m0-224.995c0 12.015-9.34 21.353-21.306 21.353H404.337c-11.966 0-21.305-9.338-21.305-21.353V543.029c0-12.013 9.34-21.354 21.305-21.354h213.626c11.966 0 21.306 9.34 21.306 21.354v128.117z m0-223.432c0 12.016-9.34 21.353-21.306 21.353H404.337c-11.966 0-21.305-9.337-21.305-21.353V319.596c0-12.013 9.34-21.353 21.305-21.353h213.626c11.966 0 21.306 9.34 21.306 21.353v128.118zM941.864 896.14c0 12.016-9.34 21.353-21.304 21.353H706.933c-11.966 0-21.304-9.337-21.304-21.353V768.023c0-12.014 9.338-21.353 21.304-21.353h213.626c11.966 0 21.304 9.34 21.304 21.353v128.118z m0-224.995c0 12.015-9.34 21.353-21.304 21.353H706.933c-11.966 0-21.304-9.338-21.304-21.353V543.029c0-12.013 9.338-21.354 21.304-21.354h213.626c11.966 0 21.304 9.34 21.304 21.354v128.117z m0-223.432c0 12.016-9.34 21.353-21.304 21.353H706.933c-11.966 0-21.304-9.337-21.304-21.353V319.596c0-12.013 9.338-21.353 21.304-21.353h213.626c11.966 0 21.304 9.34 21.304 21.353v128.118z"
- p-id="6095"
- ></path>
- </svg>
- </Icon>
-);
-
-export default {
- CommentIcon,
- FreezeIcon,
- conditionalFormatIcon,
- DivideIcon,
- ReplaceIcon,
- SearchIcon,
- LockIcon,
- LocationIcon,
- PageIcon,
- RegularIcon,
- LayoutIcon,
- TableIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/Style/index.module.less b/packages/base-ui/src/Components/Icon/Style/index.module.less
deleted file mode 100644
index 42ca401827..0000000000
--- a/packages/base-ui/src/Components/Icon/Style/index.module.less
+++ /dev/null
@@ -1,47 +0,0 @@
-.icon {
- display: inline-block;
- color: inherit;
- font-style: normal;
- line-height: 0;
- text-align: center;
- text-transform: none;
- vertical-align: middle;
- text-rendering: optimizeLegibility;
-}
-
-.icon>* {
- line-height: 1;
-}
-
-.icon svg {
- display: inline-block;
-}
-
-.icon::before {
- display: none;
-}
-
-.icon .icon-icon {
- display: block;
-}
-
-.icon-spin::before,
-.icon-spin {
- display: inline-block;
- -webkit-animation: loadingCircle 1s infinite linear;
- animation: loadingCircle 1s infinite linear;
-}
-
-@-webkit-keyframes loadingCircle {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
-
-@keyframes loadingCircle {
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
\ No newline at end of file
diff --git a/packages/base-ui/src/Components/Icon/Text/index.tsx b/packages/base-ui/src/Components/Icon/Text/index.tsx
deleted file mode 100644
index 30f7da0da3..0000000000
--- a/packages/base-ui/src/Components/Icon/Text/index.tsx
+++ /dev/null
@@ -1,61 +0,0 @@
-import {
- Autowrap24,
- LeftRotationFortyFiveDegrees24,
- LeftRotationNinetyDegrees24,
- Overflow24,
- RightRotationFortyFiveDegrees24,
- RightRotationNinetyDegrees24,
- Shortcut24,
- TextDown24,
- TextHorizontallyCentered24,
- TextLeft24,
- TextRight24,
- TextRotation24,
- TextUp24,
- TextVertical24,
- TextVerticallyCentered24,
- Truncation24,
-} from '@univerjs/icons';
-
-import { BaseIconProps } from '../AddIcon';
-
-export const LeftAlignIcon = (props: BaseIconProps) => <TextLeft24 />;
-
-export const CenterAlignIcon = (props: BaseIconProps) => <TextHorizontallyCentered24 />;
-
-export const RightAlignIcon = (props: BaseIconProps) => <TextRight24 />;
-
-export const TopVerticalIcon = (props: BaseIconProps) => <TextUp24 />;
-
-export const CenterVerticalIcon = (props: BaseIconProps) => <TextVerticallyCentered24 />;
-
-export const BottomVerticalIcon = (props: BaseIconProps) => <TextDown24 />;
-
-export const TextRotateIcon = (props: BaseIconProps) => <TextRotation24 />;
-export const TextRotateAngleUpIcon = (props: BaseIconProps) => <LeftRotationFortyFiveDegrees24 />;
-export const TextRotateAngleDownIcon = (props: BaseIconProps) => <RightRotationFortyFiveDegrees24 />;
-export const TextRotateVerticalIcon = (props: BaseIconProps) => <TextVertical24 />;
-export const TextRotateRotationUpIcon = (props: BaseIconProps) => <LeftRotationNinetyDegrees24 />;
-export const TextRotateRotationDownIcon = (props: BaseIconProps) => <RightRotationNinetyDegrees24 />;
-
-export const BrIcon = (props: BaseIconProps) => <Autowrap24 />;
-
-export const OverflowIcon = (props: BaseIconProps) => <Overflow24 />;
-
-export const CutIcon = (props: BaseIconProps) => <Truncation24 />;
-
-export const ShortcutIcon = (props: BaseIconProps) => <Shortcut24 />;
-
-export default {
- LeftAlignIcon,
- CenterAlignIcon,
- RightAlignIcon,
- TopVerticalIcon,
- CenterVerticalIcon,
- BottomVerticalIcon,
- TextRotateIcon,
- TextRotateAngleUpIcon,
- BrIcon,
- OverflowIcon,
- CutIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/View/index.tsx b/packages/base-ui/src/Components/Icon/View/index.tsx
deleted file mode 100644
index c2356f6233..0000000000
--- a/packages/base-ui/src/Components/Icon/View/index.tsx
+++ /dev/null
@@ -1,120 +0,0 @@
-import { BaseIconProps, Icon } from '../AddIcon';
-
-export const PrintIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="4476"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M743.125333 341.333333c35.669333 0 64.384 28.885333 67.285334 65.024l0.256 6.101334V682.666667h-149.76v-42.666667H768V412.458667c0-14.592-9.514667-26.154667-21.333333-28.16L743.168 384H280.874667c-12.16 0-22.784 10.24-24.576 24.149333l-0.298667 4.266667V640h127.36v42.666667H213.333333V412.458667c0-36.906667 26.794667-67.712 61.653334-70.826667L280.874667 341.333333h462.250666z"
- p-id="4477"
- ></path>
- <path
- d="M682.666667 213.333333H341.333333v170.666667h341.333334V213.333333z m-42.666667 42.666667v85.333333H384V256h256zM682.666667 554.666667v256H341.333333v-256h341.333334z m-42.666667 42.666666H384v170.666667h256v-170.666667z"
- p-id="4478"
- ></path>
- <path d="M341.333333 426.666667h128v42.666666H341.333333z" p-id="4479"></path>
- </svg>
- </Icon>
-);
-
-export const ScreenshotIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5374"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M590.848 567.04l-265.386667-306.645333a28.245333 28.245333 0 0 1 3.2-40.149334 29.141333 29.141333 0 0 1 40.789334 3.242667l267.946666 309.674667a124.885333 124.885333 0 0 1 144.213334 34.474666 125.141333 125.141333 0 0 1-16.042667 176.256 125.141333 125.141333 0 0 1-176.341333-14.805333 125.013333 125.013333 0 0 1 1.621333-162.048z m40.149333 18.133333c-18.602667 15.701333-29.312 38.826667-29.312 63.189334 0 45.909333 37.461333 83.157333 83.754667 83.157333a83.413333 83.413333 0 0 0 83.712-83.157333 83.413333 83.413333 0 0 0-83.712-83.114667c-15.189333 0-29.44 4.010667-41.685333 11.008a28.458667 28.458667 0 0 1-12.757334 8.96v-0.042667z m-150.698666-52.565333l-38.229334 44.16a29.653333 29.653333 0 0 1-0.768 0.810667 124.885333 124.885333 0 0 1-6.528 151.509333 125.141333 125.141333 0 0 1-176.341333 14.805333C205.226667 699.306667 198.101333 620.373333 242.346667 567.637333a124.928 124.928 0 0 1 156.416-28.544l38.528-44.501333c9.514667 17.237333 24.746667 30.634667 43.008 37.973333z m105.6-122.026667a85.632 85.632 0 0 0-43.818667-37.12l129.749333-150.016a29.141333 29.141333 0 0 1 40.789334-3.242666 28.245333 28.245333 0 0 1 3.2 40.149333l-129.92 150.186667z m-300.8 301.44c35.413333 29.738667 88.064 25.301333 117.546666-9.813333a83.413333 83.413333 0 0 0-10.666666-117.546667 83.456 83.456 0 0 0-117.589334 9.856 83.456 83.456 0 0 0 10.709334 117.504z"
- p-id="5375"
- ></path>
- </svg>
- </Icon>
-);
-
-export const PrintAreaIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5706"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M727.04 706.218667a11.946667 11.946667 0 0 1 8.704 3.754666 13.312 13.312 0 0 1 3.626667 9.130667V810.666667H583.253333v-91.52c0-3.413333 1.28-6.741333 3.626667-9.173334a11.946667 11.946667 0 0 1 8.661333-3.754666zM362.666667 725.333333v42.666667h-128v-42.666667h128z m128 0v42.666667h-42.666667v-42.666667h42.666667z m301.696-143.957333a18.773333 18.773333 0 0 1 18.304 19.2v117.205333c0 10.581333-8.277333 19.2-18.346667 19.2h-28.458667v-11.434666c-0.128-21.333333-16.554667-38.570667-36.778666-38.570667h-131.498667c-20.224 0-36.693333 17.237333-36.778667 38.570667v11.477333h-28.458666a18.858667 18.858667 0 0 1-18.346667-19.2v-117.248c0-10.581333 8.277333-19.2 18.346667-19.2zM256 533.333333v128H213.333333v-128h42.666667z m411.477333 85.845334H567.04a12.586667 12.586667 0 0 0-12.245333 12.8c0.042667 7.125333 5.546667 12.885333 12.245333 12.842666h100.394667a12.586667 12.586667 0 0 0 12.202666-12.8c0-7.082667-5.504-12.8-12.202666-12.8zM723.072 512a14.506667 14.506667 0 0 1 14.165333 14.805333v35.84H585.386667v-35.84a14.506667 14.506667 0 0 1 14.165333-14.805333zM768 362.666667v128h-42.666667v-128h42.666667z m-512-42.666667v128H213.333333v-128h42.666667zM768 213.333333v64h-42.666667V256h-64V213.333333H768zM362.666667 213.333333v42.666667H256v21.333333H213.333333V213.333333h149.333334z m213.333333 0v42.666667h-128V213.333333h128z"
- p-id="5707"
- ></path>
- </svg>
- </Icon>
-);
-
-export const PrintTitleIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5833"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M727.04 706.218667a11.946667 11.946667 0 0 1 8.704 3.754666 13.312 13.312 0 0 1 3.626667 9.130667V810.666667H583.253333v-91.52c0-3.413333 1.28-6.741333 3.626667-9.173334a11.946667 11.946667 0 0 1 8.661333-3.754666zM768 213.333333v277.333334h-42.666667V256H256v469.333333h234.666667v42.666667H213.333333V213.333333h554.666667z m24.362667 368.042667a18.773333 18.773333 0 0 1 18.304 19.2v117.205333c0 10.581333-8.277333 19.2-18.346667 19.2h-28.458667v-11.434666c-0.128-21.333333-16.554667-38.570667-36.778666-38.570667h-131.498667c-20.224 0-36.693333 17.237333-36.778667 38.570667v11.477333h-28.458666a18.858667 18.858667 0 0 1-18.346667-19.2v-117.248c0-10.581333 8.277333-19.2 18.346667-19.2z m-124.885334 37.802667H567.04a12.586667 12.586667 0 0 0-12.245333 12.8c0.042667 7.125333 5.546667 12.885333 12.245333 12.842666h100.394667a12.586667 12.586667 0 0 0 12.202666-12.8c0-7.082667-5.504-12.8-12.202666-12.8zM723.072 512a14.506667 14.506667 0 0 1 14.165333 14.805333v35.84H585.386667v-35.84a14.506667 14.506667 0 0 1 14.165333-14.805333z"
- p-id="5834"
- ></path>
- <path
- d="M341.333333 341.333333h298.666667v42.666667H341.333333zM341.333333 426.666667h170.666667v42.666666H341.333333z"
- fill="#444D5A"
- p-id="5835"
- ></path>
- </svg>
- </Icon>
-);
-
-export const ImageIcon = (props: BaseIconProps) => (
- <Icon spin={props.spin} rotate={props.rotate} name="foward" style={props.style}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5815"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M810.666667 213.333333v597.333334H213.333333V213.333333h597.333334z m-42.666667 263.381334l-233.984 190.890666-118.613333-98.218666L256 704.64V768h512v-291.285333zM768 256H256v392.704l159.146667-134.954667 119.04 98.602667L768 421.674667V256zM384 341.333333a42.666667 42.666667 0 1 1 0 85.333334 42.666667 42.666667 0 0 1 0-85.333334z"
- fill="#444D5A"
- p-id="5816"
- ></path>
- </svg>
- </Icon>
-);
-
-export default {
- PrintIcon,
- ScreenshotIcon,
- PrintAreaIcon,
- PrintTitleIcon,
- ImageIcon,
-};
diff --git a/packages/base-ui/src/Components/Icon/icon-zh.md b/packages/base-ui/src/Components/Icon/icon-zh.md
deleted file mode 100644
index 57d66d688d..0000000000
--- a/packages/base-ui/src/Components/Icon/icon-zh.md
+++ /dev/null
@@ -1,34 +0,0 @@
----
-category: Components
-type: 通用
-title: Icon
-subtitle: 图标
-cover: ''
----
-
-## 介绍
-
-图标集组件
-
-icon 图标以 svg 形式展示,统一导出
-
-## API
-
-属性说明如下:
-
-| 属性 | 说明 | 类型 | 默认值 |
-
-| spin | 是否一直旋转 | boolean | false |
-| rotate | 旋转角度 | number | - |
-| style | 样式 | cssStyle | - |
-| className | 父容器类名 | string | - |
-
-## 案例
-
-```jsx
-import { Icon } from '@univerjs/style-univer';
-
-<Icon.Text.TopVerticalIcon />
-<Icon.Format.NextIcon rotate={90} />
-
-```
diff --git a/packages/base-ui/src/Components/Icon/icon.md b/packages/base-ui/src/Components/Icon/icon.md
deleted file mode 100644
index 59fa7cbfb3..0000000000
--- a/packages/base-ui/src/Components/Icon/icon.md
+++ /dev/null
@@ -1,33 +0,0 @@
----
-category: Components
-type: General
-title: Icon
-cover: ''
----
-
-## Introduce
-
-Icon Set Component
-
-ICONS are displayed in SVG format and exported uniformly
-
-## API
-
-Property Introduction:
-
-| Property | Description | Type | Default |
-
-| spin | always spin | boolean | false |
-| rotate | rotate deg | number | - |
-| style | css style | cssStyle | - |
-| className | className | string | - |
-
-## 案例
-
-```jsx
-import { Icon } from '@univerjs/style-univer';
-
-<Icon.Text.TopVerticalIcon />
-<Icon.Format.NextIcon rotate={90} />
-
-```
diff --git a/packages/base-ui/src/Components/Icon/index.ts b/packages/base-ui/src/Components/Icon/index.ts
deleted file mode 100644
index fd500df2fd..0000000000
--- a/packages/base-ui/src/Components/Icon/index.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * 单元格颜色
- * 单元格边框
- */
-import Cell from './Cell';
-/**
- * 数据透视表
- * 求和
- * 排序和筛选
- * 数据验证
- */
-import Data from './Data';
-/**
- * 关闭
- */
-import { DeleteIcon } from './Delete';
-/**
- * 粗体
- * 斜体
- * 删除线
- * 下划线
- * 文本颜色
- */
-import Font from './Font';
-/**
- * 撤销
- * 重做
- * 格式刷
- * 上下左右
- */
-import Format from './Format';
-/**
- * 图片
- * 链接
- * 图表
- */
-import Insert from './Insert';
-import { LoadingIcon } from './Loading';
-import { LogoIcon } from './Logo';
-/**
- * 增加小数位数
- * 减少小数位数
- * 百分比格式
- * 货币格式
- */
-import Math from './Math';
-import Other from './Other';
-/**
- * 批注
- * 冻结
- * 条件格式
- * 分列
- * 保护工作表内容
- * 搜索
- */
-import Sheet from './Sheet';
-/**
- * 水平对齐
- * 垂直对齐
- * 文本换行
- * 文本旋转
- */
-import Text from './Text';
-/**
- * 截屏
- * 打印
- * 搜索
- */
-import View from './View';
-
-export { Cell, Data, DeleteIcon, Font, Format, Insert, LoadingIcon, LogoIcon, Math, Other, Sheet, Text, View };
-export * from './Cell';
-export * from './Font';
-export * from './Format';
-export * from './Math';
-export * from './Sheet';
-export * from './Text';
diff --git a/packages/base-ui/src/Components/Icon/test/index.test.tsx b/packages/base-ui/src/Components/Icon/test/index.test.tsx
deleted file mode 100644
index 3cf1c5dc36..0000000000
--- a/packages/base-ui/src/Components/Icon/test/index.test.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import { render } from '@testing-library/react';
-import { describe, expect, test } from 'vitest';
-
-import { Icon } from '../AddIcon';
-
-describe('icon', () => {
- test('icon', () => {
- const { container } = render(
- <Icon spin rotate={90}>
- <svg
- className="icon"
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="5565"
- width="1em"
- height="1em"
- fill="currentColor"
- >
- <path
- d="M287.018667 419.328h310.997333v42.666667H286.72l84.48 84.437333a21.333333 21.333333 0 1 1-30.208 30.165333l-120.746667-120.704a21.248 21.248 0 0 1 0-30.165333l120.746667-120.661333a21.333333 21.333333 0 0 1 30.165333 30.165333L287.018667 419.328z m524.330666 213.333333a213.333333 213.333333 0 0 0-213.333333-213.333333v42.666667a170.666667 170.666667 0 0 1 170.666667 170.666666h42.666666z m0 0h-42.666666v64a21.333333 21.333333 0 1 0 42.666666 0v-64z"
- p-id="5566"
- />
- </svg>
- </Icon>
- );
- expect(container);
- });
-});
diff --git a/packages/base-ui/src/Components/InputNumber/InputNumber.tsx b/packages/base-ui/src/Components/InputNumber/InputNumber.tsx
index 4dfec47e89..74eab7fef4 100644
--- a/packages/base-ui/src/Components/InputNumber/InputNumber.tsx
+++ b/packages/base-ui/src/Components/InputNumber/InputNumber.tsx
@@ -1,4 +1,3 @@
-import { DropdownPromptSmall8 } from '@univerjs/icons';
import React, { useRef, useState } from 'react';
import { joinClassNames } from '../../Utils/util';
@@ -153,14 +152,10 @@ export const InputNumber: React.FC<BaseInputNumberProps> = ({
<div className={styles.inputButtons} style={{ display: disabled ? 'none' : 'flex' }}>
<button onClick={handleIncrement} className={styles.inputButton}>
- <span>
- <DropdownPromptSmall8 style={{ transform: 'rotateZ(180deg)' }} />
- </span>
+ <span>+</span>
</button>
<button onClick={handleDecrement} className={styles.inputButton}>
- <span>
- <DropdownPromptSmall8 />
- </span>
+ <span>-</span>
</button>
</div>
</div>
diff --git a/packages/base-ui/src/Components/Menu/Menu2.tsx b/packages/base-ui/src/Components/Menu/Menu2.tsx
index 70a400ce4e..cbd1a4a2a3 100644
--- a/packages/base-ui/src/Components/Menu/Menu2.tsx
+++ b/packages/base-ui/src/Components/Menu/Menu2.tsx
@@ -1,5 +1,5 @@
import { isRealNum } from '@univerjs/core';
-import { More12 } from '@univerjs/icons';
+import { MoreSingle } from '@univerjs/icons';
import { useDependency } from '@wendellhu/redi/react-bindings';
import RcMenu, { MenuItem, SubMenu } from 'rc-menu';
import React, { useState } from 'react';
@@ -233,7 +233,9 @@ export function Menu2Item({ menuItem, onClick }: IMenu2ItemProps) {
{item.shortcut && ` (${item.shortcut})`}
</>
}
- expandIcon={<More12 style={{ color: styles.textColorSecondary, fontSize: styles.fontSizeXs }} />}
+ expandIcon={
+ <MoreSingle style={{ color: styles.textColorSecondary, fontSize: styles.fontSizeXs }} />
+ }
>
{selections.length > 0 && (
<Menu2OptionsWrapper
@@ -290,7 +292,7 @@ export function Menu2Item({ menuItem, onClick }: IMenu2ItemProps) {
/>
</>
}
- expandIcon={<More12 style={{ color: styles.textColorSecondary, fontSize: styles.fontSizeXs }} />}
+ expandIcon={<MoreSingle style={{ color: styles.textColorSecondary, fontSize: styles.fontSizeXs }} />}
>
{menuItems.length && <Menu2Wrapper menuType={item.id} onOptionSelect={onClick} />}
</SubMenu>
diff --git a/packages/base-ui/src/Components/Menu/index.module.less b/packages/base-ui/src/Components/Menu/index.module.less
index b34655d7ba..c7e72613e7 100644
--- a/packages/base-ui/src/Components/Menu/index.module.less
+++ b/packages/base-ui/src/Components/Menu/index.module.less
@@ -135,13 +135,6 @@
color: #2baee9;
}
}
-
- &:after {
- content: '\20';
- display: block;
- height: 0;
- clear: both;
- }
}
&-vertical,
@@ -151,6 +144,7 @@
& > .menu2-item,
& > .menu2-submenu > .menu2-submenu-title {
width: 100%;
+ min-height: 28px;
padding: var(--padding-xs) var(--padding-sm);
box-sizing: border-box;
display: flex;
@@ -168,9 +162,6 @@
position: absolute;
right: 16px;
line-height: 1.5em;
- &:before {
- content: '\f0da';
- }
}
}
diff --git a/packages/base-ui/src/Components/Modal/Modal.tsx b/packages/base-ui/src/Components/Modal/Modal.tsx
index 6bb8b4bb88..c8911620a8 100644
--- a/packages/base-ui/src/Components/Modal/Modal.tsx
+++ b/packages/base-ui/src/Components/Modal/Modal.tsx
@@ -88,7 +88,7 @@ import React, { useEffect, useState } from 'react';
import { CustomLabel } from '../CustomLabel';
import { Drag } from '../Drag';
-import * as Icon from '../Icon';
+// import * as Icon from '../Icon';
import styles from './index.module.less';
export interface BaseModalProps {
@@ -194,7 +194,7 @@ export function Modal(props: BaseModalProps) {
showModal(false);
}}
>
- <Icon.Other.Close></Icon.Other.Close>
+ {/* <Icon.Other.Close></Icon.Other.Close> */}
</span>
</div>
<div className={styles.modalBody}>{children}</div>
diff --git a/packages/base-ui/src/Components/Notification/Notification.tsx b/packages/base-ui/src/Components/Notification/Notification.tsx
index 48918ceae5..35e5afe2e6 100644
--- a/packages/base-ui/src/Components/Notification/Notification.tsx
+++ b/packages/base-ui/src/Components/Notification/Notification.tsx
@@ -1,4 +1,4 @@
-import { Close16, Fail16, Success16, Warning16 } from '@univerjs/icons';
+import { CloseSingle, ErrorSingle, SuccessSingle, WarningSingle } from '@univerjs/icons';
import { useNotification } from 'rc-notification';
import { Placement } from 'rc-notification/es/interface';
import { useEffect, useRef } from 'react';
@@ -11,10 +11,10 @@ import styles from './index.module.less';
export type NotificationType = 'success' | 'info' | 'warning' | 'error';
const iconMap = {
- success: <Success16 className={styles.notificationIconSuccess} />,
- info: <Warning16 className={styles.notificationIconInfo} />,
- warning: <Warning16 className={styles.notificationIconWarning} />,
- error: <Fail16 className={styles.notificationIconError} />,
+ success: <SuccessSingle className={styles.notificationIconSuccess} />,
+ info: <WarningSingle className={styles.notificationIconInfo} />,
+ warning: <WarningSingle className={styles.notificationIconWarning} />,
+ error: <ErrorSingle className={styles.notificationIconError} />,
};
export interface INotificationMethodOptions {
@@ -87,7 +87,7 @@ export function Notification(props: INotificationProps) {
const [api, contextHolder] = useNotification({
prefixCls: styles.notification,
maxCount,
- closeIcon: <Close16 />,
+ closeIcon: <CloseSingle />,
motion: {
motionName: styles.notificationFade,
motionAppear: true,
diff --git a/packages/base-ui/src/Components/Select/Select.tsx b/packages/base-ui/src/Components/Select/Select.tsx
index 06db346280..71777daa9b 100644
--- a/packages/base-ui/src/Components/Select/Select.tsx
+++ b/packages/base-ui/src/Components/Select/Select.tsx
@@ -1,4 +1,4 @@
-import { Dropdown12 } from '@univerjs/icons';
+import { MoreDownSingle } from '@univerjs/icons';
import React from 'react';
import { ICustomComponent } from '../../Common';
@@ -120,7 +120,7 @@ export function Select(props: BaseSelectProps) {
}}
/>
<div className={styles.selectDropIcon}>
- <Dropdown12 />
+ <MoreDownSingle />
</div>
</div>
</Dropdown2>
diff --git a/packages/base-ui/src/Components/SiderModal/SiderModal.tsx b/packages/base-ui/src/Components/SiderModal/SiderModal.tsx
index 9e265286b1..90b8737a9b 100644
--- a/packages/base-ui/src/Components/SiderModal/SiderModal.tsx
+++ b/packages/base-ui/src/Components/SiderModal/SiderModal.tsx
@@ -1,7 +1,7 @@
import { RefObject, useContext, useEffect, useState } from 'react';
import { AppContext } from '../../Common/AppContext';
-import { Icon } from '../index';
+// import { Icon } from '../index';
// class SiderModal extends Component<BaseSiderModalProps, IState> {
// static override contextType = AppContext;
@@ -113,7 +113,7 @@ export function SiderModal(props: BaseSiderModalProps) {
<div className="siderModalHeader">
<h3 className="siderModalTitle">{props.title}</h3>
<span className="siderModalClose" onClick={close}>
- <Icon.Other.Close></Icon.Other.Close>
+ {/* <Icon.Other.Close></Icon.Other.Close> */}
</span>
</div>
<div className="siderModalBody">
diff --git a/packages/base-ui/src/Components/Slider/Slider.tsx b/packages/base-ui/src/Components/Slider/Slider.tsx
index 383dc8d255..7cfa378c6a 100644
--- a/packages/base-ui/src/Components/Slider/Slider.tsx
+++ b/packages/base-ui/src/Components/Slider/Slider.tsx
@@ -1,6 +1,6 @@
/* eslint-disable no-magic-numbers */
import { Button, Tooltip } from '@univerjs/design';
-import { AddWorksheet28, ReduceProportion24 } from '@univerjs/icons';
+import { IncreaseSingle, ReduceSingle } from '@univerjs/icons';
import { useMemo, useRef } from 'react';
import { joinClassNames } from '../../Utils';
@@ -13,7 +13,7 @@ import styles from './index.module.less';
* 2. Localization '恢复至 100%'
*/
-interface IBaseSliderProps {
+interface ISliderProps {
/** The value of slider. When range is false, use number, otherwise, use [number, number] */
value: number;
@@ -43,7 +43,7 @@ interface IBaseSliderProps {
/**
* Slider Component
*/
-export function Slider(props: IBaseSliderProps) {
+export function Slider(props: ISliderProps) {
const { value, min = 0, max = 400, resetPoint = 100, shortcuts, onChange } = props;
const sliderInnerRailRef = useRef<HTMLDivElement>(null);
@@ -121,7 +121,7 @@ export function Slider(props: IBaseSliderProps) {
return (
<div className={styles.slider}>
<Button type="text" size="small" disabled={value <= min} onClick={() => handleStep(-10)}>
- <ReduceProportion24 />
+ <ReduceSingle />
</Button>
<div className={styles.sliderRail}>
@@ -142,7 +142,7 @@ export function Slider(props: IBaseSliderProps) {
</div>
<Button type="text" size="small" disabled={value >= max} onClick={() => handleStep(10)}>
- <AddWorksheet28 />
+ <IncreaseSingle />
</Button>
<Dropdown2
diff --git a/packages/base-ui/src/Components/index.ts b/packages/base-ui/src/Components/index.ts
index daf5764bdc..e1296df0b4 100644
--- a/packages/base-ui/src/Components/index.ts
+++ b/packages/base-ui/src/Components/index.ts
@@ -1,6 +1,3 @@
-import * as Icon from './Icon';
-
-export * from './BorderLine';
export * from './CellRange';
export * from './Collapse';
export * from './CustomLabel';
@@ -15,5 +12,3 @@ export * from './Separator';
export * from './SiderModal';
export * from './Slider';
export * from './Tabs';
-
-export { Icon };
diff --git a/packages/base-ui/src/controllers/menus/menu.ts b/packages/base-ui/src/controllers/menus/menu.ts
index f0cd61436d..b163fa77b9 100644
--- a/packages/base-ui/src/controllers/menus/menu.ts
+++ b/packages/base-ui/src/controllers/menus/menu.ts
@@ -11,7 +11,7 @@ export function UndoMenuItemFactory(accessor: IAccessor): IMenuButtonItem {
id: UndoCommand.id,
group: MenuGroup.TOOLBAR_HISTORY,
type: MenuItemType.BUTTON,
- icon: 'ForwardIcon',
+ icon: 'UndoSingle',
title: 'Undo',
tooltip: 'toolbar.undo',
positions: [MenuPosition.TOOLBAR_START],
@@ -26,7 +26,7 @@ export function RedoMenuItemFactory(accessor: IAccessor): IMenuButtonItem {
id: RedoCommand.id,
group: MenuGroup.TOOLBAR_HISTORY,
type: MenuItemType.BUTTON,
- icon: 'BackIcon',
+ icon: 'RedoSingle',
title: 'Redo',
tooltip: 'toolbar.redo',
positions: [MenuPosition.TOOLBAR_START],
diff --git a/packages/design/package.json b/packages/design/package.json
index 312b1c18af..67dc967063 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -49,10 +49,10 @@
"dependencies": {
"@rc-component/color-picker": "^1.4.1",
"@rc-component/trigger": "^1.18.0",
- "@univerjs/icons": "^0.0.10",
+ "@univerjs/icons": "^0.1.3",
"clsx": "^2.0.0",
"rc-dropdown": "^4.1.0",
- "rc-input-number": "^8.4.0",
+ "rc-input-number": "^8.5.0",
"rc-menu": "^9.12.2",
"rc-notification": "^5.3.0",
"rc-tooltip": "^6.1.2",
@@ -61,13 +61,13 @@
"react-transition-group": "^4.4.5"
},
"devDependencies": {
- "@storybook/addon-docs": "^7.5.1",
- "@storybook/addon-essentials": "^7.5.1",
- "@storybook/addon-interactions": "^7.5.1",
- "@storybook/addon-links": "^7.5.1",
- "@storybook/blocks": "^7.5.1",
- "@storybook/react": "^7.5.1",
- "@storybook/react-vite": "^7.5.1",
+ "@storybook/addon-docs": "^7.5.2",
+ "@storybook/addon-essentials": "^7.5.2",
+ "@storybook/addon-interactions": "^7.5.2",
+ "@storybook/addon-links": "^7.5.2",
+ "@storybook/blocks": "^7.5.2",
+ "@storybook/react": "^7.5.2",
+ "@storybook/react-vite": "^7.5.2",
"@storybook/testing-library": "^0.2.2",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.8.9",
@@ -77,11 +77,10 @@
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"esbuild": "^0.19.5",
- "happy-dom": "^12.10.1",
+ "happy-dom": "^12.10.3",
"less": "^4.2.0",
- "storybook": "^7.5.1",
+ "storybook": "^7.5.2",
"ts-node": "^10.9.1",
- "vitest": "^0.34.6",
- "vitest-canvas-mock": "^0.3.3"
+ "vitest": "^0.34.6"
}
}
diff --git a/packages/design/src/components/message/Message.tsx b/packages/design/src/components/message/Message.tsx
index 8509f3b2fb..7bb2270520 100644
--- a/packages/design/src/components/message/Message.tsx
+++ b/packages/design/src/components/message/Message.tsx
@@ -1,4 +1,4 @@
-import { Fail16, Success16, Warning16 } from '@univerjs/icons';
+import { ErrorSingle, SuccessSingle, WarningSingle } from '@univerjs/icons';
import clsx from 'clsx';
import { createRoot } from 'react-dom/client';
import { CSSTransition, TransitionGroup } from 'react-transition-group';
@@ -14,9 +14,9 @@ export interface IMessageProps {
}
const iconMap = {
- success: <Success16 className={styles.messageIconSuccess} />,
- warning: <Warning16 className={styles.messageIconWarning} />,
- error: <Fail16 className={styles.messageIconError} />,
+ success: <SuccessSingle className={styles.messageIconSuccess} />,
+ warning: <WarningSingle className={styles.messageIconWarning} />,
+ error: <ErrorSingle className={styles.messageIconError} />,
};
/**
diff --git a/packages/sheets-plugin-debugger/src/controllers/menu.ts b/packages/sheets-plugin-debugger/src/controllers/menu.ts
index 552f7607c3..12a5fb2915 100644
--- a/packages/sheets-plugin-debugger/src/controllers/menu.ts
+++ b/packages/sheets-plugin-debugger/src/controllers/menu.ts
@@ -10,7 +10,7 @@ import { UIComponentOperation } from '../commands/operations/ui-component.operat
export function LocaleMenuItemFactory(accessor: IAccessor): IMenuSelectorItem {
return {
id: LocaleOperation.id,
- icon: 'ShortcutIcon',
+ icon: 'KeyboardSingle',
title: 'debugger.locale.title',
tooltip: 'debugger.locale.tooltip',
display: DisplayTypes.ICON,
@@ -32,7 +32,7 @@ export function LocaleMenuItemFactory(accessor: IAccessor): IMenuSelectorItem {
export function ThemeMenuItemFactory(accessor: IAccessor): IMenuSelectorItem {
return {
id: ThemeOperation.id,
- icon: 'ShortcutIcon',
+ icon: 'KeyboardSingle',
title: 'debugger.theme.title',
tooltip: 'debugger.theme.tooltip',
display: DisplayTypes.ICON,
@@ -53,7 +53,7 @@ export function ThemeMenuItemFactory(accessor: IAccessor): IMenuSelectorItem {
export function UIComponentMenuItemFactory(accessor: IAccessor): IMenuSelectorItem {
return {
id: UIComponentOperation.id,
- icon: 'ShortcutIcon',
+ icon: 'KeyboardSingle',
title: 'debugger.uiComponent.title',
tooltip: 'debugger.uiComponent.tooltip',
display: DisplayTypes.ICON,
diff --git a/packages/sheets-plugin-find/src/Controller/FindController.ts b/packages/sheets-plugin-find/src/Controller/FindController.ts
index 3c9b1d9f57..d9b09cbfe0 100644
--- a/packages/sheets-plugin-find/src/Controller/FindController.ts
+++ b/packages/sheets-plugin-find/src/Controller/FindController.ts
@@ -1,4 +1,4 @@
-import { ComponentManager, Icon, IMenuService } from '@univerjs/base-ui';
+import { ComponentManager, IMenuService } from '@univerjs/base-ui';
import { Disposable, ICommandService } from '@univerjs/core';
import { IDisposable, Inject, Injector } from '@wendellhu/redi';
@@ -15,7 +15,7 @@ export class FindController extends Disposable implements IDisposable {
@ICommandService private readonly _commandService: ICommandService
) {
super();
- this._componentManager.register('SearchIcon', Icon.SearchIcon);
+ // this._componentManager.register('SearchIcon', Icon.SearchIcon);
this._initializeContextMenu();
diff --git a/packages/sheets-plugin-find/src/View/UI/FindModal.tsx b/packages/sheets-plugin-find/src/View/UI/FindModal.tsx
index d4062005e9..700d12187d 100644
--- a/packages/sheets-plugin-find/src/View/UI/FindModal.tsx
+++ b/packages/sheets-plugin-find/src/View/UI/FindModal.tsx
@@ -1,13 +1,4 @@
-import {
- BaseComponentProps,
- BaseItemProps,
- CellRange,
- CustomLabel,
- Icon,
- Input,
- Modal,
- Select,
-} from '@univerjs/base-ui';
+import { BaseComponentProps, BaseItemProps, CellRange, CustomLabel, Input, Modal, Select } from '@univerjs/base-ui';
import { Button, ICheckboxGroupProps } from '@univerjs/design';
import { Component } from 'react';
@@ -221,11 +212,11 @@ export class FindModal extends Component<IProps, IState> {
{count ? (
<div className={styles.count}>
<span onClick={this.findPrevious.bind(this)}>
- <Icon.Format.NextIcon rotate={90}></Icon.Format.NextIcon>
+ {/* <Icon.Format.NextIcon rotate={90}></Icon.Format.NextIcon> */}
</span>
{current}/{count}
<span onClick={this.findNext.bind(this)}>
- <Icon.Format.NextIcon rotate={-90}></Icon.Format.NextIcon>
+ {/* <Icon.Format.NextIcon rotate={-90}></Icon.Format.NextIcon> */}
</span>
</div>
) : null}
@@ -236,7 +227,7 @@ export class FindModal extends Component<IProps, IState> {
onClick={() => this.handleHideAdvanced(false)}
>
<CustomLabel label="find.replace" />/<CustomLabel label="find.advanced" />
- <Icon.Format.NextIcon />
+ {/* <Icon.Format.NextIcon /> */}
</p>
) : (
<>
diff --git a/packages/sheets-plugin-formula/src/View/UI/FormulaLabel.tsx b/packages/sheets-plugin-formula/src/View/UI/FormulaLabel.tsx
index bb88eb6fb0..e9360271bf 100644
--- a/packages/sheets-plugin-formula/src/View/UI/FormulaLabel.tsx
+++ b/packages/sheets-plugin-formula/src/View/UI/FormulaLabel.tsx
@@ -1,4 +1,3 @@
-import { Icon } from '@univerjs/base-ui';
import { Component } from 'react';
interface IProps {
@@ -12,7 +11,7 @@ export class FormulaLabel extends Component<IProps> {
return (
<div style={{ display: 'flex', alignItems: 'center' }}>
- <Icon.Data.SumIcon />
+ {/* <Icon.Data.SumIcon /> */}
{label}
</div>
);
diff --git a/packages/sheets-plugin-image/src/Controller/OverGridImageController.ts b/packages/sheets-plugin-image/src/Controller/OverGridImageController.ts
index f22204e2e7..18a064110a 100644
--- a/packages/sheets-plugin-image/src/Controller/OverGridImageController.ts
+++ b/packages/sheets-plugin-image/src/Controller/OverGridImageController.ts
@@ -1,4 +1,4 @@
-import { ComponentManager, Icon, IMenuService } from '@univerjs/base-ui';
+import { ComponentManager, IMenuService } from '@univerjs/base-ui';
import { Disposable, ICommandService } from '@univerjs/core';
import { Inject, Injector } from '@wendellhu/redi';
@@ -17,7 +17,7 @@ export class OverGridImageController extends Disposable {
) {
super();
- this._componentManager.register('ImageIcon', Icon.View.ImageIcon);
+ // this._componentManager.register('ImageIcon', Icon.View.ImageIcon);
this._initializeContextMenu();
[UploadOperation].forEach((command) => this.disposeWithMe(this._commandService.registerCommand(command)));
diff --git a/packages/sheets-plugin-numfmt/src/View/UI/FormatItem.tsx b/packages/sheets-plugin-numfmt/src/View/UI/FormatItem.tsx
index cd6f75b6da..bf43cdc333 100644
--- a/packages/sheets-plugin-numfmt/src/View/UI/FormatItem.tsx
+++ b/packages/sheets-plugin-numfmt/src/View/UI/FormatItem.tsx
@@ -1,4 +1,4 @@
-import { AppContext, AppContextValues, BaseMenuItem, Icon, joinClassNames } from '@univerjs/base-ui';
+import { AppContext, AppContextValues, BaseMenuItem, joinClassNames } from '@univerjs/base-ui';
import React, { useContext } from 'react';
import styles from './FormatItem.module.less';
@@ -23,11 +23,7 @@ export function FormatItem(props: BaseFormatItemProps): JSX.Element {
return (
<div className={joinClassNames(styles.formatItem, disabled ? styles.selectDisabledItem : '')}>
- {selected && (
- <span className={styles.formatItemSelected}>
- <Icon.CorrectIcon />
- </span>
- )}
+ {selected && <span className={styles.formatItemSelected}>{/* <Icon.CorrectIcon /> */}</span>}
<span className={styles.formatItemContent}>{getLocale(context, labelText as string) || labelText}</span>
{suffix && (
<span className={styles.formatItemSuffix}>{getLocale(context, suffix as string) || suffix}</span>
diff --git a/packages/ui-plugin-docs/src/Controller/menu/menu.ts b/packages/ui-plugin-docs/src/Controller/menu/menu.ts
index 2e778792e1..9b7ea8f4fc 100644
--- a/packages/ui-plugin-docs/src/Controller/menu/menu.ts
+++ b/packages/ui-plugin-docs/src/Controller/menu/menu.ts
@@ -7,7 +7,7 @@ export function BoldMenuItemFactory(accessor: IAccessor): IMenuButtonItem {
return {
id: DeleteLeftCommand.id,
type: MenuItemType.BUTTON,
- icon: 'BoldIcon',
+ icon: 'BoldSingle',
title: 'Set bold',
tooltip: 'toolbar.bold',
positions: [MenuPosition.TOOLBAR_START],
@@ -18,7 +18,7 @@ export function ItalicMenuItemFactory(accessor: IAccessor): IMenuButtonItem {
return {
id: BreakLineCommand.id,
type: MenuItemType.BUTTON,
- icon: 'ItalicIcon',
+ icon: 'ItalicSingle',
title: 'Set italic',
tooltip: 'toolbar.italic',
positions: [MenuPosition.TOOLBAR_START],
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashDot.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashDot.tsx
new file mode 100644
index 0000000000..6cd16aa4ce
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashDot.tsx
@@ -0,0 +1,31 @@
+export const BorderDashDot = () => (
+ <svg width="120" height="2" viewBox="0 0 120 2" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M0.98999 1.08218H-0.0100098V0.0821838H0.98999V1.08218Z" fill="black" />
+ <path d="M5.78992 1.08218H2.78992V0.0821838H5.78992V1.08218Z" fill="black" />
+ <path d="M7.58984 1.08218H8.58984V0.0821838H7.58984V1.08218Z" fill="black" />
+ <path d="M14.9152 1.08218H13.9152V0.0821838H14.9152V1.08218Z" fill="black" />
+ <path d="M16.7151 1.08218H19.7151V0.0821838H16.7151V1.08218Z" fill="black" />
+ <path d="M22.515 1.08218H21.515V0.0821838H22.515V1.08218Z" fill="black" />
+ <path d="M27.8405 1.08218H28.8405V0.0821838H27.8405V1.08218Z" fill="black" />
+ <path d="M33.6404 1.08218H30.6404V0.0821838H33.6404V1.08218Z" fill="black" />
+ <path d="M35.4403 1.08218H36.4403V0.0821838H35.4403V1.08218Z" fill="black" />
+ <path d="M42.7657 1.08218H41.7657V0.0821838H42.7657V1.08218Z" fill="black" />
+ <path d="M44.5657 1.08218H47.5657V0.0821838H44.5657V1.08218Z" fill="black" />
+ <path d="M50.3656 1.08218H49.3656V0.0821838H50.3656V1.08218Z" fill="black" />
+ <path d="M55.691 1.08218H56.691V0.0821838H55.691V1.08218Z" fill="black" />
+ <path d="M61.491 1.08218H58.491V0.0821838H61.491V1.08218Z" fill="black" />
+ <path d="M63.2909 1.08218H64.2909V0.0821838H63.2909V1.08218Z" fill="black" />
+ <path d="M70.6163 1.08218H69.6163V0.0821838H70.6163V1.08218Z" fill="black" />
+ <path d="M72.4163 1.08218H75.4163V0.0821838H72.4163V1.08218Z" fill="black" />
+ <path d="M78.2162 1.08218H77.2162V0.0821838H78.2162V1.08218Z" fill="black" />
+ <path d="M83.5416 1.08218H84.5416V0.0821838H83.5416V1.08218Z" fill="black" />
+ <path d="M89.3416 1.08218H86.3416V0.0821838H89.3416V1.08218Z" fill="black" />
+ <path d="M91.1415 1.08218H92.1415V0.0821838H91.1415V1.08218Z" fill="black" />
+ <path d="M98.4669 1.08218H97.4669V0.0821838H98.4669V1.08218Z" fill="black" />
+ <path d="M100.267 1.08218H103.267V0.0821838H100.267V1.08218Z" fill="black" />
+ <path d="M106.067 1.08218H105.067V0.0821838H106.067V1.08218Z" fill="black" />
+ <path d="M111.392 1.08218H112.392V0.0821838H111.392V1.08218Z" fill="black" />
+ <path d="M117.192 1.08218H114.192V0.0821838H117.192V1.08218Z" fill="black" />
+ <path d="M118.992 1.08218H119.992V0.0821838H118.992V1.08218Z" fill="black" />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashDotDot.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashDotDot.tsx
new file mode 100644
index 0000000000..80a37d5d14
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashDotDot.tsx
@@ -0,0 +1,32 @@
+export const BorderDashDotDot = () => (
+ <svg width="120" height="2" viewBox="0 0 120 2" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M-0.0100098 1.15771H0.98999V0.157715H-0.0100098V1.15771Z" fill="black" />
+ <path d="M2.78992 1.15771H5.78992V0.157715H2.78992V1.15771Z" fill="black" />
+ <path d="M8.58984 1.15771H7.58984V0.157715H8.58984V1.15771Z" fill="black" />
+ <path d="M10.3899 1.15771H11.3899V0.157715H10.3899V1.15771Z" fill="black" />
+ <path d="M19.0903 1.15771H18.0903V0.157715H19.0903V1.15771Z" fill="black" />
+ <path d="M20.8903 1.15771H23.8903V0.157715H20.8903V1.15771Z" fill="black" />
+ <path d="M26.6902 1.15771H25.6902V0.157715H26.6902V1.15771Z" fill="black" />
+ <path d="M28.4902 1.15771H29.4902V0.157715H28.4902V1.15771Z" fill="black" />
+ <path d="M37.1907 1.15771H36.1907V0.157715H37.1907V1.15771Z" fill="black" />
+ <path d="M38.9906 1.15771H41.9906V0.157715H38.9906V1.15771Z" fill="black" />
+ <path d="M44.7905 1.15771H43.7905V0.157715H44.7905V1.15771Z" fill="black" />
+ <path d="M46.5906 1.15771H47.5906V0.157715H46.5906V1.15771Z" fill="black" />
+ <path d="M55.291 1.15771H54.291V0.157715H55.291V1.15771Z" fill="black" />
+ <path d="M57.0909 1.15771H60.0909V0.157715H57.0909V1.15771Z" fill="black" />
+ <path d="M62.8909 1.15771H61.8909V0.157715H62.8909V1.15771Z" fill="black" />
+ <path d="M64.6909 1.15771H65.6909V0.157715H64.6909V1.15771Z" fill="black" />
+ <path d="M73.3914 1.15771H72.3914V0.157715H73.3914V1.15771Z" fill="black" />
+ <path d="M75.1913 1.15771H78.1913V0.157715H75.1913V1.15771Z" fill="black" />
+ <path d="M80.9912 1.15771H79.9912V0.157715H80.9912V1.15771Z" fill="black" />
+ <path d="M82.7913 1.15771H83.7913V0.157715H82.7913V1.15771Z" fill="black" />
+ <path d="M91.4917 1.15771H90.4917V0.157715H91.4917V1.15771Z" fill="black" />
+ <path d="M93.2916 1.15771H96.2916V0.157715H93.2916V1.15771Z" fill="black" />
+ <path d="M99.0916 1.15771H98.0916V0.157715H99.0916V1.15771Z" fill="black" />
+ <path d="M100.892 1.15771H101.892V0.157715H100.892V1.15771Z" fill="black" />
+ <path d="M109.592 1.15771H108.592V0.157715H109.592V1.15771Z" fill="black" />
+ <path d="M111.392 1.15771H114.392V0.157715H111.392V1.15771Z" fill="black" />
+ <path d="M117.192 1.15771H116.192V0.157715H117.192V1.15771Z" fill="black" />
+ <path d="M118.992 1.15771H119.992V0.157715H118.992V1.15771Z" fill="black" />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashed.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashed.tsx
new file mode 100644
index 0000000000..e95ce1df59
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderDashed.tsx
@@ -0,0 +1,24 @@
+export const BorderDashed = () => (
+ <svg width="120" height="2" viewBox="0 0 120 2" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M-0.00842285 1.22449H2.99158V0.224487H-0.00842285V1.22449Z" fill="black" />
+ <path d="M6.14941 1.22449H9.14941V0.224487H6.14941V1.22449Z" fill="black" />
+ <path d="M15.3073 1.22449H12.3073V0.224487H15.3073V1.22449Z" fill="black" />
+ <path d="M18.4651 1.22449H21.4651V0.224487H18.4651V1.22449Z" fill="black" />
+ <path d="M27.6229 1.22449H24.6229V0.224487H27.6229V1.22449Z" fill="black" />
+ <path d="M30.7808 1.22449H33.7808V0.224487H30.7808V1.22449Z" fill="black" />
+ <path d="M39.9386 1.22449H36.9386V0.224487H39.9386V1.22449Z" fill="black" />
+ <path d="M43.0964 1.22449H46.0964V0.224487H43.0964V1.22449Z" fill="black" />
+ <path d="M52.2543 1.22449H49.2543V0.224487H52.2543V1.22449Z" fill="black" />
+ <path d="M55.4121 1.22449H58.4121V0.224487H55.4121V1.22449Z" fill="black" />
+ <path d="M64.5699 1.22449H61.5699V0.224487H64.5699V1.22449Z" fill="black" />
+ <path d="M67.7278 1.22449H70.7278V0.224487H67.7278V1.22449Z" fill="black" />
+ <path d="M76.8856 1.22449H73.8856V0.224487H76.8856V1.22449Z" fill="black" />
+ <path d="M80.0435 1.22449H83.0435V0.224487H80.0435V1.22449Z" fill="black" />
+ <path d="M89.2013 1.22449H86.2013V0.224487H89.2013V1.22449Z" fill="black" />
+ <path d="M92.3591 1.22449H95.3591V0.224487H92.3591V1.22449Z" fill="black" />
+ <path d="M101.517 1.22449H98.517V0.224487H101.517V1.22449Z" fill="black" />
+ <path d="M104.675 1.22449H107.675V0.224487H104.675V1.22449Z" fill="black" />
+ <path d="M113.833 1.22449H110.833V0.224487H113.833V1.22449Z" fill="black" />
+ <path d="M116.99 1.22449H119.99V0.224487H116.99V1.22449Z" fill="black" />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderDotted.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderDotted.tsx
new file mode 100644
index 0000000000..ed9846ea97
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderDotted.tsx
@@ -0,0 +1,36 @@
+export const BorderDotted = () => (
+ <svg width="120" height="2" viewBox="0 0 120 2" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M0.491699 1.69537H1.4917V0.695374H0.491699V1.69537Z" fill="black" />
+ <path d="M4.2981 1.69537H5.2981V0.695374H4.2981V1.69537Z" fill="black" />
+ <path d="M9.10449 1.69537H8.10449V0.695374H9.10449V1.69537Z" fill="black" />
+ <path d="M11.9109 1.69537H12.9109V0.695374H11.9109V1.69537Z" fill="black" />
+ <path d="M16.7173 1.69537H15.7173V0.695374H16.7173V1.69537Z" fill="black" />
+ <path d="M19.5237 1.69537H20.5237V0.695374H19.5237V1.69537Z" fill="black" />
+ <path d="M24.3301 1.69537H23.3301V0.695374H24.3301V1.69537Z" fill="black" />
+ <path d="M27.1365 1.69537H28.1365V0.695374H27.1365V1.69537Z" fill="black" />
+ <path d="M31.9429 1.69537H30.9429V0.695374H31.9429V1.69537Z" fill="black" />
+ <path d="M34.7493 1.69537H35.7493V0.695374H34.7493V1.69537Z" fill="black" />
+ <path d="M39.5557 1.69537H38.5557V0.695374H39.5557V1.69537Z" fill="black" />
+ <path d="M42.3621 1.69537H43.3621V0.695374H42.3621V1.69537Z" fill="black" />
+ <path d="M47.1685 1.69537H46.1685V0.695374H47.1685V1.69537Z" fill="black" />
+ <path d="M49.9749 1.69537H50.9749V0.695374H49.9749V1.69537Z" fill="black" />
+ <path d="M54.7812 1.69537H53.7812V0.695374H54.7812V1.69537Z" fill="black" />
+ <path d="M57.5876 1.69537H58.5876V0.695374H57.5876V1.69537Z" fill="black" />
+ <path d="M62.394 1.69537H61.394V0.695374H62.394V1.69537Z" fill="black" />
+ <path d="M65.2004 1.69537H66.2004V0.695374H65.2004V1.69537Z" fill="black" />
+ <path d="M70.0068 1.69537H69.0068V0.695374H70.0068V1.69537Z" fill="black" />
+ <path d="M72.8132 1.69537H73.8132V0.695374H72.8132V1.69537Z" fill="black" />
+ <path d="M77.6196 1.69537H76.6196V0.695374H77.6196V1.69537Z" fill="black" />
+ <path d="M80.426 1.69537H81.426V0.695374H80.426V1.69537Z" fill="black" />
+ <path d="M85.2324 1.69537H84.2324V0.695374H85.2324V1.69537Z" fill="black" />
+ <path d="M88.0388 1.69537H89.0388V0.695374H88.0388V1.69537Z" fill="black" />
+ <path d="M92.8452 1.69537H91.8452V0.695374H92.8452V1.69537Z" fill="black" />
+ <path d="M95.6516 1.69537H96.6516V0.695374H95.6516V1.69537Z" fill="black" />
+ <path d="M100.458 1.69537H99.458V0.695374H100.458V1.69537Z" fill="black" />
+ <path d="M103.264 1.69537H104.264V0.695374H103.264V1.69537Z" fill="black" />
+ <path d="M108.071 1.69537H107.071V0.695374H108.071V1.69537Z" fill="black" />
+ <path d="M110.877 1.69537H111.877V0.695374H110.877V1.69537Z" fill="black" />
+ <path d="M115.684 1.69537H114.684V0.695374H115.684V1.69537Z" fill="black" />
+ <path d="M118.49 1.69537H119.49V0.695374H118.49V1.69537Z" fill="black" />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderHair.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderHair.tsx
new file mode 100644
index 0000000000..bfec32157a
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderHair.tsx
@@ -0,0 +1,56 @@
+export const BorderHair = () => (
+ <svg width="120" height="2" viewBox="0 0 120 2" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M-0.00976562 1.65707H0.990234V0.657074H-0.00976562V1.65707Z" fill="black" />
+ <path d="M2.32361 1.65707H3.32361V0.657074H2.32361V1.65707Z" fill="black" />
+ <path d="M5.65698 1.65707H4.65698V0.657074H5.65698V1.65707Z" fill="black" />
+ <path d="M6.99036 1.65707H7.99036V0.657074H6.99036V1.65707Z" fill="black" />
+ <path d="M10.3237 1.65707H9.32373V0.657074H10.3237V1.65707Z" fill="black" />
+ <path d="M11.6571 1.65707H12.6571V0.657074H11.6571V1.65707Z" fill="black" />
+ <path d="M14.9905 1.65707H13.9905V0.657074H14.9905V1.65707Z" fill="black" />
+ <path d="M16.3239 1.65707H17.3239V0.657074H16.3239V1.65707Z" fill="black" />
+ <path d="M19.6572 1.65707H18.6572V0.657074H19.6572V1.65707Z" fill="black" />
+ <path d="M20.9906 1.65707H21.9906V0.657074H20.9906V1.65707Z" fill="black" />
+ <path d="M24.324 1.65707H23.324V0.657074H24.324V1.65707Z" fill="black" />
+ <path d="M25.6573 1.65707H26.6573V0.657074H25.6573V1.65707Z" fill="black" />
+ <path d="M28.9907 1.65707H27.9907V0.657074H28.9907V1.65707Z" fill="black" />
+ <path d="M30.3241 1.65707H31.3241V0.657074H30.3241V1.65707Z" fill="black" />
+ <path d="M33.6575 1.65707H32.6575V0.657074H33.6575V1.65707Z" fill="black" />
+ <path d="M34.9908 1.65707H35.9908V0.657074H34.9908V1.65707Z" fill="black" />
+ <path d="M38.3242 1.65707H37.3242V0.657074H38.3242V1.65707Z" fill="black" />
+ <path d="M39.6576 1.65707H40.6576V0.657074H39.6576V1.65707Z" fill="black" />
+ <path d="M42.991 1.65707H41.991V0.657074H42.991V1.65707Z" fill="black" />
+ <path d="M44.3243 1.65707H45.3243V0.657074H44.3243V1.65707Z" fill="black" />
+ <path d="M47.6577 1.65707H46.6577V0.657074H47.6577V1.65707Z" fill="black" />
+ <path d="M48.9911 1.65707H49.9911V0.657074H48.9911V1.65707Z" fill="black" />
+ <path d="M52.3245 1.65707H51.3245V0.657074H52.3245V1.65707Z" fill="black" />
+ <path d="M53.6578 1.65707H54.6578V0.657074H53.6578V1.65707Z" fill="black" />
+ <path d="M56.9912 1.65707H55.9912V0.657074H56.9912V1.65707Z" fill="black" />
+ <path d="M58.3246 1.65707H59.3246V0.657074H58.3246V1.65707Z" fill="black" />
+ <path d="M61.658 1.65707H60.658V0.657074H61.658V1.65707Z" fill="black" />
+ <path d="M62.9913 1.65707H63.9913V0.657074H62.9913V1.65707Z" fill="black" />
+ <path d="M66.3247 1.65707H65.3247V0.657074H66.3247V1.65707Z" fill="black" />
+ <path d="M67.6581 1.65707H68.6581V0.657074H67.6581V1.65707Z" fill="black" />
+ <path d="M70.9915 1.65707H69.9915V0.657074H70.9915V1.65707Z" fill="black" />
+ <path d="M72.3248 1.65707H73.3248V0.657074H72.3248V1.65707Z" fill="black" />
+ <path d="M75.6582 1.65707H74.6582V0.657074H75.6582V1.65707Z" fill="black" />
+ <path d="M76.9916 1.65707H77.9916V0.657074H76.9916V1.65707Z" fill="black" />
+ <path d="M80.325 1.65707H79.325V0.657074H80.325V1.65707Z" fill="black" />
+ <path d="M81.6583 1.65707H82.6583V0.657074H81.6583V1.65707Z" fill="black" />
+ <path d="M84.9917 1.65707H83.9917V0.657074H84.9917V1.65707Z" fill="black" />
+ <path d="M86.3251 1.65707H87.3251V0.657074H86.3251V1.65707Z" fill="black" />
+ <path d="M89.6584 1.65707H88.6584V0.657074H89.6584V1.65707Z" fill="black" />
+ <path d="M90.9918 1.65707H91.9918V0.657074H90.9918V1.65707Z" fill="black" />
+ <path d="M94.3252 1.65707H93.3252V0.657074H94.3252V1.65707Z" fill="black" />
+ <path d="M95.6586 1.65707H96.6586V0.657074H95.6586V1.65707Z" fill="black" />
+ <path d="M98.9919 1.65707H97.9919V0.657074H98.9919V1.65707Z" fill="black" />
+ <path d="M100.325 1.65707H101.325V0.657074H100.325V1.65707Z" fill="black" />
+ <path d="M103.659 1.65707H102.659V0.657074H103.659V1.65707Z" fill="black" />
+ <path d="M104.992 1.65707H105.992V0.657074H104.992V1.65707Z" fill="black" />
+ <path d="M108.325 1.65707H107.325V0.657074H108.325V1.65707Z" fill="black" />
+ <path d="M109.659 1.65707H110.659V0.657074H109.659V1.65707Z" fill="black" />
+ <path d="M112.992 1.65707H111.992V0.657074H112.992V1.65707Z" fill="black" />
+ <path d="M114.325 1.65707H115.325V0.657074H114.325V1.65707Z" fill="black" />
+ <path d="M117.659 1.65707H116.659V0.657074H117.659V1.65707Z" fill="black" />
+ <path d="M118.992 1.65707H119.992V0.657074H118.992V1.65707Z" fill="black" />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderMedium.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderMedium.tsx
new file mode 100644
index 0000000000..3100de6277
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderMedium.tsx
@@ -0,0 +1,10 @@
+export const BorderMedium = () => (
+ <svg width="120" height="3" viewBox="0 0 120 3" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M119.991 2.42035H-0.0090332V0.420349H119.991V2.42035Z"
+ fill="black"
+ />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashDot.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashDot.tsx
new file mode 100644
index 0000000000..bf69dbea67
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashDot.tsx
@@ -0,0 +1,22 @@
+export const BorderMediumDashDot = () => (
+ <svg width="120" height="3" viewBox="0 0 120 3" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M-0.0100098 2.47614H1.98999V0.476135H-0.0100098V2.47614Z" fill="black" />
+ <path d="M3.99014 2.47614H9.99014V0.476135H3.99014V2.47614Z" fill="black" />
+ <path d="M13.9901 2.47614H11.9901V0.476135H13.9901V2.47614Z" fill="black" />
+ <path d="M21.1904 2.47614H23.1904V0.476135H21.1904V2.47614Z" fill="black" />
+ <path d="M31.1906 2.47614H25.1906V0.476135H31.1906V2.47614Z" fill="black" />
+ <path d="M33.1906 2.47614H35.1906V0.476135H33.1906V2.47614Z" fill="black" />
+ <path d="M44.3909 2.47614H42.3909V0.476135H44.3909V2.47614Z" fill="black" />
+ <path d="M46.391 2.47614H52.391V0.476135H46.391V2.47614Z" fill="black" />
+ <path d="M56.391 2.47614H54.391V0.476135H56.391V2.47614Z" fill="black" />
+ <path d="M63.5913 2.47614H65.5913V0.476135H63.5913V2.47614Z" fill="black" />
+ <path d="M73.5915 2.47614H67.5915V0.476135H73.5915V2.47614Z" fill="black" />
+ <path d="M75.5915 2.47614H77.5915V0.476135H75.5915V2.47614Z" fill="black" />
+ <path d="M86.7917 2.47614H84.7917V0.476135H86.7917V2.47614Z" fill="black" />
+ <path d="M88.7919 2.47614H94.7919V0.476135H88.7919V2.47614Z" fill="black" />
+ <path d="M98.7919 2.47614H96.7919V0.476135H98.7919V2.47614Z" fill="black" />
+ <path d="M105.992 2.47614H107.992V0.476135H105.992V2.47614Z" fill="black" />
+ <path d="M115.992 2.47614H109.992V0.476135H115.992V2.47614Z" fill="black" />
+ <path d="M117.992 2.47614H119.992V0.476135H117.992V2.47614Z" fill="black" />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashDotDot.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashDotDot.tsx
new file mode 100644
index 0000000000..8bf423e69f
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashDotDot.tsx
@@ -0,0 +1,24 @@
+export const BorderMediumDashDotDot = () => (
+ <svg width="120" height="2" viewBox="0 0 120 2" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M-0.0100098 2.00415H1.98999V0.00415039H-0.0100098V2.00415Z" fill="black" />
+ <path d="M3.99014 2.00415H9.99014V0.00415039H3.99014V2.00415Z" fill="black" />
+ <path d="M13.9901 2.00415H11.9901V0.00415039H13.9901V2.00415Z" fill="black" />
+ <path d="M15.9901 2.00415H17.9901V0.00415039H15.9901V2.00415Z" fill="black" />
+ <path d="M27.4905 2.00415H25.4905V0.00415039H27.4905V2.00415Z" fill="black" />
+ <path d="M29.4906 2.00415H35.4906V0.00415039H29.4906V2.00415Z" fill="black" />
+ <path d="M39.4906 2.00415H37.4906V0.00415039H39.4906V2.00415Z" fill="black" />
+ <path d="M41.4906 2.00415H43.4906V0.00415039H41.4906V2.00415Z" fill="black" />
+ <path d="M52.991 2.00415H50.991V0.00415039H52.991V2.00415Z" fill="black" />
+ <path d="M54.9911 2.00415H60.9911V0.00415039H54.9911V2.00415Z" fill="black" />
+ <path d="M64.9911 2.00415H62.9911V0.00415039H64.9911V2.00415Z" fill="black" />
+ <path d="M66.9911 2.00415H68.9911V0.00415039H66.9911V2.00415Z" fill="black" />
+ <path d="M78.4915 2.00415H76.4915V0.00415039H78.4915V2.00415Z" fill="black" />
+ <path d="M80.4916 2.00415H86.4916V0.00415039H80.4916V2.00415Z" fill="black" />
+ <path d="M90.4916 2.00415H88.4916V0.00415039H90.4916V2.00415Z" fill="black" />
+ <path d="M92.4916 2.00415H94.4916V0.00415039H92.4916V2.00415Z" fill="black" />
+ <path d="M103.992 2.00415H101.992V0.00415039H103.992V2.00415Z" fill="black" />
+ <path d="M105.992 2.00415H111.992V0.00415039H105.992V2.00415Z" fill="black" />
+ <path d="M115.992 2.00415H113.992V0.00415039H115.992V2.00415Z" fill="black" />
+ <path d="M117.992 2.00415H119.992V0.00415039H117.992V2.00415Z" fill="black" />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashed.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashed.tsx
new file mode 100644
index 0000000000..214906cfec
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderMediumDashed.tsx
@@ -0,0 +1,24 @@
+export const BorderMediumDashed = () => (
+ <svg width="118" height="3" viewBox="0 0 118 3" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path d="M-0.00854492 2.94815H1.99146V0.948151H-0.00854492V2.94815Z" fill="black" />
+ <path d="M6.09668 2.94815H8.09668V0.948151H6.09668V2.94815Z" fill="black" />
+ <path d="M14.2019 2.94815H12.2019V0.948151H14.2019V2.94815Z" fill="black" />
+ <path d="M18.3071 2.94815H20.3071V0.948151H18.3071V2.94815Z" fill="black" />
+ <path d="M26.4124 2.94815H24.4124V0.948151H26.4124V2.94815Z" fill="black" />
+ <path d="M30.5176 2.94815H32.5176V0.948151H30.5176V2.94815Z" fill="black" />
+ <path d="M38.6228 2.94815H36.6228V0.948151H38.6228V2.94815Z" fill="black" />
+ <path d="M42.728 2.94815H44.728V0.948151H42.728V2.94815Z" fill="black" />
+ <path d="M50.8333 2.94815H48.8333V0.948151H50.8333V2.94815Z" fill="black" />
+ <path d="M54.9385 2.94815H56.9385V0.948151H54.9385V2.94815Z" fill="black" />
+ <path d="M63.0437 2.94815H61.0437V0.948151H63.0437V2.94815Z" fill="black" />
+ <path d="M67.1489 2.94815H69.1489V0.948151H67.1489V2.94815Z" fill="black" />
+ <path d="M75.2542 2.94815H73.2542V0.948151H75.2542V2.94815Z" fill="black" />
+ <path d="M79.3594 2.94815H81.3594V0.948151H79.3594V2.94815Z" fill="black" />
+ <path d="M87.4645 2.94815H85.4645V0.948151H87.4645V2.94815Z" fill="black" />
+ <path d="M91.5697 2.94815H93.5697V0.948151H91.5697V2.94815Z" fill="black" />
+ <path d="M99.6749 2.94815H97.6749V0.948151H99.6749V2.94815Z" fill="black" />
+ <path d="M103.78 2.94815H105.78V0.948151H103.78V2.94815Z" fill="black" />
+ <path d="M111.885 2.94815H109.885V0.948151H111.885V2.94815Z" fill="black" />
+ <path d="M115.991 2.94815H117.991V0.948151H115.991V2.94815Z" fill="black" />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderThick.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderThick.tsx
new file mode 100644
index 0000000000..10d8a5f780
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderThick.tsx
@@ -0,0 +1,10 @@
+export const BorderThick = () => (
+ <svg width="120" height="4" viewBox="0 0 120 4" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M119.991 3.86215H-0.0090332V0.862152H119.991V3.86215Z"
+ fill="black"
+ />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/BorderThin.tsx b/packages/ui-plugin-sheets/src/View/BorderLine/BorderThin.tsx
new file mode 100644
index 0000000000..a3f166816a
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/BorderThin.tsx
@@ -0,0 +1,10 @@
+export const BorderThin = () => (
+ <svg width="120" height="2" viewBox="0 0 120 2" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M119.991 1.15668H-0.0090332V0.156677H119.991V1.15668Z"
+ fill="black"
+ />
+ </svg>
+);
diff --git a/packages/ui-plugin-sheets/src/View/BorderLine/index.ts b/packages/ui-plugin-sheets/src/View/BorderLine/index.ts
new file mode 100644
index 0000000000..db6e9e95cd
--- /dev/null
+++ b/packages/ui-plugin-sheets/src/View/BorderLine/index.ts
@@ -0,0 +1,10 @@
+export { BorderDashDot } from './BorderDashDot';
+export { BorderDashDotDot } from './BorderDashDotDot';
+export { BorderDashed } from './BorderDashed';
+export { BorderDotted } from './BorderDotted';
+export { BorderHair } from './BorderHair';
+export { BorderMedium } from './BorderMedium';
+export { BorderMediumDashDot } from './BorderMediumDashDot';
+export { BorderMediumDashDotDot } from './BorderMediumDashDotDot';
+export { BorderMediumDashed } from './BorderMediumDashed';
+export { BorderThick } from './BorderThick';
diff --git a/packages/ui-plugin-sheets/src/View/Common/Line/LineBold.tsx b/packages/ui-plugin-sheets/src/View/Common/Line/LineBold.tsx
index 3d1cda52b9..0184be4b5e 100644
--- a/packages/ui-plugin-sheets/src/View/Common/Line/LineBold.tsx
+++ b/packages/ui-plugin-sheets/src/View/Common/Line/LineBold.tsx
@@ -1,4 +1,4 @@
-import { AppContext, BaseComponentProps, CustomLabel, Icon } from '@univerjs/base-ui';
+import { AppContext, BaseComponentProps, CustomLabel } from '@univerjs/base-ui';
import { BorderStyleTypes } from '@univerjs/core';
import { Component } from 'react';
@@ -84,7 +84,7 @@ export class LineBold extends Component<IProps, IState> {
{imgComponent}
</div>
</span>
- <Icon.RightIcon />
+ {/* <Icon.RightIcon /> */}
</div>
);
}
diff --git a/packages/ui-plugin-sheets/src/View/Common/Line/LineColor.tsx b/packages/ui-plugin-sheets/src/View/Common/Line/LineColor.tsx
index 387ff51708..108717bdfa 100644
--- a/packages/ui-plugin-sheets/src/View/Common/Line/LineColor.tsx
+++ b/packages/ui-plugin-sheets/src/View/Common/Line/LineColor.tsx
@@ -1,4 +1,4 @@
-import { BaseComponentProps, CustomLabel, Icon } from '@univerjs/base-ui';
+import { BaseComponentProps, CustomLabel } from '@univerjs/base-ui';
import { Component } from 'react';
interface IState {
@@ -47,7 +47,7 @@ export class LineColor extends Component<IProps, IState> {
<span style={{ display: 'inline-block', borderBottom: `3px solid ${color}` }}>
<CustomLabel label={label} />
</span>
- <Icon.RightIcon />
+ {/* <Icon.RightIcon /> */}
</div>
);
}
diff --git a/packages/ui-plugin-sheets/src/View/FormulaBar/FormulaBar.tsx b/packages/ui-plugin-sheets/src/View/FormulaBar/FormulaBar.tsx
index 7f49d96dd6..4fe108658e 100644
--- a/packages/ui-plugin-sheets/src/View/FormulaBar/FormulaBar.tsx
+++ b/packages/ui-plugin-sheets/src/View/FormulaBar/FormulaBar.tsx
@@ -1,4 +1,4 @@
-import { AppContext, BaseComponentProps, BaseSelectChildrenProps, debounce, Icon } from '@univerjs/base-ui';
+import { AppContext, BaseComponentProps, BaseSelectChildrenProps, debounce } from '@univerjs/base-ui';
import { Nullable } from '@univerjs/core';
import { Component } from 'react';
@@ -91,12 +91,8 @@ export class FormulaBar extends Component<BaseFormulaBarProps, FormulaState> {
{/* <Select children={namedRanges} type={0}></Select> */}
<div className={styles.formulaBar}>
<div className={styles.formulaIcon}>
- <span className={this.state.spanClass}>
- <Icon.Format.CloseIcon />
- </span>
- <span className={this.state.spanClass}>
- <Icon.Format.CorrectIcon />
- </span>
+ <span className={this.state.spanClass}>{/* <Icon.Format.CloseIcon /> */}</span>
+ <span className={this.state.spanClass}>{/* <Icon.Format.CorrectIcon /> */}</span>
{fx ? (
<span className={styles.formulaBlack} onClick={fx.onClick}>
{this.getIcon(fx.icon)}
diff --git a/packages/ui-plugin-sheets/src/View/RightMenu/RightMenuItem.tsx b/packages/ui-plugin-sheets/src/View/RightMenu/RightMenuItem.tsx
index 10f19aceb9..fc54cded24 100644
--- a/packages/ui-plugin-sheets/src/View/RightMenu/RightMenuItem.tsx
+++ b/packages/ui-plugin-sheets/src/View/RightMenu/RightMenuItem.tsx
@@ -1,4 +1,4 @@
-import { CustomLabel, Icon } from '@univerjs/base-ui';
+import { CustomLabel } from '@univerjs/base-ui';
import { Component } from 'react';
import styles from './index.module.less';
@@ -14,7 +14,7 @@ export class RightMenuItem extends Component<IProps> {
return (
<div className={styles.rightMenuItem}>
<CustomLabel label={label} />
- <Icon.Format.RightIcon />
+ {/* <Icon.Format.RightIcon /> */}
</div>
);
}
diff --git a/packages/ui-plugin-sheets/src/View/SheetBar/SheetBar.tsx b/packages/ui-plugin-sheets/src/View/SheetBar/SheetBar.tsx
index 8d4c558eb6..a1a9389eb1 100644
--- a/packages/ui-plugin-sheets/src/View/SheetBar/SheetBar.tsx
+++ b/packages/ui-plugin-sheets/src/View/SheetBar/SheetBar.tsx
@@ -15,7 +15,6 @@ import {
BaseComponentProps,
BaseMenuItem,
BaseSelectProps,
- Icon,
IDisplayMenuItem,
IMenuItem,
ITabRef,
@@ -234,7 +233,7 @@ export class SheetBar extends Component<BaseSheetBarProps, SheetState> {
this.onContextMenuClick(e);
}}
>
- <Icon.NextIcon />
+ {/* <Icon.NextIcon /> */}
</div>
</div>
<div className={`${styles.slideTabFooter}`}>
@@ -361,11 +360,11 @@ export class SheetBar extends Component<BaseSheetBarProps, SheetState> {
this._addSheet();
}}
>
- <Icon.Math.AddIcon style={{ fontSize: '20px' }} />
+ {/* <Icon.Math.AddIcon style={{ fontSize: '20px' }} /> */}
</Button>
{/* all sheets button */}
<Button className={styles.sheetBarOptionsButton} onClick={() => this.ref.current?.showMenu(true)}>
- <Icon.MenuIcon style={{ fontSize: '20px' }} />
+ {/* <Icon.MenuIcon style={{ fontSize: '20px' }} /> */}
<SheetBarMenu menu={menuList as ISheetBarMenuItem[]}></SheetBarMenu>
</Button>
</div>
@@ -449,10 +448,10 @@ export class SheetBar extends Component<BaseSheetBarProps, SheetState> {
{/* prev next scroll button */}
<div className={`${styles.sheetBarOptions} ${styles.sheetBarScrollButton}`}>
<Button className={styles.sheetBarOptionsButton} onClick={this.handleScrollLeft.bind(this)}>
- <Icon.NextIcon rotate={90} style={{ padding: '5px' }} />
+ {/* <Icon.NextIcon rotate={90} style={{ padding: '5px' }} /> */}
</Button>
<Button className={styles.sheetBarOptionsButton} onClick={this.handleScrollRight.bind(this)}>
- <Icon.NextIcon rotate={-90} style={{ padding: '5px' }} />
+ {/* <Icon.NextIcon rotate={-90} style={{ padding: '5px' }} /> */}
</Button>
</div>
</div>
diff --git a/packages/ui-plugin-sheets/src/View/SheetBar/SheetBarMenu.tsx b/packages/ui-plugin-sheets/src/View/SheetBar/SheetBarMenu.tsx
index 6b607eeeae..f94f82a8b2 100644
--- a/packages/ui-plugin-sheets/src/View/SheetBar/SheetBarMenu.tsx
+++ b/packages/ui-plugin-sheets/src/View/SheetBar/SheetBarMenu.tsx
@@ -1,4 +1,4 @@
-import { CustomLabel, Icon, joinClassNames } from '@univerjs/base-ui';
+import { CustomLabel, joinClassNames } from '@univerjs/base-ui';
import { Component } from 'react';
import styles from './index.module.less';
@@ -86,10 +86,10 @@ export class SheetBarMenu extends Component<ISheetBarMenuProps, IState> {
function EffIcon(props: { item: ISheetBarMenuItem }) {
if (props.item.hide) {
- return <Icon.HideIcon />;
+ // return <Icon.HideIcon />;
}
if (props.item.selected) {
- return <Icon.Format.CorrectIcon className={styles.sheetBarMenuSvg} />;
+ // return <Icon.Format.CorrectIcon className={styles.sheetBarMenuSvg} />;
}
return <></>;
}
diff --git a/packages/ui-plugin-sheets/src/controller/menu/border.menu.ts b/packages/ui-plugin-sheets/src/controller/menu/border.menu.ts
index 9108985b43..855bd2ea7b 100644
--- a/packages/ui-plugin-sheets/src/controller/menu/border.menu.ts
+++ b/packages/ui-plugin-sheets/src/controller/menu/border.menu.ts
@@ -17,61 +17,61 @@ export const LINE_BOLD_LABEL = 'CONTEXT_MENU_INPUT';
export const BORDER_LINE_CHILDREN = [
{
label: 'borderLine.borderTop',
- icon: 'TopBorderIcon',
+ icon: 'UpBorderSingle',
value: 'top',
showAfterClick: true,
},
{
label: 'borderLine.borderBottom',
- icon: 'BottomBorderIcon',
+ icon: 'DownBorderSingle',
value: 'bottom',
showAfterClick: true,
},
{
label: 'borderLine.borderLeft',
- icon: 'LeftBorderIcon',
+ icon: 'LeftBorderSingle',
value: 'left',
showAfterClick: true,
},
{
label: 'borderLine.borderRight',
- icon: 'RightBorderIcon',
+ icon: 'RightBorderSingle',
value: 'right',
showAfterClick: true,
},
{
label: 'borderLine.borderNone',
- icon: 'NoneBorderIcon',
+ icon: 'NoBorderSingle',
value: 'none',
showAfterClick: true,
},
{
label: 'borderLine.borderAll',
- icon: 'FullBorderIcon',
+ icon: 'AllBorderSingle',
value: 'all',
showAfterClick: true,
},
{
label: 'borderLine.borderOutside',
- icon: 'OuterBorderIcon',
+ icon: 'OuterBorderSingle',
value: 'outside',
showAfterClick: true,
},
{
label: 'borderLine.borderInside',
- icon: 'InnerBorderIcon',
+ icon: 'InnerBorderSingle',
value: 'inside',
showAfterClick: true,
},
{
label: 'borderLine.borderHorizontal',
- icon: 'StripingBorderIcon',
+ icon: 'InnerBorderSingle',
value: 'horizontal',
showAfterClick: true,
},
{
label: 'borderLine.borderVertical',
- icon: 'VerticalBorderIcon',
+ icon: 'InnerBorderSingle',
value: 'vertical',
showAfterClick: true,
},
@@ -132,7 +132,7 @@ export function CellBorderSelectorMenuItemFactory(accessor: IAccessor): IMenuSel
return {
id: SetBorderPositionCommand.id,
title: 'border',
- icon: 'FullBorderIcon',
+ icon: 'AllBorderSingle',
tooltip: 'toolbar.border.main',
display: DisplayTypes.ICON,
positions: [MenuPosition.TOOLBAR_START],
@@ -166,7 +166,7 @@ export function SetBorderStyleMenuItemFactory(accessor: IAccessor): IMenuSelecto
return {
id: SetBorderStyleCommand.id,
title: 'borderLine.borderType',
- label: SHEET_UI_PLUGIN_NAME + LINE_BOLD_LABEL,
+ // label: SHEET_UI_PLUGIN_NAME + LINE_BOLD_LABEL,
positions: SetBorderPositionCommand.id,
display: DisplayTypes.CUSTOM,
type: MenuItemType.SELECTOR,
diff --git a/packages/ui-plugin-sheets/src/controller/menu/menu.ts b/packages/ui-plugin-sheets/src/controller/menu/menu.ts
index a8303f4fd5..a1d18d0a0e 100644
--- a/packages/ui-plugin-sheets/src/controller/menu/menu.ts
+++ b/packages/ui-plugin-sheets/src/controller/menu/menu.ts
@@ -99,7 +99,7 @@ export function FormatPainterMenuItemFactory(accessor: IAccessor): IMenuButtonIt
id: SetOnceFormatPainterCommand.id,
subId: SetInfiniteFormatPainterCommand.id,
type: MenuItemType.BUTTON,
- icon: 'FormatPainterIcon',
+ icon: 'BrushSingle',
title: 'Format Painter',
tooltip: 'toolbar.formatPainter',
positions: [MenuPosition.TOOLBAR_START],
@@ -129,7 +129,7 @@ export function BoldMenuItemFactory(accessor: IAccessor): IMenuButtonItem {
return {
id: SetBoldCommand.id,
type: MenuItemType.BUTTON,
- icon: 'BoldIcon',
+ icon: 'BoldSingle',
title: 'Set bold',
tooltip: 'toolbar.bold',
positions: [MenuPosition.TOOLBAR_START],
@@ -185,7 +185,7 @@ export function ItalicMenuItemFactory(accessor: IAccessor): IMenuButtonItem {
return {
id: SetItalicCommand.id,
type: MenuItemType.BUTTON,
- icon: 'ItalicIcon',
+ icon: 'ItalicSingle',
title: 'Set italic',
tooltip: 'toolbar.italic',
positions: [MenuPosition.TOOLBAR_START],
@@ -243,7 +243,7 @@ export function UnderlineMenuItemFactory(accessor: IAccessor): IMenuButtonItem {
return {
id: SetUnderlineCommand.id,
type: MenuItemType.BUTTON,
- icon: 'UnderLineIcon',
+ icon: 'UnderlineSingle',
title: 'Set underline',
tooltip: 'toolbar.underline',
positions: [MenuPosition.TOOLBAR_START],
@@ -301,7 +301,7 @@ export function StrikeThroughMenuItemFactory(accessor: IAccessor): IMenuButtonIt
return {
id: SetStrikeThroughCommand.id,
type: MenuItemType.BUTTON,
- icon: 'DeleteLineIcon',
+ icon: 'StrikethroughSingle',
title: 'Set strike through',
tooltip: 'toolbar.strikethrough',
positions: [MenuPosition.TOOLBAR_START],
@@ -637,7 +637,7 @@ export function TextColorSelectorMenuItemFactory(accessor: IAccessor): IMenuSele
return {
id: SetTextColorCommand.id,
title: 'toolbar.textColor.main',
- icon: 'TextColorIcon',
+ icon: 'FontColor',
tooltip: 'toolbar.textColor.main',
type: MenuItemType.SELECTOR,
positions: [MenuPosition.TOOLBAR_START],
@@ -677,11 +677,11 @@ export function BackgroundColorSelectorMenuItemFactory(accessor: IAccessor): IMe
return {
id: SetBackgroundColorCommand.id,
tooltip: 'toolbar.fillColor.main',
- title: 'TextColorIcon',
+ title: 'FontColor',
type: MenuItemType.SELECTOR,
positions: [MenuPosition.TOOLBAR_START],
display: DisplayTypes.COLOR,
- icon: 'FillColorIcon',
+ icon: 'PaintBucket',
selections: [
{
id: SHEET_UI_PLUGIN_NAME + ColorPicker.name,
@@ -705,17 +705,17 @@ export function BackgroundColorSelectorMenuItemFactory(accessor: IAccessor): IMe
export const HORIZONTAL_ALIGN_CHILDREN = [
{
label: 'align.left',
- icon: 'LeftAlignIcon',
+ icon: 'LeftJustifyingSingle',
value: HorizontalAlign.LEFT,
},
{
label: 'align.center',
- icon: 'CenterAlignIcon',
+ icon: 'HorizontallySingle',
value: HorizontalAlign.CENTER,
},
{
label: 'align.right',
- icon: 'RightAlignIcon',
+ icon: 'RightJustifyingSingle',
value: HorizontalAlign.RIGHT,
},
];
@@ -760,17 +760,17 @@ export function HorizontalAlignMenuItemFactory(accessor: IAccessor): IMenuSelect
export const VERTICAL_ALIGN_CHILDREN = [
{
label: 'align.top',
- icon: 'TopVerticalIcon',
+ icon: 'AlignTopSingle',
value: VerticalAlign.TOP,
},
{
label: 'align.middle',
- icon: 'CenterVerticalIcon',
+ icon: 'VerticalCenterSingle',
value: VerticalAlign.MIDDLE,
},
{
label: 'align.bottom',
- icon: 'BottomVerticalIcon',
+ icon: 'AlignBottomSingle',
value: VerticalAlign.BOTTOM,
},
];
@@ -815,17 +815,17 @@ export function VerticalAlignMenuItemFactory(accessor: IAccessor): IMenuSelector
export const TEXT_WRAP_CHILDREN = [
{
label: 'textWrap.overflow',
- icon: 'OverflowIcon',
+ icon: 'OverflowSingle',
value: WrapStrategy.OVERFLOW,
},
{
label: 'textWrap.wrap',
- icon: 'BrIcon',
+ icon: 'AutowrapSingle',
value: WrapStrategy.WRAP,
},
{
label: 'textWrap.clip',
- icon: 'CutIcon',
+ icon: 'TruncationSingle',
value: WrapStrategy.CLIP,
},
];
@@ -870,32 +870,32 @@ export function WrapTextMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<
export const TEXT_ROTATE_CHILDREN = [
{
label: 'textRotate.none',
- icon: 'TextRotateIcon',
+ icon: 'NoRotationSingle',
value: 0,
},
{
label: 'textRotate.angleUp',
- icon: 'TextRotateAngleUpIcon',
+ icon: 'LeftRotationFortyFiveDegreesSingle',
value: -45,
},
{
label: 'textRotate.angleDown',
- icon: 'TextRotateAngleDownIcon',
+ icon: 'RightRotationFortyFiveDegreesSingle',
value: 45,
},
{
label: 'textRotate.vertical',
- icon: 'TextRotateVerticalIcon',
+ icon: 'VerticalTextSingle',
value: 'v',
},
{
label: 'textRotate.rotationUp',
- icon: 'TextRotateRotationUpIcon',
+ icon: 'LeftRotationNinetyDegreesSingle',
value: -90,
},
{
label: 'textRotate.rotationDown',
- icon: 'TextRotateRotationDownIcon',
+ icon: 'RightRotationNinetyDegreesSingle',
value: 90,
},
];
@@ -945,7 +945,7 @@ export function CopyMenuItemFactory(): IMenuButtonItem {
id: CopyCommand.id,
type: MenuItemType.BUTTON,
title: 'rightClick.copy',
- icon: 'Copy24',
+ icon: 'Copy',
positions: [
MenuPosition.CONTEXT_MENU,
SheetMenuPosition.COL_HEADER_CONTEXT_MENU,
@@ -972,7 +972,7 @@ export function PasteMenuItemFactory(): IMenuButtonItem {
id: PasteCommand.id,
type: MenuItemType.BUTTON,
title: 'rightClick.paste',
- icon: 'PasteSpecial24',
+ icon: 'PasteSpecial',
positions: [
MenuPosition.CONTEXT_MENU,
SheetMenuPosition.COL_HEADER_CONTEXT_MENU,
diff --git a/packages/ui-plugin-sheets/src/controller/menu/merge.menu.ts b/packages/ui-plugin-sheets/src/controller/menu/merge.menu.ts
index f083d090d5..0d63f5587a 100644
--- a/packages/ui-plugin-sheets/src/controller/menu/merge.menu.ts
+++ b/packages/ui-plugin-sheets/src/controller/menu/merge.menu.ts
@@ -16,7 +16,7 @@ export function CellMergeMenuItemFactory(accessor: IAccessor): IMenuSelectorItem
return {
id: AddWorksheetMergeCommand.id,
title: 'merge',
- icon: 'MergeIcon',
+ icon: 'MergeCellSingle',
tooltip: 'toolbar.mergeCell.main',
display: DisplayTypes.ICON,
positions: [MenuPosition.TOOLBAR_START],
diff --git a/packages/ui-plugin-sheets/src/controller/sheet-ui.controller.ts b/packages/ui-plugin-sheets/src/controller/sheet-ui.controller.ts
index dba0d55c5a..1f75fbb6aa 100644
--- a/packages/ui-plugin-sheets/src/controller/sheet-ui.controller.ts
+++ b/packages/ui-plugin-sheets/src/controller/sheet-ui.controller.ts
@@ -37,6 +37,19 @@ import {
SetCellEditVisibleOperation,
} from '../commands/operations/cell-edit.operation';
import { SetFormatPainterOperation } from '../commands/operations/set-format-painter.operation';
+import {
+ BorderDashDot,
+ BorderDashDotDot,
+ BorderDashed,
+ BorderDotted,
+ BorderHair,
+ BorderMedium,
+ BorderMediumDashDot,
+ BorderMediumDashDotDot,
+ BorderMediumDashed,
+ BorderThick,
+} from '../View/BorderLine';
+import { BorderThin } from '../View/BorderLine/BorderThin';
import { RightMenuInput } from '../View/RightMenu/RightMenuInput';
import { RightMenuItem } from '../View/RightMenu/RightMenuItem';
import { RenderSheetContent, RenderSheetFooter, RenderSheetHeader } from '../View/SheetContainer/SheetContainer';
@@ -166,6 +179,22 @@ export class SheetUIController extends Disposable {
componentManager.register(RightMenuItem.name, RightMenuItem);
componentManager.register(SHEET_UI_PLUGIN_NAME + ColorPicker.name, ColorPicker);
+ [
+ BorderThin,
+ BorderDashDot,
+ BorderDashDotDot,
+ BorderDashed,
+ BorderDotted,
+ BorderHair,
+ BorderMedium,
+ BorderMediumDashDot,
+ BorderMediumDashDotDot,
+ BorderMediumDashed,
+ BorderThick,
+ ].forEach((BorderLine) => {
+ componentManager.register(BorderLine.name, BorderLine);
+ });
+
// init commands
[
MoveSelectionCommand,
diff --git a/packages/ui-plugin-slides/src/Controller/ToolbarUIController.ts b/packages/ui-plugin-slides/src/Controller/ToolbarUIController.ts
index 24c3282f82..a7c979a57e 100644
--- a/packages/ui-plugin-slides/src/Controller/ToolbarUIController.ts
+++ b/packages/ui-plugin-slides/src/Controller/ToolbarUIController.ts
@@ -270,7 +270,7 @@ export class ToolbarUIController {
// name: 'undo',
// unActive: true,
// label: {
-// name: 'ForwardIcon',
+// name: 'UndoSingle',
// },
// show: this._config.undo,
// onClick: () => {
@@ -283,7 +283,7 @@ export class ToolbarUIController {
// tooltip: 'toolbar.redo',
// unActive: true,
// label: {
-// name: 'BackIcon',
+// name: 'RedoSingle',
// },
// name: 'redo',
// show: this._config.redo,
@@ -329,7 +329,7 @@ export class ToolbarUIController {
// toolbarType: 1,
// tooltip: 'toolbar.bold',
// label: {
-// name: 'BoldIcon',
+// name: 'BoldSingle',
// },
// active: false,
// name: 'bold',
@@ -343,7 +343,7 @@ export class ToolbarUIController {
// toolbarType: 1,
// tooltip: 'toolbar.italic',
// label: {
-// name: 'ItalicIcon',
+// name: 'ItalicSingle',
// },
// name: 'italic',
// show: this._config.italic,
@@ -356,7 +356,7 @@ export class ToolbarUIController {
// toolbarType: 1,
// tooltip: 'toolbar.strikethrough',
// label: {
-// name: 'DeleteLineIcon',
+// name: 'StrikethroughSingle',
// },
// name: 'strikethrough',
// show: this._config.strikethrough,
@@ -372,7 +372,7 @@ export class ToolbarUIController {
// toolbarType: 1,
// tooltip: 'toolbar.underline',
// label: {
-// name: 'UnderLineIcon',
+// name: 'UnderlineSingle',
// },
// name: 'underline',
// show: this._config.underline,
@@ -395,7 +395,7 @@ export class ToolbarUIController {
// },
// color: '#000',
// label: {
-// name: 'TextColorIcon',
+// name: 'FontColor',
// },
// },
// },
@@ -440,7 +440,7 @@ export class ToolbarUIController {
// },
// color: '#fff',
// label: {
-// name: 'FillColorIcon',
+// name: 'PaintBucket',
// },
// },
// },
@@ -478,7 +478,7 @@ export class ToolbarUIController {
// type: 5,
// tooltip: 'toolbar.mergeCell.main',
// label: {
-// name: 'MergeIcon',
+// name: 'MergeCellSingle',
// },
// show: this._config.mergeCell,
// onClick: (value: string) => {
diff --git a/packages/ui-plugin-slides/src/View/Toolbar/Const.ts b/packages/ui-plugin-slides/src/View/Toolbar/Const.ts
index b7dde653ce..a28369ba51 100644
--- a/packages/ui-plugin-slides/src/View/Toolbar/Const.ts
+++ b/packages/ui-plugin-slides/src/View/Toolbar/Const.ts
@@ -88,28 +88,28 @@ export const BORDER_LINE_CHILDREN = [
{
label: 'borderLine.borderTop',
suffix: {
- name: 'TopBorderIcon',
+ name: 'UpBorderSingle',
},
value: 'top',
},
{
label: 'borderLine.borderBottom',
suffix: {
- name: 'BottomBorderIcon',
+ name: 'DownBorderSingle',
},
value: 'bottom',
},
{
label: 'borderLine.borderLeft',
suffix: {
- name: 'LeftBorderIcon',
+ name: 'LeftBorderSingle',
},
value: 'left',
},
{
label: 'borderLine.borderRight',
suffix: {
- name: 'RightBorderIcon',
+ name: 'RightBorderSingle',
},
value: 'right',
border: true,
@@ -117,14 +117,14 @@ export const BORDER_LINE_CHILDREN = [
{
label: 'borderLine.borderNone',
suffix: {
- name: 'NoneBorderIcon',
+ name: 'NoBorderSingle',
},
value: 'none',
},
{
label: 'borderLine.borderAll',
suffix: {
- name: 'FullBorderIcon',
+ name: 'AllBorderSingle',
},
value: 'all',
selected: true,
@@ -132,28 +132,28 @@ export const BORDER_LINE_CHILDREN = [
{
label: 'borderLine.borderOutside',
suffix: {
- name: 'OuterBorderIcon',
+ name: 'OuterBorderSingle',
},
value: 'outside',
},
{
label: 'borderLine.borderInside',
suffix: {
- name: 'InnerBorderIcon',
+ name: 'InnerBorderSingle',
},
value: 'inside',
},
{
label: 'borderLine.borderHorizontal',
suffix: {
- name: 'StripingBorderIcon',
+ name: 'InnerBorderSingle',
},
value: 'horizontal',
},
{
label: 'borderLine.borderVertical',
suffix: {
- name: 'VerticalBorderIcon',
+ name: 'InnerBorderSingle',
},
value: 'vertical',
},
@@ -255,7 +255,7 @@ export const HORIZONTAL_ALIGN_CHILDREN = [
{
label: 'align.left',
suffix: {
- name: 'LeftAlignIcon',
+ name: 'LeftJustifyingSingle',
},
value: 1,
},
@@ -263,14 +263,14 @@ export const HORIZONTAL_ALIGN_CHILDREN = [
label: 'align.center',
selected: true,
suffix: {
- name: 'CenterAlignIcon',
+ name: 'HorizontallySingle',
},
value: 2,
},
{
label: 'align.right',
suffix: {
- name: 'RightAlignIcon',
+ name: 'RightJustifyingSingle',
},
value: 3,
},
@@ -280,21 +280,21 @@ export const VERTICAL_ALIGN_CHILDREN = [
{
label: 'align.top',
suffix: {
- name: 'TopVerticalIcon',
+ name: 'AlignTopSingle',
},
value: 1,
},
{
label: 'align.middle',
suffix: {
- name: 'CenterVerticalIcon',
+ name: 'VerticalCenterSingle',
},
value: 2,
},
{
label: 'align.bottom',
suffix: {
- name: 'BottomVerticalIcon',
+ name: 'AlignBottomSingle',
},
value: 3,
},
@@ -304,21 +304,21 @@ export const TEXT_WRAP_CHILDREN = [
{
label: 'textWrap.overflow',
suffix: {
- name: 'OverflowIcon',
+ name: 'OverflowSingle',
},
value: 1,
},
{
label: 'textWrap.wrap',
suffix: {
- name: 'BrIcon',
+ name: 'AutowrapSingle',
},
value: 3,
},
{
label: 'textWrap.clip',
suffix: {
- name: 'CutIcon',
+ name: 'TruncationSingle',
},
value: 2,
},
@@ -328,42 +328,42 @@ export const TEXT_ROTATE_CHILDREN = [
{
label: 'textRotate.none',
suffix: {
- name: 'TextRotateIcon',
+ name: 'NoRotationSingle',
},
value: 0,
},
{
label: 'textRotate.angleUp',
suffix: {
- name: 'TextRotateAngleUpIcon',
+ name: 'LeftRotationFortyFiveDegreesSingle',
},
value: -45,
},
{
label: 'textRotate.angleDown',
suffix: {
- name: 'TextRotateAngleDownIcon',
+ name: 'RightRotationFortyFiveDegreesSingle',
},
value: 45,
},
{
label: 'textRotate.vertical',
suffix: {
- name: 'TextRotateVerticalIcon',
+ name: 'VerticalTextSingle',
},
value: 'v',
},
{
label: 'textRotate.rotationUp',
suffix: {
- name: 'TextRotateRotationUpIcon',
+ name: 'LeftRotationNinetyDegreesSingle',
},
value: -90,
},
{
label: 'textRotate.rotationDown',
suffix: {
- name: 'TextRotateRotationDownIcon',
+ name: 'RightRotationNinetyDegreesSingle',
},
value: 90,
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f253cd2db5..2570705773 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -146,7 +146,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
examples/univer-sheet-ts:
dependencies:
@@ -301,7 +301,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/base-docs:
dependencies:
@@ -344,7 +344,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/base-formula-engine:
dependencies:
@@ -372,7 +372,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/base-numfmt-engine:
dependencies:
@@ -397,7 +397,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/base-render:
dependencies:
@@ -428,7 +428,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/base-sheets:
dependencies:
@@ -502,13 +502,10 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/base-ui:
dependencies:
- '@rc-component/color-picker':
- specifier: ^1.4.1
'@rc-component/trigger':
specifier: ^1.18.0
@@ -522,8 +519,8 @@ importers:
specifier: workspace:*
version: link:../design
'@univerjs/icons':
- specifier: ^0.0.10
+ specifier: ^0.1.3
'@wendellhu/redi':
specifier: ^0.12.10
version: 0.12.10
@@ -553,26 +550,26 @@ importers:
version: 7.8.1
devDependencies:
'@storybook/addon-docs':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/addon-essentials':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/addon-interactions':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/addon-links':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/blocks':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/react':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/react-vite':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/testing-library':
specifier: ^0.2.2
version: 0.2.2
@@ -601,20 +598,20 @@ importers:
specifier: ^0.19.5
version: 0.19.5
happy-dom:
- specifier: ^12.10.1
- version: 12.10.1
+ specifier: ^12.10.3
+ version: 12.10.3
less:
specifier: ^4.2.0
version: 4.2.0
storybook:
- specifier: ^7.5.1
- version: 7.5.1
+ specifier: ^7.5.2
+ version: 7.5.2
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
vitest-canvas-mock:
specifier: ^0.3.3
version: 0.3.3([email protected])
@@ -636,7 +633,7 @@ importers:
version: 0.19.5
vitest:
specifier: ^0.34.6
- version: 0.34.6
packages/core:
dependencies:
@@ -690,8 +687,8 @@ importers:
specifier: ^1.18.0
'@univerjs/icons':
- specifier: ^0.0.10
+ specifier: ^0.1.3
clsx:
specifier: ^2.0.0
version: 2.0.0
@@ -699,8 +696,8 @@ importers:
specifier: ^4.1.0
rc-input-number:
- specifier: ^8.4.0
+ specifier: ^8.5.0
rc-menu:
specifier: ^9.12.2
@@ -721,26 +718,26 @@ importers:
devDependencies:
'@storybook/addon-docs':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/addon-essentials':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/addon-interactions':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/addon-links':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/blocks':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/react':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/react-vite':
- specifier: ^7.5.1
+ specifier: ^7.5.2
'@storybook/testing-library':
specifier: ^0.2.2
version: 0.2.2
@@ -769,23 +766,20 @@ importers:
specifier: ^0.19.5
version: 0.19.5
happy-dom:
- specifier: ^12.10.1
- version: 12.10.1
+ specifier: ^12.10.3
+ version: 12.10.3
less:
specifier: ^4.2.0
version: 4.2.0
storybook:
- specifier: ^7.5.1
- version: 7.5.1
+ specifier: ^7.5.2
+ version: 7.5.2
ts-node:
specifier: ^10.9.1
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
- vitest-canvas-mock:
- specifier: ^0.3.3
- version: 0.3.3([email protected])
packages/sheets-plugin-debugger:
dependencies:
@@ -858,7 +852,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/sheets-plugin-formula:
dependencies:
@@ -916,7 +910,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/sheets-plugin-image:
dependencies:
@@ -974,7 +968,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/sheets-plugin-import-xlsx:
dependencies:
@@ -1020,7 +1014,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/sheets-plugin-numfmt:
dependencies:
@@ -1078,7 +1072,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/ui-plugin-docs:
dependencies:
@@ -1127,7 +1121,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages/ui-plugin-sheets:
dependencies:
@@ -1237,7 +1231,7 @@ importers:
version: 10.9.1(@types/[email protected])([email protected])
vitest:
specifier: ^0.34.6
packages:
@@ -4325,8 +4319,8 @@ packages:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: true
- resolution: {integrity: sha512-GieD3ru6EslKvwol1cE4lvszQCLB/AkQdnLofnqy1nnYso+hRxmPAw9/O+pWfpUBFdjXsQ7GX09+wEUpOJzepw==}
+ resolution: {integrity: sha512-jKF3rrMEu42TgZ5AEszADpVdASDu1S4Ozp1Ymf4akHLkaMOv+yzzD7LV6YGjJz8S2IryndZqE47e6stF0T99uA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4336,14 +4330,14 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/theming': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/theming': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
dequal: 2.0.3
lodash: 4.17.21
polished: 4.2.2
@@ -4359,8 +4353,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-XZoyJw/WoUlVvQHPTbSAZjKy2SEUjaSmAWgcRync25vp+q0obthjx6UnZHEUuH8Ud07HA3FYzlFtMicH5y/OIQ==}
+ resolution: {integrity: sha512-CII8c+db8sVciWjFY0ProZi5E2d+cOc+XlVHCAVaUYp2Bp/1MV7en8etfLK7DEoH6kBVz1+t3TaPU+xjUTR8Ig==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4370,14 +4364,14 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/theming': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/theming': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
memoizerific: 1.11.3
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -4387,8 +4381,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-Xag1e7TZo04LjUenfobkShpKMxTtwa4xM4bXQA8LjaAGZQ7jipbQ4PE73a17K59S2vqq89VAhkuMJWiyaOFqpw==}
+ resolution: {integrity: sha512-f04VcBSfm3yMT1hvaFEwCRbdwiXQbddfEwhwjEVsqd+CA0s600W4L7B8tT4daXMsU6NsZyibev910IKTnDw6xQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4398,16 +4392,16 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/blocks': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-common': 7.5.1
- '@storybook/core-events': 7.5.1
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/node-logger': 7.5.1
- '@storybook/preview-api': 7.5.1
- '@storybook/theming': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/blocks': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-common': 7.5.2
+ '@storybook/core-events': 7.5.2
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/node-logger': 7.5.2
+ '@storybook/preview-api': 7.5.2
+ '@storybook/theming': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
lodash: 4.17.21
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -4419,27 +4413,27 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-+wE67oWIhGK9+kv2sxoY2KDXm3v62RfEgxiksdhtffTP/joOK3p88S0lO+8g0G4xfNGUnBhPtzGMuUxWwaH2Pw==}
+ resolution: {integrity: sha512-KxX4XuxK6YcI2mUosFkAlueMon/nby6mp3GRHenuK+nobY0ecfILqSTbsOeO1wqPxALBoq7fLnrgYhdDlandgQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
'@jest/transform': 29.7.0
'@mdx-js/react': 2.3.0([email protected])
- '@storybook/blocks': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/csf-plugin': 7.5.1
- '@storybook/csf-tools': 7.5.1
+ '@storybook/blocks': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/csf-plugin': 7.5.2
+ '@storybook/csf-tools': 7.5.2
'@storybook/global': 5.0.0
'@storybook/mdx2-csf': 1.1.0
- '@storybook/node-logger': 7.5.1
- '@storybook/postinstall': 7.5.1
- '@storybook/preview-api': 7.5.1
- '@storybook/react-dom-shim': 7.5.1([email protected])([email protected])
- '@storybook/theming': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/node-logger': 7.5.2
+ '@storybook/postinstall': 7.5.2
+ '@storybook/preview-api': 7.5.2
+ '@storybook/react-dom-shim': 7.5.2([email protected])([email protected])
+ '@storybook/theming': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
fs-extra: 11.1.1
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -4453,25 +4447,25 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-/jaUZXV+mE/2G5PgEpFKm4lFEHluWn6GFR/pg+hphvHOzBGA3Y75JMgUfJ5CDYHB1dAVSf9JrPOd8Eb1tpESfA==}
+ resolution: {integrity: sha512-bN7Q+8J3xVgNoBKCwtyX1O5jXuuJavYdAPiPQGrt6YegUi3gVfr5n/+/mNlu6Fd5AThFcVFei6gS9aiYmU/h8g==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
- '@storybook/addon-actions': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-backgrounds': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-controls': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-docs': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-highlight': 7.5.1
- '@storybook/addon-measure': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-outline': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-toolbars': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/addon-viewport': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-common': 7.5.1
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/node-logger': 7.5.1
- '@storybook/preview-api': 7.5.1
+ '@storybook/addon-actions': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-backgrounds': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-controls': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-docs': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-highlight': 7.5.2
+ '@storybook/addon-measure': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-outline': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-toolbars': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/addon-viewport': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-common': 7.5.2
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/node-logger': 7.5.2
+ '@storybook/preview-api': 7.5.2
react: 18.2.0
react-dom: 18.2.0([email protected])
ts-dedent: 2.2.0
@@ -4482,16 +4476,16 @@ packages:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-js9OV17kpjRowuaGAPfI9aOn/zzt8P589ACZE+/eYBO9jT65CADwAUxg//Uq0/he+Ac9495pcK3BcYyDeym7/g==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-0vek42fHh7Aeinvkwge0ZTq5VfNsuMSejUv0wHa3zQWgUmlaRlGY8zDw7nG6LiIz6rnTBDTznsfyWenAySSHXg==}
dependencies:
- '@storybook/core-events': 7.5.1
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/preview-api': 7.5.1
+ '@storybook/preview-api': 7.5.2
dev: true
- resolution: {integrity: sha512-m9yohFYil+UBwYKFxHYdsAsn8PBCPl6HY/FSgfrDc5PiqT1Ya7paXopimyy9ok+VQt/RC8sEWIm809ONEoxosw==}
+ resolution: {integrity: sha512-upddA+pvJtU3pRZqu3Chl5QbVfVv2eCIuUxaAG9rvasaqkLTTrNvna8rmnXwqL8sBKHL1XzSyO2sQF4vzQwymg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4501,16 +4495,16 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-common': 7.5.1
- '@storybook/core-events': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-common': 7.5.2
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/instrumenter': 7.5.1
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/theming': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/instrumenter': 7.5.2
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/theming': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
jest-mock: 27.5.1
polished: 4.2.2
react: 18.2.0
@@ -4523,8 +4517,8 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-KDiQYAVNXxuVTB3QLFZxHlfT8q4KnlNKY+0OODvgD5o1FqFpIyUiR5mIBL4SZMRj2EtwrR3KmZ2UPccFZdu9vw==}
+ resolution: {integrity: sha512-IhUYNOJQYJd8Cnb93l8egnGCGhHV0VHo6HmZT9YjBVuUtetGQbW8Eoh0pQwuklUrJ3jLPwMoKFhN1irQXJjZwQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4534,22 +4528,22 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/core-events': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/core-events': 7.5.2
'@storybook/csf': 0.1.1
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/router': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/router': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
prop-types: 15.8.1
react: 18.2.0
react-dom: 18.2.0([email protected])
ts-dedent: 2.2.0
dev: true
- resolution: {integrity: sha512-yR6oELJe0UHYxRijd1YMuGaQRlZ3uABjmrXaFCPnd6agahgTwIJLiK4XamtkVur//LaiJMvtmM2XXrkJ1BvNJw==}
+ resolution: {integrity: sha512-fkvORLaYVC/yNMFzHRHmzlvniY7sWtpFxaRW+e4++hGXYV4VQjOBlXzdMxQhAg1DCVWD6QV8xnUQPBGrsEklog==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4559,13 +4553,13 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/types': 7.5.1
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/types': 7.5.2
react: 18.2.0
react-dom: 18.2.0([email protected])
tiny-invariant: 1.3.1
@@ -4574,8 +4568,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-IMi5Bo34/Q5YUG5uD8ZUTBwlpGrkDIV+PUgkyNIbmn9OgozoCH80Fs7YlGluRFODQISpHwio9qvSFRGdSNT56A==}
+ resolution: {integrity: sha512-BgDnVzE9xCN1xwuCebK6+apNCtVcw1ToW8N6R3vNgXgNPE1euT3jxkDH7K4RJR24Flu6BotWjX3dqv8k+8xGKw==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4585,13 +4579,13 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/types': 7.5.1
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/types': 7.5.2
react: 18.2.0
react-dom: 18.2.0([email protected])
ts-dedent: 2.2.0
@@ -4600,8 +4594,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-T88hEEQicV6eCovr5TN2nFgKt7wU0o7pAunP5cU01iiVRj63+oQiVIBB8Xtm4tN+/DsqtyP0BTa6rFwt2ULy8A==}
+ resolution: {integrity: sha512-BXzb5NOpILFOM7EOBxcF2Qj/q6BicWZ1AvAddORWGmqSa/MxMIa4X52oKXFUTHKBkrTO1X0XqHmoF88qm3TUFg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4611,11 +4605,11 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/theming': 7.5.1([email protected])([email protected])
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/theming': 7.5.2([email protected])([email protected])
react: 18.2.0
react-dom: 18.2.0([email protected])
transitivePeerDependencies:
@@ -4623,8 +4617,8 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-L57lOGB3LfKgAdLinaZojRQ9W9w2RC0iP9bVaXwrRVeJdpNayfuW4Kh1C8dmacZroB4Zp2U/nEjkSmdcp6uUWg==}
+ resolution: {integrity: sha512-qN5X9vgp0v+WGXyFBHQ/CqjdtmnCoHhUjqXmBxEGBziJz/tZwWwtTGWeUUZpuTjCGiZutLrizOFl5MqQAI+ipg==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -4634,13 +4628,13 @@ packages:
react-dom:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/theming': 7.5.1([email protected])([email protected])
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/theming': 7.5.2([email protected])([email protected])
memoizerific: 1.11.3
prop-types: 15.8.1
react: 18.2.0
@@ -4650,23 +4644,23 @@ packages:
- '@types/react-dom'
dev: true
- resolution: {integrity: sha512-7b69p6kDdgmlejEMM2mW6/Lz4OmU/R3Qr+TpKnPcV5iS7ADxRQEQCTEMoQ5RyLJf0vDRh/7Ljn/RMo8Ux3X7JA==}
+ resolution: {integrity: sha512-Tf6XE/YcnWQVBJRcJWJzhkahjSymv6QZuxMAiKFD8v48QRJ8kTxz1tBN9676Ux+l1WwtVWxwvd/0kRKKxE70wQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
- '@storybook/channels': 7.5.1
- '@storybook/client-logger': 7.5.1
- '@storybook/components': 7.5.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/core-events': 7.5.1
+ '@storybook/channels': 7.5.2
+ '@storybook/client-logger': 7.5.2
+ '@storybook/components': 7.5.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
+ '@storybook/core-events': 7.5.2
'@storybook/csf': 0.1.1
- '@storybook/docs-tools': 7.5.1
+ '@storybook/docs-tools': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/manager-api': 7.5.1([email protected])([email protected])
- '@storybook/preview-api': 7.5.1
- '@storybook/theming': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/manager-api': 7.5.2([email protected])([email protected])
+ '@storybook/preview-api': 7.5.2
+ '@storybook/theming': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
'@types/lodash': 4.14.198
color-convert: 2.0.1
dequal: 2.0.3
@@ -4688,13 +4682,13 @@ packages:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-a02kg/DCcYgiTz+7rw4KdvQzif+2lZ+NIFF5U5u8SDoCQuoe3wRT6QBrFYQTxJexA4WfO6cpyRLDJ1rx6NLo8A==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-s4gOudrft/E4lQ19YNrzL2VJwMEpdY6z319fTlc16J1F6XZSytw6CIZPs3x9yX5CKf4/leWnN5etODaOx7NajQ==}
dependencies:
'@fal-works/esbuild-plugin-global-externals': 2.1.2
- '@storybook/core-common': 7.5.1
- '@storybook/manager': 7.5.1
- '@storybook/node-logger': 7.5.1
+ '@storybook/core-common': 7.5.2
+ '@storybook/manager': 7.5.2
+ '@storybook/node-logger': 7.5.2
'@types/ejs': 3.1.2
'@types/find-cache-dir': 3.2.1
'@yarnpkg/esbuild-plugin-pnp': 3.0.0-rc.15([email protected])
@@ -4712,8 +4706,8 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-fsF4LsxroVvjBJoI5AvRA6euhpYrb5euii5kPzrsWXLOn6gDBK0jQ0looep/io7J45MisDjRTPp14A02pi1bkw==}
+ resolution: {integrity: sha512-j96m5K0ahlAjQY6uUxEbybvmRFc3eMpQ3wiosuunc8NkXtfohXZeRVQowAcVrfPktKMufRNGY86RTYxe7sMABw==}
peerDependencies:
'@preact/preset-vite': '*'
typescript: '>= 4.3.x'
@@ -4727,14 +4721,14 @@ packages:
vite-plugin-glimmerx:
optional: true
dependencies:
- '@storybook/channels': 7.5.1
- '@storybook/client-logger': 7.5.1
- '@storybook/core-common': 7.5.1
- '@storybook/csf-plugin': 7.5.1
- '@storybook/node-logger': 7.5.1
- '@storybook/preview': 7.5.1
- '@storybook/preview-api': 7.5.1
- '@storybook/types': 7.5.1
+ '@storybook/channels': 7.5.2
+ '@storybook/client-logger': 7.5.2
+ '@storybook/core-common': 7.5.2
+ '@storybook/csf-plugin': 7.5.2
+ '@storybook/node-logger': 7.5.2
+ '@storybook/preview': 7.5.2
+ '@storybook/preview-api': 7.5.2
+ '@storybook/types': 7.5.2
'@types/find-cache-dir': 3.2.1
browser-assert: 1.2.1
es-module-lexer: 0.9.3
@@ -4750,33 +4744,33 @@ packages:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-7hTGHqvtdFTqRx8LuCznOpqPBYfUeMUt/0IIp7SFuZT585yMPxrYoaK//QmLEWnPb80B8HVTSQi7caUkJb32LA==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-3SgqWq9NS0XX1QxK3riuaOLrReHWwVhI63u6q1ryDD3SttpmAezZETibOAtzDuk2FKgsyHTmAlmcGQf4ZxhOJA==}
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/core-events': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
qs: 6.11.2
telejson: 7.2.0
tiny-invariant: 1.3.1
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-qKIJs8gqXTy0eSEbt0OW5nsJqiV/2+N1eWoiBiIxoZ+8b0ACXIAUcE/N6AsEDUqIq8AMK7lebqjEfIAt2Sp7Mg==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-8JPvA/K66zBmRFpRRwsD0JLqZUODRrGmNuAWx+Bj1K8wqbg68MYnOflbkSIxIVxrfhd39OrffV0h8CwKNL9gAg==}
hasBin: true
dependencies:
'@babel/core': 7.23.0
'@babel/preset-env': 7.22.15(@babel/[email protected])
'@babel/types': 7.23.0
'@ndelangen/get-tarball': 3.0.9
- '@storybook/codemod': 7.5.1
- '@storybook/core-common': 7.5.1
- '@storybook/core-events': 7.5.1
- '@storybook/core-server': 7.5.1
- '@storybook/csf-tools': 7.5.1
- '@storybook/node-logger': 7.5.1
- '@storybook/telemetry': 7.5.1
- '@storybook/types': 7.5.1
+ '@storybook/codemod': 7.5.2
+ '@storybook/core-common': 7.5.2
+ '@storybook/core-events': 7.5.2
+ '@storybook/core-server': 7.5.2
+ '@storybook/csf-tools': 7.5.2
+ '@storybook/node-logger': 7.5.2
+ '@storybook/telemetry': 7.5.2
+ '@storybook/types': 7.5.2
'@types/semver': 7.5.1
'@yarnpkg/fslib': 2.10.3
'@yarnpkg/libzip': 2.3.0
@@ -4813,22 +4807,22 @@ packages:
- utf-8-validate
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-XxbLvg0aQRoBrzxYLcVYCbjDkGbkU8Rfb74XbV2CLiO2bIbFPmA1l1Nwbp+wkCGA+O6Z1zwzSl6wcKKqZ6XZCg==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-7YgLItlmiYDzWYexTaRNuHhtFarh9krsI+8l7Yjn9ryoHSTJUcTWx+yPJm1II+PQR8v/x5UgsxzultjgEurfRQ==}
dependencies:
'@storybook/global': 5.0.0
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-PqHGOz/CZnRG9pWgshezCacu524CrXOJrCOwMUP9OMpH0Jk/NhBkHaBZrB8wMjn5hekTj0UmRa/EN8wJm9CCUQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-PxZg0w4OlmFB4dBzB+sCgwmHNke0n1N8vNooxtcuusrLKlbUfmssYRnQn6yRSJw0WfkUYgI10CWxGaamaOFekA==}
dependencies:
'@babel/core': 7.23.0
'@babel/preset-env': 7.22.15(@babel/[email protected])
'@babel/types': 7.23.0
'@storybook/csf': 0.1.1
- '@storybook/csf-tools': 7.5.1
- '@storybook/node-logger': 7.5.1
- '@storybook/types': 7.5.1
+ '@storybook/csf-tools': 7.5.2
+ '@storybook/node-logger': 7.5.2
+ '@storybook/types': 7.5.2
'@types/cross-spawn': 6.0.3
cross-spawn: 7.0.3
globby: 11.1.0
@@ -4840,19 +4834,19 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-fdzzxGBV/Fj9pYwfYL3RZsVUHeBqlfLMBP/L6mPmjaZSwHFqkaRZZUajZc57lCtI+TOy2gY6WH3cPavEtqtgLw==}
+ resolution: {integrity: sha512-OP+o6AoxoQDbqjk/jdQ1arlc1T8601eCL+rS1dJY9EtAFq7Z0LEFtafhEW/Lx8FotfVGjfCNptH9ODhHU6e5Jw==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
'@radix-ui/react-select': 1.2.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
'@radix-ui/react-toolbar': 1.0.4(@types/[email protected])(@types/[email protected])([email protected])([email protected])
- '@storybook/client-logger': 7.5.1
+ '@storybook/client-logger': 7.5.2
'@storybook/csf': 0.1.1
'@storybook/global': 5.0.0
- '@storybook/theming': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/theming': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
memoizerific: 1.11.3
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -4863,19 +4857,19 @@ packages:
- '@types/react-dom'
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-K651UnNKkW8U078CH5rcUqf0siGcfEhwya2yQN5RBb/H78HSLBLdYgzKqxaKtmz+S8DFyWhrgbXZLdBjavozJg==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-mMDSBxc7esMCu0FOkama9XYHzIHYGhBj8roX+XaTaLDYXaw/UajcCuzcO7fFBHNn3Vdqh2ufIxlI7359v3IqPw==}
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/preview-api': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/preview-api': 7.5.2
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-/rQ0/xvxFHSGCgIkK74HrgDMnzfYtDYTCoSod/qCTojfs9aciX+JYgvo5ChPnI/LEKWwxRTkrE7pl2u5+C4XGA==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-js7fIH4wHS08dBuIVsr3JnwMtKn5O1Izc/Zor4t6PntLWkGGX4X/GxbOkasGX5SkCT1qUtB9RpdPd1sUkLhIgw==}
dependencies:
- '@storybook/core-events': 7.5.1
- '@storybook/node-logger': 7.5.1
- '@storybook/types': 7.5.1
+ '@storybook/core-events': 7.5.2
+ '@storybook/node-logger': 7.5.2
+ '@storybook/types': 7.5.2
'@types/find-cache-dir': 3.2.1
'@types/node': 18.18.4
'@types/node-fetch': 2.6.4
@@ -4901,30 +4895,30 @@ packages:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-2eyaUhTfmEEqOEZVoCXVITCBn6N7QuZCG2UNxv0l//ED+7MuMiFhVw7kS7H3WOVk65R7gb8qbKFTNX8HFTgBHg==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-DV8bFEFVKDEvaH87KYPXDE0YEV+Y9yjFv2xxmC9pF8l+MWCtVW72RBLhB+gU5NM1bkHrRDNb0lOJfVGKlhxOog==}
dependencies:
ts-dedent: 2.2.0
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-DD4BXCH91aZJoFuu0cQwG1ZUmE59kG5pazuE3S89zH1GwKS1jWyeAv4EwEfvynT5Ah1ctd8QdCZCSXVzjq0qcw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-4oXpy1L/NyHiz/OXNUFnSeMLA/+lTgQAlVx86pRbEBDj6snt1/NSx2+yZyFtZ/XTnJ22BPpM8IIrgm95ZlQKmA==}
dependencies:
'@aw-web-design/x-default-browser': 1.4.126
'@discoveryjs/json-ext': 0.5.7
- '@storybook/builder-manager': 7.5.1
- '@storybook/channels': 7.5.1
- '@storybook/core-common': 7.5.1
- '@storybook/core-events': 7.5.1
+ '@storybook/builder-manager': 7.5.2
+ '@storybook/channels': 7.5.2
+ '@storybook/core-common': 7.5.2
+ '@storybook/core-events': 7.5.2
'@storybook/csf': 0.1.1
- '@storybook/csf-tools': 7.5.1
+ '@storybook/csf-tools': 7.5.2
'@storybook/docs-mdx': 0.1.0
'@storybook/global': 5.0.0
- '@storybook/manager': 7.5.1
- '@storybook/node-logger': 7.5.1
- '@storybook/preview-api': 7.5.1
- '@storybook/telemetry': 7.5.1
- '@storybook/types': 7.5.1
+ '@storybook/manager': 7.5.2
+ '@storybook/node-logger': 7.5.2
+ '@storybook/preview-api': 7.5.2
+ '@storybook/telemetry': 7.5.2
+ '@storybook/types': 7.5.2
'@types/detect-port': 1.3.3
'@types/node': 18.18.4
'@types/pretty-hrtime': 1.0.1
@@ -4958,24 +4952,24 @@ packages:
- utf-8-validate
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-jhV2aCZhSIXUiQDcHtuCg3dyYMzjYHTwLb4cJtkNw4sXqQoTGydTSWYwWigcHFfKGoyQp82rSgE1hE4YYx6iew==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-ndjn1ia2rQLO1r1z6mXv6nipLzJMwWJp31h16lQUXIBQEOiGKjGGvObiuKaad3nNHxWHpGra4zUg7R+54Yw0Hw==}
dependencies:
- '@storybook/csf-tools': 7.5.1
+ '@storybook/csf-tools': 7.5.2
unplugin: 1.4.0
transitivePeerDependencies:
- supports-color
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-YChGbT1/odLS4RLb2HtK7ixM7mH5s7G5nOsWGKXalbza4SFKZIU2UzllEUsA+X8YfxMHnCD5TC3xLfK0ByxmzQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-yXaEDREc2wvkjYkQqDMatJw23f0fEFhMIf/zBNF7YljeYw0j8jAg/7XI5WJJSN2KTxD/feD/yD+6eaLUXvrneQ==}
dependencies:
'@babel/generator': 7.23.0
'@babel/parser': 7.23.0
'@babel/traverse': 7.23.0
'@babel/types': 7.23.0
'@storybook/csf': 0.1.1
- '@storybook/types': 7.5.1
+ '@storybook/types': 7.5.2
fs-extra: 11.1.1
recast: 0.23.4
ts-dedent: 2.2.0
@@ -4993,12 +4987,12 @@ packages:
resolution: {integrity: sha512-JDaBR9lwVY4eSH5W8EGHrhODjygPd6QImRbwjAuJNEnY0Vw4ie3bPkeGfnacB3OBW6u/agqPv2aRlR46JcAQLg==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-tDtQGeKU5Kc2XoqZ5vpeGQrOkRg2UoDiSRS6cLy+M/sMB03Annq0ZngnJXaMiv0DLi2zpWSgWqPgYA3TJTZHBw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-mBiZFhzMA2ub7wX0ho3UqKqKXO+xUi/rqb4KV4PihLKlhThEdzKyYrIZO4W90NOmlp1yUJJcjG8D8SUPuHQoTw==}
dependencies:
- '@storybook/core-common': 7.5.1
- '@storybook/preview-api': 7.5.1
- '@storybook/types': 7.5.1
+ '@storybook/core-common': 7.5.2
+ '@storybook/preview-api': 7.5.2
+ '@storybook/types': 7.5.2
'@types/doctrine': 0.0.3
doctrine: 3.0.0
lodash: 4.17.21
@@ -5011,30 +5005,30 @@ packages:
resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-bxRoWVVLlevqTFappXj1JfZlvEceBiBPdQQqTTeeA09VL3UyFWDpPFRn8Wf2C43Vt4V18w+krMyb1KfTk37ROQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-1l36cc7GaVeTiknhToZcaqI6RsIOfcBgdnvgJ0tiL1naN1GkneCMr+1oLWnlHVrWIOXgh6vNyD792kE3uTLkFg==}
dependencies:
- '@storybook/channels': 7.5.1
- '@storybook/client-logger': 7.5.1
- '@storybook/core-events': 7.5.1
+ '@storybook/channels': 7.5.2
+ '@storybook/client-logger': 7.5.2
+ '@storybook/core-events': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/preview-api': 7.5.1
+ '@storybook/preview-api': 7.5.2
dev: true
- resolution: {integrity: sha512-ygwJywluhhE1dpA0jC2D/3NFhMXzFCt+iW4m3cOwexYTuiDWF66AbGOFBx9peE7Wk/Z9doKkf9E3v11enwaidA==}
+ resolution: {integrity: sha512-WX8GjBkITRQzhQ08WEAVjdDW8QqqIQhWOpFzXUYCxCNzt1eSALI31QQ+M1/MYymw+TOkotC/SMcn/puIAm4rdA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
- '@storybook/channels': 7.5.1
- '@storybook/client-logger': 7.5.1
- '@storybook/core-events': 7.5.1
+ '@storybook/channels': 7.5.2
+ '@storybook/client-logger': 7.5.2
+ '@storybook/core-events': 7.5.2
'@storybook/csf': 0.1.1
'@storybook/global': 5.0.0
- '@storybook/router': 7.5.1([email protected])([email protected])
- '@storybook/theming': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/router': 7.5.2([email protected])([email protected])
+ '@storybook/theming': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
dequal: 2.0.3
lodash: 4.17.21
memoizerific: 1.11.3
@@ -5046,31 +5040,31 @@ packages:
ts-dedent: 2.2.0
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-Jo83sj7KvsZ78vvqjH72ErmQ31Frx6GBLbpeYXZtbAXWl0/LHsxAEVz0Mke+DixzWDyP0/cn+Nw8QUfA+Oz1fg==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-5l1z9SpCFQBcHjC5mbfWQ8mPTYFxD8GQ9mNZ6PPrj47yu9TyCRYSQj7A8ZXJiIY1ZEg4a2BCW7fPUYG+lX6Drw==}
dev: true
/@storybook/[email protected]:
resolution: {integrity: sha512-TXJJd5RAKakWx4BtpwvSNdgTDkKM6RkXU8GK34S/LhidQ5Pjz3wcnqb0TxEkfhK/ztbP8nKHqXFwLfa2CYkvQw==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-xRMdL5YPe8C9sgJ1R0QD3YbiLjDGrfQk91+GplRD8N9FVCT5dki55Bv5Kp0FpemLYYg6uxAZL5nHmsZHKDKQoA==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-VIBuwPJOylu8vJofk1VfmqxlhXgbBgV0pCTo/UzdQAbc3w5y+qNRemf8goWxYEY+L9p6oUXqm/i9+bNGyX7/Mw==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-+LFUe2nNbmmLPKNt34RXSSC1r40yGGOoP/qlaPFwNOgQN2AZUrfqk6ZYnw6LjmcuHpQInZ4y4WDgbzg6QQL3+w==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-fKgyV1fAgckDoxQkUGJl5uzjzGC5esC/nITiCjccZFrqxt9mgmz4VAUkMeseD5tfWQ5oFA0Xdgtrrcl39+chnw==}
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-8xjUbuGmHLmw8tfTUCjXSvMM9r96JaexPFmHdwW6XLe71KKdWp8u96vRDRE5648cd+/of15OjaRtakRKqluA/A==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-rpmHR/09UBSnorDBTcE7JgHUQjZLO146NCI+vbI7Pqfb4QX/8lhwkFr4cuHRAR16mv6DAJbDVoPETO0Z/CH9aw==}
dependencies:
- '@storybook/channels': 7.5.1
- '@storybook/client-logger': 7.5.1
- '@storybook/core-events': 7.5.1
+ '@storybook/channels': 7.5.2
+ '@storybook/client-logger': 7.5.2
+ '@storybook/core-events': 7.5.2
'@storybook/csf': 0.1.1
'@storybook/global': 5.0.0
- '@storybook/types': 7.5.1
+ '@storybook/types': 7.5.2
'@types/qs': 6.9.8
dequal: 2.0.3
lodash: 4.17.21
@@ -5081,12 +5075,12 @@ packages:
util-deprecate: 1.0.2
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-nfZC103z9Cy27FrJKUr2IjDuVt8Mvn1Z5gZ0TtJihoK7sfLTv29nd/XU9zzrb/epM3o8UEzc63xZZsMaToDbAw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-dA5VpHp0D9nh9/wOzWP8At1wtz/SiaMBbwaiEOFTFUGcPerrkroEWadIlSSB7vgQJ9yWiD4l3KDaS8ANzHWtPQ==}
dev: true
- resolution: {integrity: sha512-bzTIfLm91O9h3rPYJLtRbmsPARerY3z7MoyvadGp8TikvIvf+WyT/vHujw+20SxnqiZVq5Jv65FFlxc46GGB1Q==}
+ resolution: {integrity: sha512-x7h3TTLRLs8mrsCBKXbvjBRFms73XrNlm0Lo5Tu/Tf//+pwOFq+2sGBkqbRkYd54jNHhpqNF7+UUdzA93ESnbQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5095,8 +5089,8 @@ packages:
react-dom: 18.2.0([email protected])
dev: true
- resolution: {integrity: sha512-996/CtOqTjDWMKBGcHG8pwIVlORnoknLD+OTkPXl+aAl9oM9jUtc7psVKLJKGHSHTlVElM2wMTwIHnJ4yeP7bw==}
+ resolution: {integrity: sha512-faYGER/qU/jeaMEf5kgx4dNeKno+HkCEviXo/bgRswRg7odW5XydlGGSATOYLYxLhWG6jztaYHYIaDk21KoOVA==}
engines: {node: '>=16'}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5105,8 +5099,8 @@ packages:
dependencies:
'@joshwooding/vite-plugin-react-docgen-typescript': 0.3.0([email protected])([email protected])
'@rollup/pluginutils': 5.0.4
- '@storybook/builder-vite': 7.5.1([email protected])([email protected])
+ '@storybook/builder-vite': 7.5.2([email protected])([email protected])
'@vitejs/plugin-react': 3.1.0([email protected])
magic-string: 0.30.3
react: 18.2.0
@@ -5122,8 +5116,8 @@ packages:
- vite-plugin-glimmerx
dev: true
- resolution: {integrity: sha512-IG97c30fFSmPyGpJ1awHC/+9XnCTqleeOQwROXjroMHSm8m/JTWpHMVLyM1x7b6VAnBhNHWJ+oXLZe/hXkXfpA==}
+ resolution: {integrity: sha512-7X8GtqvRjWmVS112ifChJMxfD15rMVg5m3t6apZqi0uui1S/DImAveHwz8M4FhsElW6MIHs5xK0uJhR9rVQgTA==}
engines: {node: '>=16.0.0'}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
@@ -5133,13 +5127,13 @@ packages:
typescript:
optional: true
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/core-client': 7.5.1
- '@storybook/docs-tools': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/core-client': 7.5.2
+ '@storybook/docs-tools': 7.5.2
'@storybook/global': 5.0.0
- '@storybook/preview-api': 7.5.1
- '@storybook/react-dom-shim': 7.5.1([email protected])([email protected])
- '@storybook/types': 7.5.1
+ '@storybook/preview-api': 7.5.2
+ '@storybook/react-dom-shim': 7.5.2([email protected])([email protected])
+ '@storybook/types': 7.5.2
'@types/escodegen': 0.0.6
'@types/estree': 0.0.51
'@types/node': 18.18.4
@@ -5162,25 +5156,25 @@ packages:
- supports-color
dev: true
- resolution: {integrity: sha512-BvKo+IxWwo3dfIG1+vLtZLT4qqkNHL5GTIozTyX04uqt9ByYZL6SJEzxEa1Xn6Qq/fbdQwzCanNHbTlwiTMf7Q==}
+ resolution: {integrity: sha512-jlh48TVUlqvGkU8MnkVp9SrCHomWGtQGx1WMK94NMyOPVPTLWzM6LjIybgmHz0MTe4lpzmbiIOfSlU3pPX054w==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
- '@storybook/client-logger': 7.5.1
+ '@storybook/client-logger': 7.5.2
memoizerific: 1.11.3
qs: 6.11.2
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-z9PGouNqvZ2F7vD79qDF4PN7iW3kE3MO7YX0iKTmzgLi4ImKuXIJRF04GRH8r+WYghnbomAyA4o6z9YJMdNuVw==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-tUgrcIx1vTMhTySp11JbBnWLsaMUNlil5yuOWEJy5i71E4Xy/2hYUtLfxzgXWd/0W7eTl4p2tjUk9uS8AP+S0Q==}
dependencies:
- '@storybook/client-logger': 7.5.1
- '@storybook/core-common': 7.5.1
- '@storybook/csf-tools': 7.5.1
+ '@storybook/client-logger': 7.5.2
+ '@storybook/core-common': 7.5.2
+ '@storybook/csf-tools': 7.5.2
chalk: 4.1.2
detect-package-manager: 2.0.1
fetch-retry: 5.0.6
@@ -5199,24 +5193,24 @@ packages:
ts-dedent: 2.2.0
dev: true
- resolution: {integrity: sha512-ETLAOn10hI4Mkmjsr0HGcM6HbzaURrrPBYmfXOrdbrzEVN+AHW4FlvP9d8fYyP1gdjPE1F39XvF0jYgt1zXiHQ==}
+ resolution: {integrity: sha512-DZBTcYErSYvmTYsGz7lKtiIcBe8flBw5Ojp52r3O4GcRYG4AbuUwwVvehz+O1cWaS+UW3HavrcgapERH7ZHd1A==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
'@emotion/use-insertion-effect-with-fallbacks': 1.0.1([email protected])
- '@storybook/client-logger': 7.5.1
+ '@storybook/client-logger': 7.5.2
'@storybook/global': 5.0.0
memoizerific: 1.11.3
react: 18.2.0
react-dom: 18.2.0([email protected])
dev: true
- /@storybook/[email protected]:
- resolution: {integrity: sha512-ZcMSaqFNx1E+G00nRDUi8kKL7gxJVlnCvbKLNj3V85guy4DkIYAZr31yDqze07gDWbjvKoHIp3tKpgE+2i8upQ==}
+ /@storybook/[email protected]:
+ resolution: {integrity: sha512-RDKHo6WUES+4nt7uZMfankjxdpYX2EI2GpJ2n2RPcnhzmb/ub1huNTjbzDEYMqY24SppljZeIN57m3Ar6L6f9A==}
dependencies:
- '@storybook/channels': 7.5.1
+ '@storybook/channels': 7.5.2
'@types/babel__core': 7.20.2
'@types/express': 4.17.17
file-system-cache: 2.3.0
@@ -5734,8 +5728,8 @@ packages:
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
dev: true
- resolution: {integrity: sha512-weTPzlJEnyPwEuoPVCJMF81fsLiIVQUyVQs+T/OkbZRWyLAZE7r3LuyX13yv3XiZDzA2urm+qkMSvu+rPzFpSA==}
+ resolution: {integrity: sha512-or+u/eqINYamdHX6WCpZto2Cc7tGgGO3DQSHAG0Jw+uXQOyFqv5UV4UWCPh2ORbLeNIX7hnGoTYX7ZRUKCVU4g==}
peerDependencies:
react: '*'
react-dom: '*'
@@ -5792,7 +5786,7 @@ packages:
std-env: 3.4.3
test-exclude: 6.0.0
v8-to-istanbul: 9.1.3
transitivePeerDependencies:
- supports-color
dev: true
@@ -8414,6 +8408,17 @@ packages:
whatwg-mimetype: 3.0.0
dev: true
+ resolution: {integrity: sha512-JzUXOh0wdNGY54oKng5hliuBkq/+aT1V3YpTM+lrN/GoLQTANZsMaIvmHiHe612rauHvPJnDZkZ+5GZR++1Abg==}
+ dependencies:
+ css.escape: 1.5.1
+ entities: 4.5.0
+ iconv-lite: 0.6.3
+ webidl-conversions: 7.0.0
+ whatwg-encoding: 2.0.0
+ whatwg-mimetype: 3.0.0
+ dev: true
+
resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==}
engines: {node: '>=6'}
@@ -10595,8 +10600,8 @@ packages:
react-dom: 18.2.0([email protected])
dev: false
- resolution: {integrity: sha512-B6rziPOLRmeP7kcS5qbdC5hXvvDHYKV4vUxmahevYx2E6crS2bRi0xLDjhJ0E1HtOWo8rTmaE2EBJAkTCZOLdA==}
+ resolution: {integrity: sha512-iDfAJ7HrIrFa41/rYuTCGt0R+vcM8BSY3OtaQ3IaPtD4u/T7t4/18DaxcKaV18VlC9FdOmeoF1zQfXcLj2ilow==}
peerDependencies:
react: '>=16.9.0'
react-dom: '>=16.9.0'
@@ -11481,11 +11486,11 @@ packages:
resolution: {integrity: sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==}
dev: true
- resolution: {integrity: sha512-Wg3j3z5H03PYnEcmlnhf6bls0OtjmsNPsQ93dTV8F4AweqBECwzjf94Wj++NrP3X+WbfMoCbBU6LRFuEyzCCxw==}
+ resolution: {integrity: sha512-wuB5VdmI6teU2z5iiBEZ2ziNeP6g6Da/dGM7+tWQVUl8bmfOmpEgzgEyS1/XqdOfm+HoZplspwM0XMHOLo/Now==}
hasBin: true
dependencies:
- '@storybook/cli': 7.5.1
+ '@storybook/cli': 7.5.2
transitivePeerDependencies:
- bufferutil
- encoding
@@ -12387,10 +12392,10 @@ packages:
vitest: '*'
dependencies:
jest-canvas-mock: 2.5.2
dev: true
resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==}
engines: {node: '>=v14.18.0'}
hasBin: true
@@ -12434,6 +12439,7 @@ packages:
cac: 6.7.14
chai: 4.3.10
debug: 4.3.4
+ happy-dom: 12.10.1
local-pkg: 0.4.3
magic-string: 0.30.3
pathe: 1.1.1
@@ -12455,7 +12461,7 @@ packages:
- terser
dev: true
resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==}
engines: {node: '>=v14.18.0'}
hasBin: true
@@ -12499,7 +12505,7 @@ packages:
cac: 6.7.14
chai: 4.3.10
debug: 4.3.4
- happy-dom: 12.10.1
+ happy-dom: 12.10.3
local-pkg: 0.4.3
magic-string: 0.30.3
pathe: 1.1.1