diff --git a/common/shared/package.json b/common/shared/package.json index f2da0a33f4..b6e417100d 100644 --- a/common/shared/package.json +++ b/common/shared/package.json @@ -44,8 +44,8 @@ }, "devDependencies": { "@types/fs-extra": "^11.0.4", - "@univerjs/icons": "^0.2.35", - "@univerjs/icons-svg": "^0.2.35", + "@univerjs/icons": "^0.3.2", + "@univerjs/icons-svg": "^0.3.2", "@univerjs/protocol": "0.1.45" } } diff --git a/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png b/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png index 365742a53a..c9404ce136 100644 Binary files a/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png and b/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png differ diff --git a/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png index af657e5e96..e8480434df 100644 Binary files a/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png differ diff --git a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-ci-chromium-linux.png index af657e5e96..780f2be236 100644 Binary files a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-ci-chromium-linux.png differ diff --git a/examples/package.json b/examples/package.json index 4080cd2e31..3885979b18 100644 --- a/examples/package.json +++ b/examples/package.json @@ -35,7 +35,7 @@ "@univerjs/engine-formula": "workspace:*", "@univerjs/engine-render": "workspace:*", "@univerjs/find-replace": "workspace:*", - "@univerjs/icons": "0.2.35", + "@univerjs/icons": "0.3.2", "@univerjs/mockdata": "workspace:*", "@univerjs/network": "workspace:*", "@univerjs/rpc": "workspace:*", diff --git a/packages-experimental/action-recorder/package.json b/packages-experimental/action-recorder/package.json index 4d7db42fa3..906c63c249 100644 --- a/packages-experimental/action-recorder/package.json +++ b/packages-experimental/action-recorder/package.json @@ -68,7 +68,7 @@ "dependencies": { "@univerjs/core": "workspace:*", "@univerjs/design": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-filter": "workspace:*", "@univerjs/sheets-ui": "workspace:*", diff --git a/packages-experimental/action-recorder/src/views/components/RecorderPanel.tsx b/packages-experimental/action-recorder/src/views/components/RecorderPanel.tsx index 2bc705a612..140cf3bcbc 100644 --- a/packages-experimental/action-recorder/src/views/components/RecorderPanel.tsx +++ b/packages-experimental/action-recorder/src/views/components/RecorderPanel.tsx @@ -67,9 +67,9 @@ function RecordPanelImpl() {
{titleText}
- - - { !recording && } + + + { !recording && }
); diff --git a/packages-experimental/debugger/package.json b/packages-experimental/debugger/package.json index 0333ec1a18..6ffac45649 100644 --- a/packages-experimental/debugger/package.json +++ b/packages-experimental/debugger/package.json @@ -68,7 +68,7 @@ "@univerjs/docs-drawing-ui": "workspace:*", "@univerjs/docs-ui": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/mockdata": "workspace:*", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-drawing-ui": "workspace:*", diff --git a/packages-experimental/uni-formula-ui/package.json b/packages-experimental/uni-formula-ui/package.json index 980b35bc2a..17042e975a 100644 --- a/packages-experimental/uni-formula-ui/package.json +++ b/packages-experimental/uni-formula-ui/package.json @@ -71,7 +71,7 @@ "@univerjs/docs": "workspace:*", "@univerjs/docs-ui": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/rpc": "workspace:*", "@univerjs/sheets-formula": "workspace:*", "@univerjs/sheets-formula-ui": "workspace:*", diff --git a/packages-experimental/uni-sheets-ui/package.json b/packages-experimental/uni-sheets-ui/package.json index ee3fe0d9ab..f6423b86a0 100644 --- a/packages-experimental/uni-sheets-ui/package.json +++ b/packages-experimental/uni-sheets-ui/package.json @@ -64,7 +64,7 @@ "@univerjs/design": "workspace:*", "@univerjs/docs": "workspace:*", "@univerjs/docs-ui": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-drawing-ui": "workspace:*", "@univerjs/sheets-ui": "workspace:*", diff --git a/packages-experimental/uni-slides-ui/package.json b/packages-experimental/uni-slides-ui/package.json index 2d1c238f5a..7e881f1319 100644 --- a/packages-experimental/uni-slides-ui/package.json +++ b/packages-experimental/uni-slides-ui/package.json @@ -62,7 +62,7 @@ "@univerjs/core": "workspace:*", "@univerjs/design": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/slides-ui": "workspace:*", "@univerjs/ui": "workspace:*", "@univerjs/uniui": "workspace:*" diff --git a/packages-experimental/uniui/package.json b/packages-experimental/uniui/package.json index d9f4a58fdf..dfd82f2cf0 100644 --- a/packages-experimental/uniui/package.json +++ b/packages-experimental/uniui/package.json @@ -65,7 +65,7 @@ "@univerjs/core": "workspace:*", "@univerjs/design": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-ui": "workspace:*", "@univerjs/ui": "workspace:*", diff --git a/packages/design/package.json b/packages/design/package.json index 99d8a6c383..0085e95603 100644 --- a/packages/design/package.json +++ b/packages/design/package.json @@ -74,13 +74,12 @@ "@radix-ui/react-slot": "^1.2.0", "@radix-ui/react-tooltip": "^1.2.0", "@rc-component/trigger": "^2.2.6", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "dayjs": "^1.11.13", "rc-dialog": "^9.6.0", "rc-dropdown": "^4.2.1", - "rc-input-number": "^9.3.0", "rc-menu": "^9.16.0", "rc-picker": "^4.9.0", "rc-select": "^14.16.4", diff --git a/packages/design/src/components/avatar/__tests__/index.spec.tsx b/packages/design/src/components/avatar/__tests__/index.spec.tsx index 1b0cd4892f..08feb18ca0 100644 --- a/packages/design/src/components/avatar/__tests__/index.spec.tsx +++ b/packages/design/src/components/avatar/__tests__/index.spec.tsx @@ -14,9 +14,8 @@ * limitations under the License. */ -import { afterEach, describe, expect, it } from 'vitest'; import { cleanup, render } from '@testing-library/react'; -import React from 'react'; +import { afterEach, describe, expect, it } from 'vitest'; import { Avatar } from '../Avatar'; diff --git a/packages/design/src/components/input-number/InputNumber.stories.tsx b/packages/design/src/components/input-number/InputNumber.stories.tsx index 26bcfe7384..ed31ac5a12 100644 --- a/packages/design/src/components/input-number/InputNumber.stories.tsx +++ b/packages/design/src/components/input-number/InputNumber.stories.tsx @@ -33,8 +33,10 @@ export const InputNumberBasic = { render() { return ( <> - - +
+ + +
); }, @@ -42,12 +44,24 @@ export const InputNumberBasic = { export const InputNumberDisabled = { render() { - return ; + return ( + <> +
+ +
+ + ); }, }; export const InputNumberHideControls = { render() { - return ; + return ( + <> +
+ +
+ + ); }, }; diff --git a/packages/design/src/components/input-number/InputNumber.tsx b/packages/design/src/components/input-number/InputNumber.tsx index 92438926b5..69d45ffee8 100644 --- a/packages/design/src/components/input-number/InputNumber.tsx +++ b/packages/design/src/components/input-number/InputNumber.tsx @@ -14,142 +14,328 @@ * limitations under the License. */ -import type { InputNumberProps } from 'rc-input-number'; -import RcInputNumber from 'rc-input-number'; -import React, { forwardRef } from 'react'; +import React, { forwardRef, useEffect, useRef, useState } from 'react'; +import { clsx } from '../../helper/clsx'; +import { Button } from '../button/Button'; +import { Input } from '../input/Input'; -import styles from './index.module.less'; - -export interface IInputNumberProps { - /** - * The className of the input - */ - className?: string; - - /** - * The input content value - */ - value?: number | null; - - /** - * The maximum value of the input - */ - max?: number; - - /** - * The minimum value of the input - */ +export interface IInputNumberProps + extends Omit, 'onChange' | 'value' | 'defaultValue'> { + value?: number; + defaultValue?: number; min?: number; - - /** - * The step of the input - * @default 1 - */ + max?: number; step?: number; - - /** - * The precision of the input - */ precision?: number; - - /** - * Whether the input is disabled - * @default false - */ - disabled?: boolean; - - /** - * Whether to show the up and down buttons - * @default true - */ + formatter?: (value: string | number | undefined) => string; + parser?: (displayValue: string | undefined) => string; controls?: boolean; - - /** - * Callback when user click - * @param e - */ - onClick?: (e: React.MouseEvent) => void; - - /** - * Callback when user focus - * @param e - */ - onFocus?: (e: React.FocusEvent) => void; - - /** - * Callback when user blur - * @param e - */ - onBlur?: (e: React.FocusEvent) => void; - - /** - * Callback when user press a key - * @param e - */ - onKeyDown?: (e: React.KeyboardEvent) => void; - - /** - * Callback when user input - * @param value - */ + className?: string; + inputClassName?: string; + controlsClassName?: string; onChange?: (value: number | null) => void; - - /** - * Callback when user press enter - * @param e - */ - onPressEnter?: InputNumberProps['onPressEnter']; - - /** - * The classNames of the input - */ - classNames?: InputNumberProps['classNames']; + onKeyDown?: (e: React.KeyboardEvent) => void; } -export const InputNumber = forwardRef((props, ref) => { - const { - className, - value, - max, - min, - step = 1, - precision, - disabled = false, - controls = true, - onClick, - onKeyDown, - onChange, - onPressEnter, - onBlur, - onFocus, - classNames, - } = props; +export const InputNumber = forwardRef( + ( + { + value, + defaultValue, + min = Number.MIN_SAFE_INTEGER, + max = Number.MAX_SAFE_INTEGER, + step = 1, + precision, + formatter, + parser, + controls = true, + className, + inputClassName, + controlsClassName, + disabled, + onChange, + onKeyDown, + }, + ref + ) => { + const [internalValue, setInternalValue] = useState( + value !== undefined ? value : defaultValue !== undefined ? defaultValue : null + ); + const lastValidValueRef = useRef(internalValue); + const [inputValue, setInputValue] = useState(formatValue(internalValue)); + const inputRef = useRef(null); + const longPressTimerRef = useRef(null); + const longPressIntervalRef = useRef(null); - function handleChange(value: number | null) { - if (value !== null) { - onChange?.(value); + const mergedRef = (node: HTMLInputElement) => { + if (ref) { + if (typeof ref === 'function') { + ref(node); + } else { + ref.current = node; + } + } + inputRef.current = node; + }; + + // Update internal value when value prop changes + useEffect(() => { + if (value !== undefined) { + setInternalValue(value); + lastValidValueRef.current = value; + setInputValue(formatValue(value)); + } + }, [value]); + + // 当内部值变化时,如果是有效值则更新lastValidValue + useEffect(() => { + if (internalValue !== null) { + lastValidValueRef.current = internalValue; + } + }, [internalValue]); + + // Clean up timers when component unmounts + useEffect(() => { + return () => { + if (longPressTimerRef.current) { + clearTimeout(longPressTimerRef.current); + } + if (longPressIntervalRef.current) { + clearInterval(longPressIntervalRef.current); + } + }; + }, []); + + function formatValue(val: number | null): string { + if (val === null || val === undefined) return ''; + + let formattedValue: string | number = val; + + // Apply precision + if (precision !== undefined) { + formattedValue = Number(val).toFixed(precision); + } + + // Apply custom formatter + if (formatter) { + return formatter(formattedValue); + } + + return String(formattedValue); } - } - return ( - - ); -}); + function parseValue(val: string): number | null { + if (!val) return null; + + let parsedValue = val; + + if (parser) { + parsedValue = parser(val); + } + + try { + const cleanedValue = parsedValue.replace(/[^\d.-]/g, ''); + + const parts = cleanedValue.split('.'); + const firstPart = parts[0]; + const secondPart = parts.length > 1 ? parts.slice(1).join('') : ''; + + const normalizedValue = + firstPart + (secondPart ? `.${secondPart}` : ''); + + const num = Number(normalizedValue); + + if (Number.isNaN(num)) { + return null; + } + + let result: number; + if (precision !== undefined) { + const factor = 10 ** precision; + const roundedNum = Math.round(num * factor) / factor; + + const numStr = roundedNum.toString(); + if (numStr.includes('e')) { + result = Number.parseFloat(roundedNum.toFixed(precision)); + } else { + result = roundedNum; + } + } else { + const numStr = num.toString(); + if (numStr.includes('e')) { + result = Number.parseFloat(num.toFixed(16).replace(/\.?0+$/, '')); + } else { + result = num; + } + } + + if (max !== undefined && result > max) { + result = max; + } + if (min !== undefined && result < min) { + result = min; + } + + return result; + } catch (e) { + return null; + } + } + + function handleInputChange(value: string) { + setInputValue(value); + + const parsedValue = parseValue(value); + setInternalValue(parsedValue); + + if (onChange) { + onChange(parsedValue); + } + } + + function handleBlur() { + // If the input is empty or invalid, restore the last valid value + if (internalValue === null) { + const valueToRestore = lastValidValueRef.current; + setInternalValue(valueToRestore); + setInputValue(formatValue(valueToRestore)); + + if (onChange) { + onChange(valueToRestore); + } + return; + } + + // When blurring, format the value properly + let valueInRange = internalValue; + + // Apply min/max constraints + if (max !== undefined && valueInRange > max) { + valueInRange = max; + } + if (min !== undefined && valueInRange < min) { + valueInRange = min; + } + + if (valueInRange !== internalValue) { + setInternalValue(valueInRange); + setInputValue(formatValue(valueInRange)); + + if (onChange) { + onChange(valueInRange); + } + } else { + // Just ensure the display is formatted correctly + setInputValue(formatValue(internalValue)); + } + } + + function handleStep(isUp: boolean) { + if (disabled) return; + + const stepValue = isUp ? step : -step; + // When internalValue is null, use 0 as the base value or the last valid value + const currentValue = internalValue !== null ? internalValue : (lastValidValueRef.current !== null ? lastValidValueRef.current : 0); + let newValue = currentValue + stepValue; + + // Apply min/max constraints + if (max !== undefined && newValue > max) { + newValue = max; + } + if (min !== undefined && newValue < min) { + newValue = min; + } + + // If we've hit a limit, don't change the value + if (newValue === currentValue) return; + + setInternalValue(newValue); + lastValidValueRef.current = newValue; + setInputValue(formatValue(newValue)); + + if (onChange) { + onChange(newValue); + } + } + + // Handle key down events for arrow keys + function handleKeyDown(e: React.KeyboardEvent) { + if (disabled) return; + + onKeyDown?.(e); + + if (e.key === 'ArrowUp') { + e.preventDefault(); + handleStep(true); + } else if (e.key === 'ArrowDown') { + e.preventDefault(); + handleStep(false); + } + } + + function handleClick(isUp: boolean) { + if (disabled) return; + + handleStep(isUp); + + if (inputRef.current) { + inputRef.current.focus(); + } + } + + return ( +
+
+ + + {controls && ( +
+ + +
+ )} +
+
+ ); + } +); diff --git a/packages/design/src/components/input-number/index.module.less b/packages/design/src/components/input-number/index.module.less deleted file mode 100644 index 7f5118a3c0..0000000000 --- a/packages/design/src/components/input-number/index.module.less +++ /dev/null @@ -1,142 +0,0 @@ -.input-number { - display: inline-block; - - // Should not exceed its parent's height. - max-height: 100%; - height: 34px; - margin: 0; - padding: 0; - - font-size: 12px; - vertical-align: middle; - - background-color: rgb(var(--bg-color-secondary)); - border: 1px solid rgb(var(--border-color)); - border-radius: var(--border-radius-base); - - transition: all 0.3s; - - &-focused, - &:hover { - border-color: rgb(var(--primary-color)); - - .input-number-handler-up, - .input-number-handler-wrap { - border-color: rgb(var(--primary-color)); - } - } - - // &-out-of-range { - // .input-number-input { - // color: rgb(var(--error-color)); - // } - // } - - &-handler { - touch-action: none; - cursor: pointer; - - overflow: hidden; - display: flex; - align-items: center; - justify-content: center; - flex: 1; - text-align: center; - } - - &-handler-up-inner, - &-handler-down-inner { - user-select: none; - color: rgb(var(--text-color)); - } - - &-disabled:hover { - cursor: not-allowed; - border-color: rgb(var(--border-color)); - - .input-number-handler-up, - .input-number-handler-wrap { - border-color: rgb(var(--border-color)); - } - } - - &-input-wrap { - overflow: hidden; - height: 100%; - } - - &-input { - width: 100%; - height: 100%; - padding: 0; - - line-height: 34px; - color: rgb(var(--text-color)); - text-align: center; - - border: 0; - border-radius: var(--border-radius-base); - outline: 0; - - transition: all 0.15s; - } - - &-handler-wrap { - float: right; - display: flex; - flex-direction: column; - justify-content: center; - - width: 20px; - height: 100%; - - border-left: 1px solid rgb(var(--border-color)); - - transition: all 0.3s; - } - - &-handler-up { - border-bottom: 1px solid rgb(var(--border-color)); - transition: all 0.15s; - - &-inner { - &::after { - content: '+'; - } - } - } - - &-handler-down { - transition: all 0.15s; - - &-inner { - &::after { - content: '-'; - } - } - } - - .handler-disabled() { - opacity: 0.3; - - &:hover { - color: #999; - border-color: rgb(var(--grey-200)); - } - } - - &-handler-down-disabled, - &-handler-up-disabled { - .handler-disabled(); - } - - &-disabled { - .input-number-input { - cursor: not-allowed; - } - - .input-number-handler { - .handler-disabled(); - } - } -} diff --git a/packages/design/src/components/input/Input.tsx b/packages/design/src/components/input/Input.tsx index c70a120d53..c0160cc055 100644 --- a/packages/design/src/components/input/Input.tsx +++ b/packages/design/src/components/input/Input.tsx @@ -14,20 +14,43 @@ * limitations under the License. */ +import type { VariantProps } from 'class-variance-authority'; import { CloseSingle } from '@univerjs/icons'; -import React from 'react'; +import { cva } from 'class-variance-authority'; +import { forwardRef } from 'react'; import { clsx } from '../../helper/clsx'; type InputProps = React.InputHTMLAttributes; -export interface IInputProps extends Pick { +export const inputVariants = cva( + ` + univer-box-border univer-w-full univer-rounded-md univer-border univer-border-solid univer-border-gray-200 + univer-bg-white univer-transition-colors univer-duration-200 + focus:univer-border-primary-500 focus:univer-outline-none focus:univer-ring-2 focus:univer-ring-primary-500/20 + placeholder:univer-text-gray-400 + `, + { + variants: { + size: { + small: 'univer-h-8 univer-px-2 univer-text-sm', + middle: 'univer-h-10 univer-px-3 univer-text-base', + large: 'univer-h-12 univer-px-4 univer-text-lg', + }, + }, + defaultVariants: { + size: 'small', + }, + } +); + +export interface IInputProps extends Pick, + VariantProps { autoFocus?: boolean; className?: string; style?: React.CSSProperties; - type?: 'text' | 'password'; + type?: HTMLInputElement['type']; placeholder?: string; value?: string; - size?: 'small' | 'middle' | 'large'; allowClear?: boolean; disabled?: boolean; onClick?: (e: React.MouseEvent) => void; @@ -35,90 +58,77 @@ export interface IInputProps extends Pick { onChange?: (value: string) => void; } -export const Input = ({ - autoFocus = false, - className, - style, - type = 'text', - placeholder, - value, - size = 'small', - allowClear = false, - disabled = false, - onClick, - onKeyDown, - onChange, - onFocus, - onBlur, - ...props -}: IInputProps) => { - const sizeClasses = { - small: 'univer-h-8 univer-text-sm univer-px-2', - middle: 'univer-h-10 univer-text-base univer-px-3', - large: 'univer-h-12 univer-text-lg univer-px-4', - }; +export const Input = forwardRef( + ({ + autoFocus = false, + className, + style, + type = 'text', + placeholder, + value, + size = 'small', + allowClear = false, + disabled = false, + onClick, + onKeyDown, + onChange, + onFocus, + onBlur, + ...props + }, ref) => { + const handleClear = (e: React.MouseEvent) => { + e.stopPropagation(); + onChange?.(''); + }; - const handleClear = (e: React.MouseEvent) => { - e.stopPropagation(); - onChange?.(''); - }; + const handleChange = (e: React.ChangeEvent) => { + onChange?.(e.target.value); + }; - const handleChange = (e: React.ChangeEvent) => { - onChange?.(e.target.value); - }; - - return ( -
- - {allowClear && value && !disabled && ( - - )} -
- ); -}; + style={style} + > + + {allowClear && value && !disabled && ( + + )} + + ); + } +); diff --git a/packages/design/src/components/message/Message.tsx b/packages/design/src/components/message/Message.tsx index 2e1ec51143..168e2f12b7 100644 --- a/packages/design/src/components/message/Message.tsx +++ b/packages/design/src/components/message/Message.tsx @@ -38,10 +38,17 @@ export interface IMessageProps { const iconMap = { [MessageType.Success]: , - [MessageType.Info]: , + [MessageType.Info]: ( + + ), [MessageType.Warning]: , [MessageType.Error]: , - [MessageType.Loading]: , + [MessageType.Loading]: , }; const Message = ({ content, type = MessageType.Info }: IMessageProps) => { diff --git a/packages/docs-drawing-ui/package.json b/packages/docs-drawing-ui/package.json index 0b7720db42..78fba6afef 100644 --- a/packages/docs-drawing-ui/package.json +++ b/packages/docs-drawing-ui/package.json @@ -74,7 +74,7 @@ "@univerjs/drawing": "workspace:*", "@univerjs/drawing-ui": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/ui": "workspace:*" }, "devDependencies": { diff --git a/packages/docs-hyper-link-ui/package.json b/packages/docs-hyper-link-ui/package.json index 617ef9b1ba..4dde8897fe 100644 --- a/packages/docs-hyper-link-ui/package.json +++ b/packages/docs-hyper-link-ui/package.json @@ -72,7 +72,7 @@ "@univerjs/docs-hyper-link": "workspace:*", "@univerjs/docs-ui": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/ui": "workspace:*" }, "devDependencies": { diff --git a/packages/docs-quick-insert-ui/package.json b/packages/docs-quick-insert-ui/package.json index be1050c859..c42ed837b1 100644 --- a/packages/docs-quick-insert-ui/package.json +++ b/packages/docs-quick-insert-ui/package.json @@ -75,7 +75,7 @@ "@univerjs/drawing": "workspace:*", "@univerjs/drawing-ui": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/ui": "workspace:*" }, "devDependencies": { diff --git a/packages/docs-thread-comment-ui/package.json b/packages/docs-thread-comment-ui/package.json index 600d3f7179..c01f4e0223 100644 --- a/packages/docs-thread-comment-ui/package.json +++ b/packages/docs-thread-comment-ui/package.json @@ -64,7 +64,7 @@ "@univerjs/docs": "workspace:*", "@univerjs/docs-ui": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/thread-comment": "workspace:*", "@univerjs/thread-comment-ui": "workspace:*", "@univerjs/ui": "workspace:*" diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.json index 70e0ed1981..614db9483b 100644 --- a/packages/docs-ui/package.json +++ b/packages/docs-ui/package.json @@ -84,7 +84,7 @@ "@univerjs/docs": "workspace:*", "@univerjs/drawing": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/ui": "workspace:*" }, "devDependencies": { diff --git a/packages/drawing-ui/package.json b/packages/drawing-ui/package.json index b9ed1ae6b5..545098a1e2 100644 --- a/packages/drawing-ui/package.json +++ b/packages/drawing-ui/package.json @@ -70,7 +70,7 @@ "@univerjs/design": "workspace:*", "@univerjs/drawing": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/ui": "workspace:*" }, "devDependencies": { diff --git a/packages/drawing-ui/src/views/panel/DrawingArrange.tsx b/packages/drawing-ui/src/views/panel/DrawingArrange.tsx index 8bd1b7c373..82dc00e6ee 100644 --- a/packages/drawing-ui/src/views/panel/DrawingArrange.tsx +++ b/packages/drawing-ui/src/views/panel/DrawingArrange.tsx @@ -84,7 +84,7 @@ export const DrawingArrange = (props: IDrawingArrangeProps) => {
-
-
-
-
-
-
-
{localeService.t('sheet.cf.panel.styleType')}
- ruleTypeSet(e)} + />
- +
- - + +
); diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json index 03639b3244..04fefad9fa 100644 --- a/packages/sheets-conditional-formatting/package.json +++ b/packages/sheets-conditional-formatting/package.json @@ -80,7 +80,7 @@ }, "devDependencies": { "@univerjs-infra/shared": "workspace:*", - "@univerjs/icons-svg": "^0.2.35", + "@univerjs/icons-svg": "^0.3.2", "rxjs": "^7.8.1", "typescript": "^5.8.3", "vite": "^6.3.0", diff --git a/packages/sheets-crosshair-highlight/package.json b/packages/sheets-crosshair-highlight/package.json index a5c901ec28..c583fa2386 100644 --- a/packages/sheets-crosshair-highlight/package.json +++ b/packages/sheets-crosshair-highlight/package.json @@ -80,7 +80,7 @@ "@univerjs/core": "workspace:*", "@univerjs/design": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@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 535fbd9069..020ae2424f 100644 --- a/packages/sheets-data-validation-ui/package.json +++ b/packages/sheets-data-validation-ui/package.json @@ -75,7 +75,7 @@ "@univerjs/design": "workspace:*", "@univerjs/engine-formula": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-data-validation": "workspace:*", "@univerjs/sheets-formula-ui": "workspace:*", diff --git a/packages/sheets-drawing-ui/package.json b/packages/sheets-drawing-ui/package.json index ffb6f9b848..568b863b61 100644 --- a/packages/sheets-drawing-ui/package.json +++ b/packages/sheets-drawing-ui/package.json @@ -84,7 +84,7 @@ "@univerjs/drawing": "workspace:*", "@univerjs/drawing-ui": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-drawing": "workspace:*", "@univerjs/sheets-ui": "workspace:*", diff --git a/packages/sheets-filter-ui/package.json b/packages/sheets-filter-ui/package.json index 4fc9396b5b..3e298f73a2 100644 --- a/packages/sheets-filter-ui/package.json +++ b/packages/sheets-filter-ui/package.json @@ -69,7 +69,7 @@ "@univerjs/core": "workspace:*", "@univerjs/design": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@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 25d3ff044f..d5ee81c4d0 100644 --- a/packages/sheets-formula-ui/package.json +++ b/packages/sheets-formula-ui/package.json @@ -84,7 +84,7 @@ "@univerjs/docs-ui": "workspace:*", "@univerjs/engine-formula": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-formula": "workspace:*", "@univerjs/sheets-ui": "workspace:*", diff --git a/packages/sheets-formula-ui/src/views/more-functions/MoreFunctions.tsx b/packages/sheets-formula-ui/src/views/more-functions/MoreFunctions.tsx index 77607eb780..864ffbfb9e 100644 --- a/packages/sheets-formula-ui/src/views/more-functions/MoreFunctions.tsx +++ b/packages/sheets-formula-ui/src/views/more-functions/MoreFunctions.tsx @@ -70,17 +70,17 @@ export function MoreFunctions() {
{/* TODO@Dushusir: open input params after range selector refactor */} {inputParams && ( - )} {inputParams && ( - )} {selectFunction && !!workbook && ( - )} diff --git a/packages/sheets-formula-ui/src/views/range-selector/index.tsx b/packages/sheets-formula-ui/src/views/range-selector/index.tsx index 5b71837281..0f74fd8e7d 100644 --- a/packages/sheets-formula-ui/src/views/range-selector/index.tsx +++ b/packages/sheets-formula-ui/src/views/range-selector/index.tsx @@ -185,7 +185,7 @@ export function RangeSelectorDialog(props: IRangeSelectorDialogProps) { ))} {ranges.length < maxRangeCount && (
- diff --git a/packages/sheets-hyper-link-ui/package.json b/packages/sheets-hyper-link-ui/package.json index 17ee5c278a..855a678422 100644 --- a/packages/sheets-hyper-link-ui/package.json +++ b/packages/sheets-hyper-link-ui/package.json @@ -85,7 +85,7 @@ "@univerjs/docs-ui": "workspace:*", "@univerjs/engine-formula": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-data-validation": "workspace:*", "@univerjs/sheets-formula-ui": "workspace:*", diff --git a/packages/sheets-numfmt-ui/package.json b/packages/sheets-numfmt-ui/package.json index 60d3d2131b..e9cf892643 100644 --- a/packages/sheets-numfmt-ui/package.json +++ b/packages/sheets-numfmt-ui/package.json @@ -73,7 +73,7 @@ "@univerjs/engine-formula": "workspace:*", "@univerjs/engine-numfmt": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-numfmt": "workspace:*", "@univerjs/sheets-ui": "workspace:*", diff --git a/packages/sheets-numfmt-ui/src/views/components/index.tsx b/packages/sheets-numfmt-ui/src/views/components/index.tsx index ecbbd44249..f89fdec374 100644 --- a/packages/sheets-numfmt-ui/src/views/components/index.tsx +++ b/packages/sheets-numfmt-ui/src/views/components/index.tsx @@ -129,10 +129,10 @@ export const SheetNumfmtPanel: FC = (props) => {
- -
diff --git a/packages/sheets-sort-ui/package.json b/packages/sheets-sort-ui/package.json index 3e3af2d472..0a74134e08 100644 --- a/packages/sheets-sort-ui/package.json +++ b/packages/sheets-sort-ui/package.json @@ -69,7 +69,7 @@ "@univerjs/core": "workspace:*", "@univerjs/design": "workspace:*", "@univerjs/engine-formula": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-sort": "workspace:*", "@univerjs/sheets-ui": "workspace:*", diff --git a/packages/sheets-thread-comment-ui/package.json b/packages/sheets-thread-comment-ui/package.json index 888d1f67c2..97319152a7 100644 --- a/packages/sheets-thread-comment-ui/package.json +++ b/packages/sheets-thread-comment-ui/package.json @@ -69,7 +69,7 @@ "@univerjs/core": "workspace:*", "@univerjs/engine-formula": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@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 f1566f53f1..0ba99dd65b 100644 --- a/packages/sheets-ui/package.json +++ b/packages/sheets-ui/package.json @@ -86,7 +86,7 @@ "@univerjs/engine-formula": "workspace:*", "@univerjs/engine-numfmt": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/protocol": "0.1.45", "@univerjs/sheets": "workspace:*", "@univerjs/telemetry": "workspace:*", diff --git a/packages/sheets-zen-editor/package.json b/packages/sheets-zen-editor/package.json index ac65404a01..cb8df60c95 100644 --- a/packages/sheets-zen-editor/package.json +++ b/packages/sheets-zen-editor/package.json @@ -84,7 +84,7 @@ "@univerjs/docs": "workspace:*", "@univerjs/docs-ui": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/sheets": "workspace:*", "@univerjs/sheets-ui": "workspace:*", "@univerjs/ui": "workspace:*" diff --git a/packages/slides-ui/package.json b/packages/slides-ui/package.json index 9d1653581e..0045f42dfb 100644 --- a/packages/slides-ui/package.json +++ b/packages/slides-ui/package.json @@ -74,7 +74,7 @@ "@univerjs/docs-ui": "workspace:*", "@univerjs/drawing": "workspace:*", "@univerjs/engine-render": "workspace:*", - "@univerjs/icons": "^0.2.35", + "@univerjs/icons": "^0.3.2", "@univerjs/slides": "workspace:*", "@univerjs/ui": "workspace:*" }, diff --git a/packages/slides-ui/src/components/panels/ArrangePanel.tsx b/packages/slides-ui/src/components/panels/ArrangePanel.tsx index 2fd30564a3..33a086c936 100644 --- a/packages/slides-ui/src/components/panels/ArrangePanel.tsx +++ b/packages/slides-ui/src/components/panels/ArrangePanel.tsx @@ -98,7 +98,7 @@ export default function ArrangePanel(props: IProps) {
-
-
-
- @@ -194,7 +194,7 @@ export function Slider(props: ISliderProps) {
- diff --git a/packages/uniscript/src/views/components/ScriptEditorPanel.tsx b/packages/uniscript/src/views/components/ScriptEditorPanel.tsx index 6162478cfd..457b6739e1 100644 --- a/packages/uniscript/src/views/components/ScriptEditorPanel.tsx +++ b/packages/uniscript/src/views/components/ScriptEditorPanel.tsx @@ -94,7 +94,7 @@ export function ScriptEditorPanel() {
-
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 311ef4abed..ba130a4c8d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -181,11 +181,11 @@ importers: specifier: ^11.0.4 version: 11.0.4 '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/icons-svg': - specifier: ^0.2.35 - version: 0.2.35 + specifier: ^0.3.2 + version: 0.3.2 '@univerjs/protocol': specifier: 0.1.45 version: 0.1.45(@grpc/grpc-js@1.10.9)(rxjs@7.8.1) @@ -335,8 +335,8 @@ importers: specifier: workspace:* version: link:../packages/find-replace '@univerjs/icons': - specifier: 0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: 0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/mockdata': specifier: workspace:* version: link:../mockdata @@ -595,8 +595,8 @@ importers: specifier: workspace:* version: link:../../packages/design '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../../packages/sheets @@ -653,8 +653,8 @@ importers: specifier: workspace:* version: link:../../packages/engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/mockdata': specifier: workspace:* version: link:../../mockdata @@ -808,8 +808,8 @@ importers: specifier: workspace:* version: link:../../packages/engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/rpc': specifier: workspace:* version: link:../../packages/rpc @@ -869,8 +869,8 @@ importers: specifier: workspace:* version: link:../../packages/docs-ui '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../../packages/sheets @@ -924,8 +924,8 @@ importers: specifier: workspace:* version: link:../../packages/engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/slides-ui': specifier: workspace:* version: link:../../packages/slides-ui @@ -979,8 +979,8 @@ importers: specifier: workspace:* version: link:../../packages/engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../../packages/sheets @@ -1141,8 +1141,8 @@ importers: specifier: ^2.2.6 version: 2.2.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) class-variance-authority: specifier: ^0.7.1 version: 0.7.1 @@ -1158,9 +1158,6 @@ importers: rc-dropdown: specifier: ^4.2.1 version: 4.2.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - rc-input-number: - specifier: ^9.3.0 - version: 9.3.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) rc-menu: specifier: ^9.16.0 version: 9.16.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -1303,8 +1300,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/ui': specifier: workspace:* version: link:../ui @@ -1377,8 +1374,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/ui': specifier: workspace:* version: link:../ui @@ -1481,8 +1478,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/ui': specifier: workspace:* version: link:../ui @@ -1527,8 +1524,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/thread-comment': specifier: workspace:* version: link:../thread-comment @@ -1582,8 +1579,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/ui': specifier: workspace:* version: link:../ui @@ -1662,8 +1659,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/ui': specifier: workspace:* version: link:../ui @@ -1800,8 +1797,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/ui': specifier: workspace:* version: link:../ui @@ -1959,8 +1956,8 @@ importers: specifier: workspace:* version: link:../../common/shared '@univerjs/icons-svg': - specifier: ^0.2.35 - version: 0.2.35 + specifier: ^0.3.2 + version: 0.3.2 rxjs: specifier: ^7.8.1 version: 7.8.1 @@ -1989,8 +1986,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2010,8 +2007,8 @@ importers: specifier: '19' version: 19.0.0(react@19.0.0) react-grid-layout: - specifier: ^1.4.4 - version: 1.4.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^1.5.1 + version: 1.5.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react-resizable: specifier: ^3.0.5 version: 3.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) @@ -2059,8 +2056,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2157,8 +2154,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2255,8 +2252,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2341,8 +2338,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/rpc': specifier: workspace:* version: link:../rpc @@ -2479,8 +2476,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2602,8 +2599,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2697,8 +2694,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2777,8 +2774,8 @@ importers: specifier: workspace:* version: link:../engine-formula '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2866,8 +2863,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -2936,8 +2933,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/protocol': specifier: 0.1.45 version: 0.1.45(@grpc/grpc-js@1.10.9)(rxjs@7.8.1) @@ -2997,8 +2994,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/sheets': specifier: workspace:* version: link:../sheets @@ -3080,8 +3077,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/slides': specifier: workspace:* version: link:../slides @@ -3173,8 +3170,8 @@ importers: specifier: workspace:* version: link:../docs-ui '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@univerjs/thread-comment': specifier: workspace:* version: link:../thread-comment @@ -3222,8 +3219,8 @@ importers: specifier: workspace:* version: link:../engine-render '@univerjs/icons': - specifier: ^0.2.35 - version: 0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + specifier: ^0.3.2 + version: 0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@wendellhu/redi': specifier: 0.17.1 version: 0.17.1 @@ -3590,10 +3587,6 @@ packages: resolution: {integrity: sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==} engines: {node: '>=6.9.0'} - '@babel/runtime@7.25.0': - resolution: {integrity: sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==} - engines: {node: '>=6.9.0'} - '@babel/runtime@7.25.4': resolution: {integrity: sha512-DSgLeL/FNcpXuzav5wfYvHCGvynXkJbn3Zvc3823AEe9nPwW9IK4UoCSS5yGymmQzN0pCPvivtgS6/8U2kkm1w==} engines: {node: '>=6.9.0'} @@ -4834,10 +4827,6 @@ packages: '@radix-ui/rect@1.1.1': resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==} - '@rc-component/mini-decimal@1.1.0': - resolution: {integrity: sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==} - engines: {node: '>=8.x'} - '@rc-component/portal@1.1.2': resolution: {integrity: sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==} engines: {node: '>=8.x'} @@ -5585,11 +5574,11 @@ packages: resolution: {integrity: sha512-aEhgas7aJ6vZnNFC7K4/vMGDGyOiqWcYZPpIWrTKuTAlsvDNKy2GFDqh9smL+iq069ZvR0YzEeq0B8NJlLzjFA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@univerjs/icons-svg@0.2.35': - resolution: {integrity: sha512-fsILbeD9RGdqeDb8ga+VqhNSAEWhLnodYPEjP3eOZbJTHm070f0DUX8SiuaaVchkvrQNIVUW4KTLdoK5HX2f5Q==} + '@univerjs/icons-svg@0.3.2': + resolution: {integrity: sha512-MCEcqWvsqjBOQsDPql9l4se4cH1DrZYrUH5tAOjCUYPeZsE/ylZp0khm6su3U+1gyPSUYkbR52IwdIg2QF6TRw==} - '@univerjs/icons@0.2.35': - resolution: {integrity: sha512-FEY22AUd0KwL1NpHL4hS0STJC0Mw2sWzCUlI0PC2Nyq104KR3CfsGhSsuhPgHmz2yov9GoEospVqadMO9QPuaA==} + '@univerjs/icons@0.3.2': + resolution: {integrity: sha512-QngW2B7xj1FAEmHkgNKL8cKdq9nCUPlAA1C50ZZn3FlYwvX3d+miP7AcRXT5wJIiNO1G1Q6KLVDg9ehXpNeAjw==} peerDependencies: react: '19' react-dom: '19' @@ -9808,18 +9797,6 @@ packages: react: '19' react-dom: '19' - rc-input-number@9.3.0: - resolution: {integrity: sha512-JQ363ywqRyxwgVxpg2z2kja3CehTpYdqR7emJ/6yJjRdbvo+RvfE83fcpBCIJRq3zLp8SakmEXq60qzWyZ7Usw==} - peerDependencies: - react: '19' - react-dom: '19' - - rc-input@1.6.3: - resolution: {integrity: sha512-wI4NzuqBS8vvKr8cljsvnTUqItMfG1QbJoxovCgL+DX4eVUcHIjVwharwevIxyy7H/jbLryh+K7ysnJr23aWIA==} - peerDependencies: - react: '19' - react-dom: '19' - rc-menu@9.16.0: resolution: {integrity: sha512-vAL0yqPkmXWk3+YKRkmIR8TYj3RVdEt3ptG2jCJXWNAvQbT0VJJdRyHZ7kG/l1JsZlB+VJq/VcYOo69VR4oD+w==} peerDependencies: @@ -9971,12 +9948,6 @@ packages: react: '19' react-dom: '19' - react-grid-layout@1.4.4: - resolution: {integrity: sha512-7+Lg8E8O8HfOH5FrY80GCIR1SHTn2QnAYKh27/5spoz+OHhMmEhU/14gIkRzJOtympDPaXcVRX/nT1FjmeOUmQ==} - peerDependencies: - react: '19' - react-dom: '19' - react-grid-layout@1.5.1: resolution: {integrity: sha512-4Fr+kKMk0+m1HL/BWfHxi/lRuaOmDNNKQDcu7m12+NEYcen20wIuZFo789u3qWCyvUsNUxCiyf0eKq4WiJSNYw==} peerDependencies: @@ -11617,10 +11588,6 @@ snapshots: dependencies: regenerator-runtime: 0.14.1 - '@babel/runtime@7.25.0': - dependencies: - regenerator-runtime: 0.14.1 - '@babel/runtime@7.25.4': dependencies: regenerator-runtime: 0.14.1 @@ -12954,10 +12921,6 @@ snapshots: '@radix-ui/rect@1.1.1': {} - '@rc-component/mini-decimal@1.1.0': - dependencies: - '@babel/runtime': 7.26.0 - '@rc-component/portal@1.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@babel/runtime': 7.24.7 @@ -13820,9 +13783,9 @@ snapshots: '@typescript-eslint/types': 8.30.1 eslint-visitor-keys: 4.2.0 - '@univerjs/icons-svg@0.2.35': {} + '@univerjs/icons-svg@0.3.2': {} - '@univerjs/icons@0.2.35(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': + '@univerjs/icons@0.3.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: react: 19.0.0 react-dom: 19.0.0(react@19.0.0) @@ -18640,24 +18603,6 @@ snapshots: react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - rc-input-number@9.3.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0): - dependencies: - '@babel/runtime': 7.26.0 - '@rc-component/mini-decimal': 1.1.0 - classnames: 2.5.1 - rc-input: 1.6.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - rc-util: 5.43.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - react: 19.0.0 - react-dom: 19.0.0(react@19.0.0) - - rc-input@1.6.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0): - dependencies: - '@babel/runtime': 7.25.0 - classnames: 2.5.1 - rc-util: 5.43.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - react: 19.0.0 - react-dom: 19.0.0(react@19.0.0) - rc-menu@9.16.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 @@ -18846,17 +18791,6 @@ snapshots: react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - react-grid-layout@1.4.4(react-dom@19.0.0(react@19.0.0))(react@19.0.0): - dependencies: - clsx: 2.1.1 - fast-equals: 4.0.3 - prop-types: 15.8.1 - react: 19.0.0 - react-dom: 19.0.0(react@19.0.0) - react-draggable: 4.4.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - react-resizable: 3.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) - resize-observer-polyfill: 1.5.1 - react-grid-layout@1.5.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: clsx: 2.1.1