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.

fix(docs-ui): use shared icons from @univerjs/icons (#7710)

白熱e4e055796dfa
diff --git a/common/debugger/package.json b/common/debugger/package.json
index 6e133d54bd..0fead3f24d 100644
--- a/common/debugger/package.json
+++ b/common/debugger/package.json
@@ -35,7 +35,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/docs-drawing-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-drawing-ui": "workspace:*",
"@univerjs/themes": "workspace:*",
diff --git a/common/shared/package.json b/common/shared/package.json
index 8009bfa640..6961d39dc6 100644
--- a/common/shared/package.json
+++ b/common/shared/package.json
@@ -51,8 +51,8 @@
"vitest": "^5.0.0"
},
"devDependencies": {
- "@univerjs/icons": "1.39.0",
- "@univerjs/icons-svg": "^1.39.0",
+ "@univerjs/icons": "1.41.0",
+ "@univerjs/icons-svg": "^1.41.0",
"typescript": "^6.0.3",
"vue-tsc": "^3.3.11"
}
diff --git a/examples/package.json b/examples/package.json
index 893034e57c..473a42076e 100644
--- a/examples/package.json
+++ b/examples/package.json
@@ -19,7 +19,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/preset-docs-core": "workspace:*",
"@univerjs/preset-docs-drawing": "workspace:*",
"@univerjs/preset-docs-hyper-link": "workspace:*",
diff --git a/package.json b/package.json
index 645f3c5787..449bad6b3b 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"type": "module",
"version": "1.0.0-rc.0",
"private": true,
- "packageManager": "[email protected]",
+ "packageManager": "[email protected]",
"author": "DreamNum Co., Ltd. <[email protected]>",
"license": "Apache-2.0",
"funding": {
diff --git a/packages/action-recorder/package.json b/packages/action-recorder/package.json
index 9f88645a4d..020e0d31d5 100644
--- a/packages/action-recorder/package.json
+++ b/packages/action-recorder/package.json
@@ -76,7 +76,7 @@
"dependencies": {
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-filter": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages/design/package.json b/packages/design/package.json
index 2eb65fe511..19c70afdde 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -82,7 +82,7 @@
"@radix-ui/react-popover": "^1.1.23",
"@radix-ui/react-separator": "^1.1.15",
"@radix-ui/react-slot": "^1.3.3",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"class-variance-authority": "^0.7.1",
"cmdk": "1.1.1",
"sonner": "^2.0.8"
diff --git a/packages/docs-drawing-ui/package.json b/packages/docs-drawing-ui/package.json
index 2844669b08..041d771f86 100644
--- a/packages/docs-drawing-ui/package.json
+++ b/packages/docs-drawing-ui/package.json
@@ -82,7 +82,7 @@
"@univerjs/drawing": "workspace:*",
"@univerjs/drawing-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/ui": "workspace:*"
},
"devDependencies": {
diff --git a/packages/docs-hyper-link-ui/package.json b/packages/docs-hyper-link-ui/package.json
index b778b08ee5..027eceb3f0 100644
--- a/packages/docs-hyper-link-ui/package.json
+++ b/packages/docs-hyper-link-ui/package.json
@@ -80,7 +80,7 @@
"@univerjs/docs-hyper-link": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/protocol": "workspace:*",
"@univerjs/ui": "workspace:*"
},
diff --git a/packages/docs-thread-comment-ui/package.json b/packages/docs-thread-comment-ui/package.json
index 0c30db704b..a179f6f177 100644
--- a/packages/docs-thread-comment-ui/package.json
+++ b/packages/docs-thread-comment-ui/package.json
@@ -80,7 +80,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/protocol": "workspace:*",
"@univerjs/thread-comment": "workspace:*",
"@univerjs/thread-comment-ui": "workspace:*",
diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.json
index c0f1bd5a82..ee37e5ab49 100644
--- a/packages/docs-ui/package.json
+++ b/packages/docs-ui/package.json
@@ -90,7 +90,7 @@
"@univerjs/docs": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/protocol": "workspace:*",
"@univerjs/ui": "workspace:*"
},
diff --git a/packages/docs-ui/src/controllers/components.controller.ts b/packages/docs-ui/src/controllers/components.controller.ts
index 3287bac115..103634bf76 100644
--- a/packages/docs-ui/src/controllers/components.controller.ts
+++ b/packages/docs-ui/src/controllers/components.controller.ts
@@ -62,9 +62,11 @@ import {
SmileIcon,
StrikethroughIcon,
SubscriptIcon,
+ SubtitleTypeIcon,
SuperscriptIcon,
SymbolsIcon,
TextTypeIcon,
+ TitleTypeIcon,
TodoListDoubleIcon,
UnderlineIcon,
UnorderIcon,
@@ -100,8 +102,6 @@ import {
DocParagraphTextColorSwatchIcon5,
DocParagraphTextColorSwatchIcon6,
HeaderTextColorIcon,
- SubtitleTypeIcon,
- TitleTypeIcon,
} from '../views/Icon';
import {
BULLET_LIST_TYPE_COMPONENT,
diff --git a/packages/docs-ui/src/controllers/mobile/components.controller.ts b/packages/docs-ui/src/controllers/mobile/components.controller.ts
index b5a7bfbc9c..ad2da0c64f 100644
--- a/packages/docs-ui/src/controllers/mobile/components.controller.ts
+++ b/packages/docs-ui/src/controllers/mobile/components.controller.ts
@@ -15,11 +15,11 @@
*/
import { Disposable, Inject } from '@univerjs/core';
-import { AddImageIcon, AlignTextBothIcon, BoldIcon, ColumnIcon, CopyDoubleIcon, CutIcon, DeleteColumnDoubleIcon, DeleteIcon, DeleteRowDoubleIcon, DeleteTableDoubleIcon, DocSettingIcon, FontColorDoubleIcon, GridIcon, H1Icon, H2Icon, H3Icon, H4Icon, H5Icon, HeaderFooterIcon, HorizontallyIcon, InsertDoubleIcon, InsertRowAboveDoubleIcon, InsertRowBelowDoubleIcon, ItalicIcon, KeyboardIcon, LeftInsertColumnDoubleIcon, LeftJustifyingIcon, LineIndentDecreaseIcon, LineIndentIncreaseIcon, MenuIcon, MoreLeftIcon, MoreRightIcon, NoColorDoubleIcon, OrderIcon, PaintBucketDoubleIcon, ParagraphSettingIcon, PasteSpecialDoubleIcon, ReduceDoubleIcon, ReduceIcon, RightInsertColumnDoubleIcon, RightJustifyingIcon, SectionSettingIcon, ShapeIcon, SmileIcon, StrikethroughIcon, SubscriptIcon, SuperscriptIcon, SymbolsIcon, TextTypeIcon, TodoListDoubleIcon, UnderlineIcon, UnorderIcon } from '@univerjs/icons';
+import { AddImageIcon, AlignTextBothIcon, BoldIcon, ColumnIcon, CopyDoubleIcon, CutIcon, DeleteColumnDoubleIcon, DeleteIcon, DeleteRowDoubleIcon, DeleteTableDoubleIcon, DocSettingIcon, FontColorDoubleIcon, GridIcon, H1Icon, H2Icon, H3Icon, H4Icon, H5Icon, HeaderFooterIcon, HorizontallyIcon, InsertDoubleIcon, InsertRowAboveDoubleIcon, InsertRowBelowDoubleIcon, ItalicIcon, KeyboardIcon, LeftInsertColumnDoubleIcon, LeftJustifyingIcon, LineIndentDecreaseIcon, LineIndentIncreaseIcon, MenuIcon, MoreLeftIcon, MoreRightIcon, NoColorDoubleIcon, OrderIcon, PaintBucketDoubleIcon, ParagraphSettingIcon, PasteSpecialDoubleIcon, ReduceDoubleIcon, ReduceIcon, RightInsertColumnDoubleIcon, RightJustifyingIcon, SectionSettingIcon, ShapeIcon, SmileIcon, StrikethroughIcon, SubscriptIcon, SubtitleTypeIcon, SuperscriptIcon, SymbolsIcon, TextTypeIcon, TitleTypeIcon, TodoListDoubleIcon, UnderlineIcon, UnorderIcon } from '@univerjs/icons';
import { ComponentManager, IconManager } from '@univerjs/ui';
import { DOC_LAYOUT_RECOVERY_COMPONENT, DocLayoutRecovery } from '../../views/DocLayoutRecovery';
import { COMPONENT_DOC_HEADER_FOOTER_PANEL } from '../../views/header-footer/panel/component-name';
-import { DefaultTextColorIcon, DocParagraphBackgroundColorSwatchIcon0, DocParagraphBackgroundColorSwatchIcon1, DocParagraphBackgroundColorSwatchIcon10, DocParagraphBackgroundColorSwatchIcon11, DocParagraphBackgroundColorSwatchIcon12, DocParagraphBackgroundColorSwatchIcon13, DocParagraphBackgroundColorSwatchIcon14, DocParagraphBackgroundColorSwatchIcon15, DocParagraphBackgroundColorSwatchIcon2, DocParagraphBackgroundColorSwatchIcon3, DocParagraphBackgroundColorSwatchIcon4, DocParagraphBackgroundColorSwatchIcon5, DocParagraphBackgroundColorSwatchIcon6, DocParagraphBackgroundColorSwatchIcon7, DocParagraphBackgroundColorSwatchIcon8, DocParagraphBackgroundColorSwatchIcon9, DocParagraphTextColorSwatchIcon0, DocParagraphTextColorSwatchIcon1, DocParagraphTextColorSwatchIcon2, DocParagraphTextColorSwatchIcon3, DocParagraphTextColorSwatchIcon4, DocParagraphTextColorSwatchIcon5, DocParagraphTextColorSwatchIcon6, HeaderTextColorIcon, SubtitleTypeIcon, TitleTypeIcon } from '../../views/Icon';
+import { DefaultTextColorIcon, DocParagraphBackgroundColorSwatchIcon0, DocParagraphBackgroundColorSwatchIcon1, DocParagraphBackgroundColorSwatchIcon10, DocParagraphBackgroundColorSwatchIcon11, DocParagraphBackgroundColorSwatchIcon12, DocParagraphBackgroundColorSwatchIcon13, DocParagraphBackgroundColorSwatchIcon14, DocParagraphBackgroundColorSwatchIcon15, DocParagraphBackgroundColorSwatchIcon2, DocParagraphBackgroundColorSwatchIcon3, DocParagraphBackgroundColorSwatchIcon4, DocParagraphBackgroundColorSwatchIcon5, DocParagraphBackgroundColorSwatchIcon6, DocParagraphBackgroundColorSwatchIcon7, DocParagraphBackgroundColorSwatchIcon8, DocParagraphBackgroundColorSwatchIcon9, DocParagraphTextColorSwatchIcon0, DocParagraphTextColorSwatchIcon1, DocParagraphTextColorSwatchIcon2, DocParagraphTextColorSwatchIcon3, DocParagraphTextColorSwatchIcon4, DocParagraphTextColorSwatchIcon5, DocParagraphTextColorSwatchIcon6, HeaderTextColorIcon } from '../../views/Icon';
import { BULLET_LIST_TYPE_COMPONENT, ORDER_LIST_TYPE_COMPONENT } from '../../views/list-type-picker/index';
import { BulletListTypePicker, OrderListTypePicker } from '../../views/list-type-picker/Picker';
import { MOBILE_DOC_ELEMENT_MENU, MobileDocElementMenuPopup } from '../../views/mobile-element-menu/MobileDocElementMenu';
diff --git a/packages/docs-ui/src/views/Icon.tsx b/packages/docs-ui/src/views/Icon.tsx
index f79f560591..768d8a5f85 100644
--- a/packages/docs-ui/src/views/Icon.tsx
+++ b/packages/docs-ui/src/views/Icon.tsx
@@ -16,108 +16,16 @@
import type { IconType, IIconProps } from '@univerjs/ui';
import { ThemeService } from '@univerjs/core';
+import { TextColorSwatchDoubleIcon } from '@univerjs/icons';
import { useDependency, useObservable } from '@univerjs/ui';
import { map } from 'rxjs';
+
import { getHighlightBackgroundColor } from './paragraph-menu/theme-color';
type ColorSwatchIconProps = IIconProps & {
color: string;
};
-export function TitleTypeIcon({ className, style, onClick }: IIconProps) {
- return (
- <svg
- className={className}
- style={style}
- viewBox="0 0 24 24"
- fill="currentColor"
- aria-hidden="true"
- onClick={onClick}
- >
- <text
- x={2}
- y={19}
- fontFamily="Arial, sans-serif"
- fontSize={19}
- fontWeight={500}
- >
- T
- </text>
- <text
- x={15}
- y={19}
- fontFamily="Arial, sans-serif"
- fontSize={13}
- fontWeight={500}
- >
- t
- </text>
- </svg>
- );
-}
-
-export function SubtitleTypeIcon({ className, style, onClick }: IIconProps) {
- return (
- <svg
- className={className}
- style={style}
- viewBox="0 0 24 24"
- fill="currentColor"
- aria-hidden="true"
- onClick={onClick}
- >
- <text
- x={5}
- y={19}
- fontFamily="Arial, sans-serif"
- fontSize={19}
- fontWeight={500}
- >
- S
- </text>
- </svg>
- );
-}
-
-export function TextColorSwatchIcon({ className, style, onClick, color }: ColorSwatchIconProps) {
- return (
- <svg
- className={className}
- style={style}
- viewBox="0 0 24 24"
- width="1em"
- height="1em"
- fill="none"
- aria-hidden="true"
- onClick={onClick}
- >
- <rect
- x={1}
- y={1}
- width={22}
- height={22}
- rx={2.5}
- fill="none"
- stroke="currentColor"
- strokeWidth={1}
- strokeOpacity={0.12}
- />
- <text
- x={12}
- y={17.25}
- direction="ltr"
- fontFamily="Arial, sans-serif"
- fontSize={15}
- fontWeight={400}
- fill={color}
- textAnchor="middle"
- >
- A
- </text>
- </svg>
- );
-}
-
export function BackgroundColorSwatchIcon({ className, style, onClick, color }: ColorSwatchIconProps) {
return (
<svg
@@ -148,29 +56,31 @@ export function HeaderTextColorIcon({ className, style, onClick, extend }: IIcon
const color = extend?.colorChannel1 ?? 'currentColor';
return (
- <TextColorSwatchIcon
+ <TextColorSwatchDoubleIcon
className={className}
style={style}
onClick={onClick}
- color={color}
+ extend={{ colorChannel1: color }}
+ aria-hidden="true"
/>
);
}
export function DefaultTextColorIcon({ className, style, onClick }: IIconProps) {
return (
- <TextColorSwatchIcon
+ <TextColorSwatchDoubleIcon
className={className}
style={style}
onClick={onClick}
- color="#000000"
+ extend={{ colorChannel1: '#000000' }}
+ aria-hidden="true"
/>
);
}
function createTextColorSwatchIcon(color: string): IconType {
return function DocParagraphTextColorSwatchIcon(props: IIconProps) {
- return <TextColorSwatchIcon {...props} color={color} />;
+ return <TextColorSwatchDoubleIcon {...props} extend={{ colorChannel1: color }} aria-hidden="true" />;
};
}
diff --git a/packages/drawing-ui/package.json b/packages/drawing-ui/package.json
index 02efe2ef86..b7e44495c4 100644
--- a/packages/drawing-ui/package.json
+++ b/packages/drawing-ui/package.json
@@ -78,7 +78,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/ui": "workspace:*"
},
"devDependencies": {
diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json
index 00bb420aa8..90443feb40 100644
--- a/packages/find-replace/package.json
+++ b/packages/find-replace/package.json
@@ -77,7 +77,7 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/ui": "workspace:*"
},
"devDependencies": {
diff --git a/packages/sheets-conditional-formatting-ui/package.json b/packages/sheets-conditional-formatting-ui/package.json
index 5fec4bebe8..9947b7a92f 100644
--- a/packages/sheets-conditional-formatting-ui/package.json
+++ b/packages/sheets-conditional-formatting-ui/package.json
@@ -78,7 +78,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-conditional-formatting": "workspace:*",
"@univerjs/sheets-formula": "workspace:*",
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index 5c39b50d5b..229a49f08a 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -92,7 +92,7 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "@univerjs/icons-svg": "^1.39.0",
+ "@univerjs/icons-svg": "^1.41.0",
"@univerjs/sheets-formula": "workspace:*",
"rxjs": "^7.8.2",
"typescript": "^6.0.3",
diff --git a/packages/sheets-crosshair-highlight/package.json b/packages/sheets-crosshair-highlight/package.json
index cee3579577..cfbcbda142 100644
--- a/packages/sheets-crosshair-highlight/package.json
+++ b/packages/sheets-crosshair-highlight/package.json
@@ -88,7 +88,7 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*"
diff --git a/packages/sheets-data-validation-ui/package.json b/packages/sheets-data-validation-ui/package.json
index b09ffee462..0c116fe32b 100644
--- a/packages/sheets-data-validation-ui/package.json
+++ b/packages/sheets-data-validation-ui/package.json
@@ -79,7 +79,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-data-validation": "workspace:*",
"@univerjs/sheets-formula-ui": "workspace:*",
diff --git a/packages/sheets-filter-ui/package.json b/packages/sheets-filter-ui/package.json
index 2014d57e07..e6dbcc357e 100644
--- a/packages/sheets-filter-ui/package.json
+++ b/packages/sheets-filter-ui/package.json
@@ -77,7 +77,7 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/rpc": "workspace:*",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-filter": "workspace:*",
diff --git a/packages/sheets-formula-ui/package.json b/packages/sheets-formula-ui/package.json
index db82035701..5fb0cf6510 100644
--- a/packages/sheets-formula-ui/package.json
+++ b/packages/sheets-formula-ui/package.json
@@ -92,7 +92,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-formula": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages/sheets-hyper-link-ui/package.json b/packages/sheets-hyper-link-ui/package.json
index 97c534e406..ad953c3751 100644
--- a/packages/sheets-hyper-link-ui/package.json
+++ b/packages/sheets-hyper-link-ui/package.json
@@ -91,7 +91,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-data-validation": "workspace:*",
"@univerjs/sheets-formula-ui": "workspace:*",
diff --git a/packages/sheets-note-ui/package.json b/packages/sheets-note-ui/package.json
index 23e5303391..f9be15d6cf 100644
--- a/packages/sheets-note-ui/package.json
+++ b/packages/sheets-note-ui/package.json
@@ -76,7 +76,7 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-note": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages/sheets-numfmt-ui/package.json b/packages/sheets-numfmt-ui/package.json
index 033f99827a..eb5c7f3dfd 100644
--- a/packages/sheets-numfmt-ui/package.json
+++ b/packages/sheets-numfmt-ui/package.json
@@ -78,7 +78,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-numfmt": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages/sheets-sort-ui/package.json b/packages/sheets-sort-ui/package.json
index 22067be1f3..e1308eb65b 100644
--- a/packages/sheets-sort-ui/package.json
+++ b/packages/sheets-sort-ui/package.json
@@ -77,7 +77,7 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-sort": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages/sheets-table-ui/package.json b/packages/sheets-table-ui/package.json
index c7112234e7..85908defa8 100644
--- a/packages/sheets-table-ui/package.json
+++ b/packages/sheets-table-ui/package.json
@@ -80,7 +80,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-formula-ui": "workspace:*",
"@univerjs/sheets-sort": "workspace:*",
diff --git a/packages/sheets-thread-comment-ui/package.json b/packages/sheets-thread-comment-ui/package.json
index 52b94625c0..a2c3a4e762 100644
--- a/packages/sheets-thread-comment-ui/package.json
+++ b/packages/sheets-thread-comment-ui/package.json
@@ -78,7 +78,7 @@
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-thread-comment": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
diff --git a/packages/sheets-ui/package.json b/packages/sheets-ui/package.json
index 92f5d9f9e1..975614ea47 100644
--- a/packages/sheets-ui/package.json
+++ b/packages/sheets-ui/package.json
@@ -91,7 +91,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/protocol": "workspace:*",
"@univerjs/sheets": "workspace:*",
"@univerjs/telemetry": "workspace:*",
diff --git a/packages/slides-ui/package.json b/packages/slides-ui/package.json
index f50f69b2c4..fe9117cd39 100644
--- a/packages/slides-ui/package.json
+++ b/packages/slides-ui/package.json
@@ -80,7 +80,7 @@
"@univerjs/docs-ui": "workspace:*",
"@univerjs/drawing": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/slides": "workspace:*",
"@univerjs/ui": "workspace:*"
},
diff --git a/packages/thread-comment-ui/package.json b/packages/thread-comment-ui/package.json
index 29a1042422..2be9ba9716 100644
--- a/packages/thread-comment-ui/package.json
+++ b/packages/thread-comment-ui/package.json
@@ -78,7 +78,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/docs-ui": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/thread-comment": "workspace:*",
"@univerjs/ui": "workspace:*"
},
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 2f70832631..90077bde69 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -90,7 +90,7 @@
"@univerjs/core": "workspace:*",
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
- "@univerjs/icons": "1.39.0",
+ "@univerjs/icons": "1.41.0",
"@univerjs/protocol": "workspace:*",
"@wendellhu/redi": "1.1.3"
},
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6a97b5d01f..c39255fb29 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -7,153 +7,153 @@ importers:
configDependencies: {}
packageManagerDependencies:
pnpm:
- specifier: 12.4.1
- version: 12.4.1
+ specifier: 12.5.1
+ version: 12.5.1
packages:
- resolution: {integrity: sha512-/HwsqXMSmlOfgtV9+O0ratzjV6Vd/8n1hh4rGHpCGmDURvt52MwZxdbhyxP4K03ZfvgSDvotFPr8O+RzE5Eu8A==}
+ resolution: {integrity: sha512-6LGBmQuDzUmgpHSuy+haG0jrmkwFNa4EuShDZqK3cIBv4Wfb75CzjJmowkzr+iJg40vnBKMQ62t4Ko6mwsId7A==}
cpu: [arm64]
os: [android]
- resolution: {integrity: sha512-+l74Qb4c2YjOzNKHXJLg+1wr8xHM1ckkUhnU5KRUK9TJqiiczt6yeTZqqzHIlJ8i6pAoj5V0OJevDRwnQKLgrQ==}
+ resolution: {integrity: sha512-091oCltP3Rx89yxL1Wh5rXkUXEyFzyxIzSHKRFDyDFlQkb8Ox8FaDcm+M8PNkMyqnLA+qeGOLzY7Rjj9izl1Ww==}
cpu: [x64]
os: [android]
- resolution: {integrity: sha512-6rkZkT3iGfaxknUdGHraqSWFvTa6N0ajAHluv9Ax0GRWs0sIcGNiFhDopv6xSZCsJZmG483aNS/b6UEDy3blfw==}
+ resolution: {integrity: sha512-r1vEMQPVjRexZMyL2HonxJoo3+nuB/+G+tg+f2PK6faRdXX1TDwevKXOxJAfqlPInTy6W/pm912+s+m0NcR4BQ==}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-Vb1CHlR88HghC1qUxjxjs82zQSXnXacPD+btG2CmG8Q/hBU7Q0/b2YWJKSQqZXicunV5khFtfTlAwJddV9RkYA==}
+ resolution: {integrity: sha512-YHwI1g2B+Y2cAEylOR31r781GWijdJL7Gy7TEn/ZpZ5v/Cuwp5/Pz0EFCgo0M2MKLafAbL/laUMGvOpAdnerAw==}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-iT3iHz3Nl0Sxxj7UPOtZ/aQ81AFsQhjoeWMAlPkSRO04gsgDGAXv3UYxOFaesMWsfNxaGn0A+CITbuCHFF66FA==}
+ resolution: {integrity: sha512-sFUMHiYFs6q5syFwgaVppzhQSmqnXoJIz/YwTXIOXTDE76ndIpTRpDGAnBCBKjsaEBnqjJA/2l6hpJcNDNoMiA==}
cpu: [x64]
os: [freebsd]
- resolution: {integrity: sha512-aBooZfNXM5f+OGUgCAMFWpE/kAhsWfvmqIyMtHy6zl3aNxyInWrcY/Saln/UElzo7lZWMC0Yktroxd/2J26lNQ==}
+ resolution: {integrity: sha512-zupuxYZBuBEGjUz805/4/Asq01UNziFADANt8yp+LdUjU9bbMa3xY78Bx1PsGDqBy7aiad4sdUMK8ZxH4n4gmQ==}
cpu: [arm64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-TlOdacTTP09BgcMvwWBFRsu8VAjfwqwnslBj+XSq1JFM3ck4f3k+1O/747EuctxZxs3/o785b6Q3s7Pd92Ptsg==}
+ resolution: {integrity: sha512-6hbMWW2/eQo1b5wvQPe/ndLHVTH88Rav6N+ffD4/h6IuFMjWCgasFYYsFv0GrvpqREAx3SwmZSvli+0NFXqbxA==}
cpu: [arm64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-r/ab/MlIBo75oizUP5ITiziCCrnXz4SJwfErLQ+603AshB+Yq7xTMCoMtzTSCAMu6aaymIKkAFtZvd2J75Wq0w==}
+ resolution: {integrity: sha512-Gg3maDzaE/ZFMV9HIx/BwMN0Y6QbEs13URfxmiYHtKjjLAs5wEQZRMUP87YNLYO7cNaEfbM8GRbS9vPosyD9Gw==}
cpu: [ppc64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-C/D1QWdKMiB8+wv/spl1rGITFUuqC+aI/fb6h8NB5sqxsOaGXeYc/g891oCuzggHn6SODk9p+I09hI76x/cMNw==}
+ resolution: {integrity: sha512-6fgWxXYMBMsWQ8DAiRevscX4QZQjwh+FsyCj8ZOk8pMXvqeq84MqBLCmS6KckvnbdqJ+HlSVQ7fs/kd0ldwfhA==}
cpu: [riscv64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-nxz5zD4yXt94uzbStDk0QTPKW+aE92hH1b5tFXK9ctB1HE9Xcq1vjTiA2LsZMFC6p4gdu5OwQeFqYNAVGa6QlA==}
+ resolution: {integrity: sha512-nzMZruRvxDhEfYUhzu+7EmM39+82Dgagc/6hPFPqGqzXNGcIG0anuxbUxfeNtI64SHt91KuuYUmCB/inlM+Pag==}
cpu: [s390x]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-5AwgFdGhVUg2kIweYGfxzSLEHiIG77PQhZAkXC3TwofQHsu1Wr+TrV5/rNX2PopFnHRzuE581zoB8F6Wle32yg==}
+ resolution: {integrity: sha512-kHCbegdTNHpzmPtUD4S5fqkVkqgdQR47spF9p2VPP3dIIkZl6Ytk8w0vhlAsAGgge8FmucfwX+vvPKgm0NtOCQ==}
cpu: [x64]
os: [linux]
libc: [musl]
- resolution: {integrity: sha512-FJOZuuuQMhp0oLzBtcKkLXknBI92hfkmSnlKc47vfin4HrmfID5khY2lGekL9tCzk1cpR+HShEw/meFl+nHtzQ==}
+ resolution: {integrity: sha512-3PkUBYo5z4dgtlnTNIFj7QGpcDUAuqXz9WGVigPDCeccEnhGiRkWmA5102TmYJHtwJP3LfmE+ZF9PGeWhn8p9Q==}
cpu: [x64]
os: [linux]
libc: [glibc]
- resolution: {integrity: sha512-OO7eKBL9S+xk5hRy+JUUZSNJknGuGe3GEUffsrlC2LbqKF02g+VX1anGIzSbJDvkkdnpJhSlxF5AUz2JzJu2Jw==}
+ resolution: {integrity: sha512-49NvjZIXHly56/PLoEDD7VphbO4N8dwMXoApElDFCpVGDNGeKlwlib1tXtnpTF6i2/XIsAj7GgatHB5KHXgBnA==}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-x7gJHZgHo6hp354xCYA2NvoFzYJkHwovt2kVsUBK5EmXULLcP51JGMq09CX+5FRFJUZFKoXjLu3mZWmfP7o6PQ==}
+ resolution: {integrity: sha512-ePUmQFPAPJFNMwg1lelDx2PdjHqYRiF0yfg5e6qeDbPNOu97QNo557Ru/SxmCrmt8ydQWNuZXWpdEp019md5vw==}
cpu: [x64]
os: [win32]
- resolution: {integrity: sha512-LoHjmdc/6DkNqyXgaqeIq3pZCCSNL1o3D4K0gRR6ano2e/gEj5pv22Rg8hpm8FQt7bi5TKLIcjWWdBkgsWVtTA==}
+ resolution: {integrity: sha512-4/MFvHhKK8ifWtO2E4iJRw+ujSr182thIW7JHCw9ZAiXdfneOKrDMQROpA8kXLDVZmOS399lgk4ZB+9qLGLeXw==}
engines: {node: '>=18.*'}
hasBin: true
snapshots:
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optionalDependencies:
- '@pnpm/exe.android-arm64': 12.4.1
- '@pnpm/exe.android-x64': 12.4.1
- '@pnpm/exe.darwin-arm64': 12.4.1
- '@pnpm/exe.darwin-x64': 12.4.1
- '@pnpm/exe.freebsd-x64': 12.4.1
- '@pnpm/exe.linux-arm64': 12.4.1
- '@pnpm/exe.linux-arm64-musl': 12.4.1
- '@pnpm/exe.linux-ppc64': 12.4.1
- '@pnpm/exe.linux-riscv64': 12.4.1
- '@pnpm/exe.linux-s390x': 12.4.1
- '@pnpm/exe.linux-x64': 12.4.1
- '@pnpm/exe.linux-x64-musl': 12.4.1
- '@pnpm/exe.win32-arm64': 12.4.1
- '@pnpm/exe.win32-x64': 12.4.1
+ '@pnpm/exe.android-arm64': 12.5.1
+ '@pnpm/exe.android-x64': 12.5.1
+ '@pnpm/exe.darwin-arm64': 12.5.1
+ '@pnpm/exe.darwin-x64': 12.5.1
+ '@pnpm/exe.freebsd-x64': 12.5.1
+ '@pnpm/exe.linux-arm64': 12.5.1
+ '@pnpm/exe.linux-arm64-musl': 12.5.1
+ '@pnpm/exe.linux-ppc64': 12.5.1
+ '@pnpm/exe.linux-riscv64': 12.5.1
+ '@pnpm/exe.linux-s390x': 12.5.1
+ '@pnpm/exe.linux-x64': 12.5.1
+ '@pnpm/exe.linux-x64-musl': 12.5.1
+ '@pnpm/exe.win32-arm64': 12.5.1
+ '@pnpm/exe.win32-x64': 12.5.1
---
lockfileVersion: '9.0'
@@ -263,8 +263,8 @@ importers:
specifier: workspace:*
version: link:../../packages/engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../../packages/sheets
@@ -361,11 +361,11 @@ importers:
devDependencies:
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/icons-svg':
- specifier: ^1.39.0
- version: 1.39.0
+ specifier: ^1.41.0
+ version: 1.41.0
typescript:
specifier: ^6.0.3
version: 6.0.3
@@ -467,8 +467,8 @@ importers:
specifier: workspace:*
version: link:../packages/engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/preset-docs-core':
specifier: workspace:*
version: link:../presets/packages/preset-docs-core
@@ -573,8 +573,8 @@ importers:
specifier: workspace:*
version: link:../design
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -708,8 +708,8 @@ importers:
specifier: ^1.3.3
version: 1.3.3(@types/[email protected])([email protected])
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
class-variance-authority:
specifier: ^0.7.1
version: 0.7.1
@@ -834,8 +834,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
@@ -942,8 +942,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/protocol':
specifier: workspace:*
version: link:../protocol
@@ -1019,8 +1019,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/protocol':
specifier: workspace:*
version: link:../protocol
@@ -1151,8 +1151,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/protocol':
specifier: workspace:*
version: link:../protocol
@@ -1225,8 +1225,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
@@ -1330,8 +1330,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/ui':
specifier: workspace:*
version: link:../ui
@@ -1490,8 +1490,8 @@ importers:
specifier: workspace:*
version: link:../../common/shared
'@univerjs/icons-svg':
- specifier: ^1.39.0
- version: 1.39.0
+ specifier: ^1.41.0
+ version: 1.41.0
'@univerjs/sheets-formula':
specifier: workspace:*
version: link:../sheets-formula
@@ -1520,8 +1520,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -1575,8 +1575,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -1661,8 +1661,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -1839,8 +1839,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/rpc':
specifier: workspace:*
version: link:../rpc
@@ -1965,8 +1965,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2054,8 +2054,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2140,8 +2140,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2217,8 +2217,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2288,8 +2288,8 @@ importers:
specifier: workspace:*
version: link:../engine-formula
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2374,8 +2374,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2463,8 +2463,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/sheets':
specifier: workspace:*
version: link:../sheets
@@ -2527,8 +2527,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/protocol':
specifier: workspace:*
version: link:../protocol
@@ -2610,8 +2610,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/slides':
specifier: workspace:*
version: link:../slides
@@ -2697,8 +2697,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/thread-comment':
specifier: workspace:*
version: link:../thread-comment
@@ -2740,8 +2740,8 @@ importers:
specifier: workspace:*
version: link:../engine-render
'@univerjs/icons':
- specifier: 1.39.0
+ specifier: 1.41.0
'@univerjs/protocol':
specifier: workspace:*
version: link:../protocol
@@ -6816,11 +6816,11 @@ packages:
resolution: {integrity: sha512-8C71BQkGjiMmXtop7pHVJu1l2NNShFdkCyD6a2ezzs5vU/L3LRtb69EtcteFwz0mYMPzIgOw0n6OV4VBUWZd7A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@univerjs/[email protected]':
- resolution: {integrity: sha512-C6izqC/YyzEgsyAuZ2cj4qqKVPpMpWSlEmOMqW64NzCdlKdlpwPyaczz5B2i21kBttBdiQibfwISzzt2owJPlg==}
+ '@univerjs/[email protected]':
+ resolution: {integrity: sha512-BKdfa0Ey6TrH71VYmIPRXkpdWqi9l8vFlQCsOcRJkKm73oEwi3cIVxZE2xOpTNHZIoVjDxzt2PFCfBkDyeCJqg==}
- '@univerjs/[email protected]':
- resolution: {integrity: sha512-w3Tln0L9NS/aOYgex2nOt4ViJ7LQoT8st12UujDxM/LzBW5mQrQsSYWjEuCELPX1KLXor5p/w9DtHLnu/QfyIA==}
+ '@univerjs/[email protected]':
+ resolution: {integrity: sha512-PzAEPY+o4psESLFzTCBGsNEBEvMrjr4yhp8uFyd1ocWqB7tPvvclEi2Jc2SySfjBxIum5Awg2/czRXo5d1K6Hw==}
peerDependencies:
react: 19.3.0
react-dom: 19.3.0
@@ -14357,9 +14357,9 @@ snapshots:
'@typescript-eslint/types': 8.65.0
eslint-visitor-keys: 5.0.1
- '@univerjs/[email protected]': {}
+ '@univerjs/[email protected]': {}
dependencies:
react: 19.3.0
react-dom: 19.3.0([email protected])
@@ -19416,6 +19416,30 @@ snapshots:
transitivePeerDependencies:
- msw
+ dependencies:
+ '@types/chai': 5.2.3
+ chai: 6.2.2
+ es-module-lexer: 2.3.2
+ expect-type: 1.4.0
+ magic-string: 1.2.3
+ obug: 2.1.4
+ picomatch: 4.0.7
+ std-env: 4.2.0
+ tinybench: 6.1.4
+ tinyexec: 1.3.0
+ tinyglobby: 0.2.17
+ why-is-node-running: 2.3.0
+ optionalDependencies:
+ '@types/node': 26.2.0
+ '@vitest/coverage-istanbul': 5.0.0([email protected])
+ happy-dom: 20.14.5
+ jsdom: 29.1.1
+ transitivePeerDependencies:
+ - msw
+
dependencies:
'@types/chai': 5.2.3