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(*): improve styles in sheets-ui (#4704)

白熱b752a7fcf8b6
diff --git a/.github/workflows/update-snapshots-manually.yml b/.github/workflows/update-snapshots-manually.yml
index e4fc3d9a21..40b6d3ced6 100644
--- a/.github/workflows/update-snapshots-manually.yml
+++ b/.github/workflows/update-snapshots-manually.yml
@@ -13,6 +13,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
+ with:
+ token: ${{ secrets.GH_TOKEN }}
- name: Setup Node.js
uses: ./.github/actions/setup-node
diff --git a/common/storybook/.storybook/main.ts b/common/storybook/.storybook/main.ts
index 3356dda48e..c19debe162 100644
--- a/common/storybook/.storybook/main.ts
+++ b/common/storybook/.storybook/main.ts
@@ -131,6 +131,9 @@ const config: StorybookConfig = {
dynamicImport: true,
},
transform: {
+ react: {
+ runtime: 'automatic',
+ },
legacyDecorator: true,
decoratorMetadata: true,
},
diff --git a/common/storybook/.storybook/preview.tsx b/common/storybook/.storybook/preview.tsx
index b9c46fdb0d..c224bbea8a 100644
--- a/common/storybook/.storybook/preview.tsx
+++ b/common/storybook/.storybook/preview.tsx
@@ -36,7 +36,6 @@ import {
LocaleType,
LocalUndoRedoService,
PermissionService,
- RediContext,
ResourceManagerService,
ThemeService,
UniverInstanceService,
@@ -44,7 +43,7 @@ import {
import { ConfigProvider, defaultTheme, greenTheme, themeInstance } from '@univerjs/design';
import enUS from '@univerjs/design/locale/en-US';
import zhCN from '@univerjs/design/locale/zh-CN';
-import { DesktopLocalStorageService } from '@univerjs/ui';
+import { DesktopLocalStorageService, RediContext } from '@univerjs/ui';
import React, { useMemo } from 'react';
import './global.css';
diff --git a/common/storybook/package.json b/common/storybook/package.json
index 1065c82b28..a77271e98c 100644
--- a/common/storybook/package.json
+++ b/common/storybook/package.json
@@ -21,7 +21,7 @@
"@storybook/addon-interactions": "^8.5.8",
"@storybook/addon-links": "^8.5.8",
"@storybook/addon-styling-webpack": "^1.0.1",
- "@storybook/addon-webpack5-compiler-swc": "^1.0.5",
+ "@storybook/addon-webpack5-compiler-swc": "^2.1.0",
"@storybook/blocks": "^8.5.8",
"@storybook/icons": "^1.3.2",
"@storybook/react": "^8.5.8",
diff --git a/common/storybook/tsconfig.json b/common/storybook/tsconfig.json
index 73bf7f6376..4d363bfd74 100644
--- a/common/storybook/tsconfig.json
+++ b/common/storybook/tsconfig.json
@@ -1,9 +1,6 @@
{
"extends": "@univerjs-infra/shared/tsconfigs/base",
"compilerOptions": {
- "target": "ESNext",
- "jsx": "react",
- "lib": ["ESNext", "dom", "dom.iterable"],
"useDefineForClassFields": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
diff --git a/e2e/visual-comparison/sheets/sheets-gridlines.spec.ts-snapshots/sheets-no-gridlines-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-gridlines.spec.ts-snapshots/sheets-no-gridlines-ci-chromium-linux.png
index abba6173cc..30aa4fa001 100644
Binary files a/e2e/visual-comparison/sheets/sheets-gridlines.spec.ts-snapshots/sheets-no-gridlines-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-gridlines.spec.ts-snapshots/sheets-no-gridlines-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 2472d13d65..8f5b7212c5 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 c1afb0acda..705160ab59 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 d8310ee060..e66c2ab2c1 100644
--- a/examples/package.json
+++ b/examples/package.json
@@ -34,6 +34,7 @@
"@univerjs/engine-formula": "workspace:*",
"@univerjs/engine-render": "workspace:*",
"@univerjs/find-replace": "workspace:*",
+ "@univerjs/icons": "0.2.20",
"@univerjs/mockdata": "workspace:*",
"@univerjs/rpc": "workspace:*",
"@univerjs/rpc-node": "workspace:*",
@@ -84,7 +85,7 @@
"@univerjs-infra/shared": "workspace:*",
"cross-env": "^7.0.3",
"detect-port": "^2.1.0",
- "esbuild": "^0.24.2",
+ "esbuild": "^0.25.0",
"esbuild-plugin-clean": "^1.0.1",
"esbuild-plugin-copy": "^2.1.1",
"esbuild-plugin-vue3": "^0.4.2",
diff --git a/examples/src/sheets/custom-menu/commands/operations/dropdown-list.operation.ts b/examples/src/sheets/custom-menu/commands/operations/dropdown-list.operation.ts
new file mode 100644
index 0000000000..a320add14c
--- /dev/null
+++ b/examples/src/sheets/custom-menu/commands/operations/dropdown-list.operation.ts
@@ -0,0 +1,36 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { IAccessor, ICommand } from '@univerjs/core';
+import { CommandType } from '@univerjs/core';
+
+export const DropdownListFirstItemOperation: ICommand = {
+ id: 'custom-menu.operation.dropdown-list-first-item',
+ type: CommandType.OPERATION,
+ handler: async (_accessor: IAccessor) => {
+ // alert('Dropdown list first item operation')
+ return true;
+ },
+};
+
+export const DropdownListSecondItemOperation: ICommand = {
+ id: 'custom-menu.operation.dropdown-list-second-item',
+ type: CommandType.OPERATION,
+ handler: async (_accessor: IAccessor) => {
+ // alert('Dropdown list second item operation')
+ return true;
+ },
+};
diff --git a/packages/design/src/components/dropdown/DropdownContext.tsx b/examples/src/sheets/custom-menu/commands/operations/single-button.operation.ts
similarity index 51%
rename from packages/design/src/components/dropdown/DropdownContext.tsx
rename to examples/src/sheets/custom-menu/commands/operations/single-button.operation.ts
index 7127b8dbb4..4cca94b136 100644
--- a/packages/design/src/components/dropdown/DropdownContext.tsx
+++ b/examples/src/sheets/custom-menu/commands/operations/single-button.operation.ts
@@ -14,23 +14,14 @@
* limitations under the License.
*/
-import type { RefObject } from 'react';
-import { createContext, useContext } from 'react';
+import type { IAccessor, ICommand } from '@univerjs/core';
+import { CommandType } from '@univerjs/core';
-interface IDropdownContextType {
- show: boolean;
- updateShow: (value: boolean) => void;
- disabled: boolean;
- overlayRef: RefObject<HTMLDivElement>;
- triggerRef: RefObject<HTMLElement>;
-}
-
-export const DropdownContext = createContext<IDropdownContextType | null>(null);
-
-export const useDropdown = () => {
- const context = useContext(DropdownContext);
- if (!context) {
- throw new Error('useDropdown must be used within a DropdownProvider');
- }
- return context;
+export const SingleButtonOperation: ICommand = {
+ id: 'custom-menu.operation.single-button',
+ type: CommandType.OPERATION,
+ handler: async (_accessor: IAccessor) => {
+ // alert('Single button operation')
+ return true;
+ },
};
diff --git a/examples/src/sheets/custom-menu/controllers/custom-menu.controller.ts b/examples/src/sheets/custom-menu/controllers/custom-menu.controller.ts
new file mode 100644
index 0000000000..7e60f72192
--- /dev/null
+++ b/examples/src/sheets/custom-menu/controllers/custom-menu.controller.ts
@@ -0,0 +1,118 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { Disposable, ICommandService, Inject, Injector } from '@univerjs/core';
+import { AiSingle, BarChartSingle, CommentSingle } from '@univerjs/icons';
+import { ComponentManager, ContextMenuGroup, ContextMenuPosition, IMenuManagerService, MenuItemType, RibbonStartGroup } from '@univerjs/ui';
+import { DropdownListFirstItemOperation, DropdownListSecondItemOperation } from '../commands/operations/dropdown-list.operation';
+import { SingleButtonOperation } from '../commands/operations/single-button.operation';
+import { CUSTOM_MENU_DROPDOWN_LIST_OPERATION_ID, CustomMenuItemDropdownListFirstItemFactory, CustomMenuItemDropdownListMainButtonFactory, CustomMenuItemDropdownListSecondItemFactory } from './menu/dropdown-list.menu';
+import { CustomMenuItemSingleButtonFactory } from './menu/single-button.menu';
+
+export class CustomMenuController extends Disposable {
+ constructor(
+ @Inject(Injector) private readonly _injector: Injector,
+ @ICommandService private readonly _commandService: ICommandService,
+ @IMenuManagerService private readonly _menuManagerService: IMenuManagerService,
+ @Inject(ComponentManager) private readonly _componentManager: ComponentManager
+ ) {
+ super();
+
+ this._initCommands();
+ this._registerComponents();
+ this._initMenus();
+ }
+
+ /**
+ * register commands
+ */
+ private _initCommands(): void {
+ [
+ SingleButtonOperation,
+ DropdownListFirstItemOperation,
+ DropdownListSecondItemOperation,
+ ].forEach((c) => {
+ this.disposeWithMe(this._commandService.registerCommand(c));
+ });
+ }
+
+ /**
+ * register icon components
+ */
+ private _registerComponents(): void {
+ this.disposeWithMe(this._componentManager.register('ButtonIcon', AiSingle));
+ this.disposeWithMe(this._componentManager.register('ItemIcon', BarChartSingle));
+ this.disposeWithMe(this._componentManager.register('MainButtonIcon', CommentSingle));
+ }
+
+ /**
+ * register menu items
+ */
+ private _initMenus(): void {
+ const largeDropdownList = Array.from({ length: 15 }, (_, i) => ({
+ order: 20 + i,
+ menuItemFactory: () => {
+ return {
+ id: `${DropdownListSecondItemOperation.id}-${i}`,
+ type: MenuItemType.BUTTON,
+ title: 'customMenu.itemTwo',
+ icon: 'ItemIcon',
+ };
+ },
+ }));
+ this._menuManagerService.mergeMenu({
+ [RibbonStartGroup.OTHERS]: {
+ [SingleButtonOperation.id]: {
+ order: 10,
+ menuItemFactory: CustomMenuItemSingleButtonFactory,
+ },
+ [CUSTOM_MENU_DROPDOWN_LIST_OPERATION_ID]: {
+ order: 11,
+ menuItemFactory: CustomMenuItemDropdownListMainButtonFactory,
+ [DropdownListFirstItemOperation.id]: {
+ order: 0,
+ menuItemFactory: CustomMenuItemDropdownListFirstItemFactory,
+ },
+ [DropdownListSecondItemOperation.id]: {
+ order: 1,
+ menuItemFactory: CustomMenuItemDropdownListSecondItemFactory,
+ },
+ ...largeDropdownList,
+ },
+ },
+ [ContextMenuPosition.MAIN_AREA]: {
+ [ContextMenuGroup.OTHERS]: {
+ [SingleButtonOperation.id]: {
+ order: 12,
+ menuItemFactory: CustomMenuItemSingleButtonFactory,
+ },
+ [CUSTOM_MENU_DROPDOWN_LIST_OPERATION_ID]: {
+ order: 9,
+ menuItemFactory: CustomMenuItemDropdownListMainButtonFactory,
+ [DropdownListFirstItemOperation.id]: {
+ order: 0,
+ menuItemFactory: CustomMenuItemDropdownListFirstItemFactory,
+ },
+ [DropdownListSecondItemOperation.id]: {
+ order: 1,
+ menuItemFactory: CustomMenuItemDropdownListSecondItemFactory,
+ },
+ },
+ },
+ },
+ });
+ }
+}
diff --git a/examples/src/sheets/custom-menu/controllers/menu/dropdown-list.menu.ts b/examples/src/sheets/custom-menu/controllers/menu/dropdown-list.menu.ts
new file mode 100644
index 0000000000..67ea793625
--- /dev/null
+++ b/examples/src/sheets/custom-menu/controllers/menu/dropdown-list.menu.ts
@@ -0,0 +1,51 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
+import { MenuItemType } from '@univerjs/ui';
+import { DropdownListFirstItemOperation, DropdownListSecondItemOperation } from '../../commands/operations/dropdown-list.operation';
+
+export const CUSTOM_MENU_DROPDOWN_LIST_OPERATION_ID = 'custom-menu.operation.dropdown-list';
+
+export function CustomMenuItemDropdownListMainButtonFactory(): IMenuSelectorItem<string> {
+ return {
+ // When type is MenuItemType.SUBITEMS, this factory serves as a container for the drop-down list, and you can set any unique id
+ id: CUSTOM_MENU_DROPDOWN_LIST_OPERATION_ID,
+ // The type of the menu item, in this case, it is a subitems
+ type: MenuItemType.SUBITEMS,
+ icon: 'MainButtonIcon',
+ tooltip: 'customMenu.dropdownList',
+ title: 'customMenu.dropdown',
+ };
+}
+
+export function CustomMenuItemDropdownListFirstItemFactory(): IMenuButtonItem<string> {
+ return {
+ id: DropdownListFirstItemOperation.id,
+ type: MenuItemType.BUTTON,
+ title: 'customMenu.itemOne',
+ icon: 'ItemIcon',
+ };
+}
+
+export function CustomMenuItemDropdownListSecondItemFactory(): IMenuButtonItem<string> {
+ return {
+ id: DropdownListSecondItemOperation.id,
+ type: MenuItemType.BUTTON,
+ title: 'customMenu.itemTwo',
+ icon: 'ItemIcon',
+ };
+}
diff --git a/examples/src/sheets/custom-menu/controllers/menu/single-button.menu.ts b/examples/src/sheets/custom-menu/controllers/menu/single-button.menu.ts
new file mode 100644
index 0000000000..223946a650
--- /dev/null
+++ b/examples/src/sheets/custom-menu/controllers/menu/single-button.menu.ts
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { IMenuButtonItem } from '@univerjs/ui';
+import { MenuItemType } from '@univerjs/ui';
+import { SingleButtonOperation } from '../../commands/operations/single-button.operation';
+
+export function CustomMenuItemSingleButtonFactory(): IMenuButtonItem<string> {
+ return {
+ // Bind the command id, clicking the button will trigger this command
+ id: SingleButtonOperation.id,
+ // The type of the menu item, in this case, it is a button
+ type: MenuItemType.BUTTON,
+ // The icon of the button, which needs to be registered in ComponentManager
+ icon: 'ButtonIcon',
+ // The tooltip of the button. Prioritize matching internationalization. If no match is found, the original string will be displayed
+ tooltip: 'customMenu.singleButton',
+ // The title of the button. Prioritize matching internationalization. If no match is found, the original string will be displayed
+ title: 'customMenu.button',
+ };
+}
diff --git a/examples/src/sheets/custom-menu/index.ts b/examples/src/sheets/custom-menu/index.ts
new file mode 100644
index 0000000000..4ab3888d25
--- /dev/null
+++ b/examples/src/sheets/custom-menu/index.ts
@@ -0,0 +1,17 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export { UniverSheetsCustomMenuPlugin } from './plugin';
diff --git a/examples/src/sheets/custom-menu/locale/en-US.ts b/examples/src/sheets/custom-menu/locale/en-US.ts
new file mode 100644
index 0000000000..0bd86a2866
--- /dev/null
+++ b/examples/src/sheets/custom-menu/locale/en-US.ts
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export default {
+ customMenu: {
+ button: 'Button',
+ singleButton: 'Single button',
+ dropdown: 'Dropdown',
+ dropdownList: 'Dropdown list',
+ itemOne: 'Item 1',
+ itemTwo: 'Item 2',
+ },
+};
diff --git a/examples/src/sheets/custom-menu/locale/zh-CN.ts b/examples/src/sheets/custom-menu/locale/zh-CN.ts
new file mode 100644
index 0000000000..a692066c06
--- /dev/null
+++ b/examples/src/sheets/custom-menu/locale/zh-CN.ts
@@ -0,0 +1,26 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+export default {
+ customMenu: {
+ button: '按钮',
+ singleButton: '单个按钮',
+ dropdown: '下拉',
+ dropdownList: '下拉列表',
+ itemOne: '项目一',
+ itemTwo: '项目二',
+ },
+};
diff --git a/examples/src/sheets/custom-menu/plugin.ts b/examples/src/sheets/custom-menu/plugin.ts
new file mode 100644
index 0000000000..f5faf1b1c6
--- /dev/null
+++ b/examples/src/sheets/custom-menu/plugin.ts
@@ -0,0 +1,52 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { Dependency } from '@univerjs/core';
+import { Inject, Injector, LocaleService, Plugin, touchDependencies, UniverInstanceType } from '@univerjs/core';
+import { CustomMenuController } from './controllers/custom-menu.controller';
+import enUS from './locale/en-US';
+import zhCN from './locale/zh-CN';
+
+const SHEET_CUSTOM_MENU_PLUGIN = 'SHEET_CUSTOM_MENU_PLUGIN';
+
+export class UniverSheetsCustomMenuPlugin extends Plugin {
+ static override type = UniverInstanceType.UNIVER_SHEET;
+ static override pluginName = SHEET_CUSTOM_MENU_PLUGIN;
+
+ constructor(
+ @Inject(Injector) protected readonly _injector: Injector,
+ @Inject(LocaleService) private readonly _localeService: LocaleService
+ ) {
+ super();
+
+ this._localeService.load({
+ enUS,
+ zhCN,
+ });
+ }
+
+ override onStarting(): void {
+ ([
+ [CustomMenuController],
+ ] as Dependency[]).forEach((d) => this._injector.add(d));
+ }
+
+ override onRendered(): void {
+ touchDependencies(this._injector, [
+ [CustomMenuController],
+ ]);
+ }
+}
diff --git a/examples/src/sheets/main.ts b/examples/src/sheets/main.ts
index 8c80c2f29f..00a33f54a3 100644
--- a/examples/src/sheets/main.ts
+++ b/examples/src/sheets/main.ts
@@ -43,9 +43,10 @@ import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';
import { UniverSheetsZenEditorPlugin } from '@univerjs/sheets-zen-editor';
import { UniverThreadCommentUIPlugin } from '@univerjs/thread-comment-ui';
import { UniverUIPlugin } from '@univerjs/ui';
-
import { enUS, faIR, frFR, ruRU, viVN, zhCN, zhTW } from '../locales';
+import { UniverSheetsCustomMenuPlugin } from './custom-menu';
+
import '@univerjs/sheets/facade';
import '@univerjs/ui/facade';
import '@univerjs/docs-ui/facade';
@@ -127,6 +128,7 @@ function createNewInstance() {
univer.registerPlugin(UniverSheetsThreadCommentPlugin);
univer.registerPlugin(UniverSheetsThreadCommentUIPlugin);
univer.registerPlugin(UniverSheetsBindingSourcePlugin);
+ univer.registerPlugin(UniverSheetsCustomMenuPlugin);
// If we are running in e2e platform, we should immediately register the debugger plugin.
if (IS_E2E) {
@@ -182,7 +184,7 @@ declare global {
function initEvent() {
const logService = window.univer!.__getInjector().get(ILogService);
-// Workbook Events
+ // Workbook Events
window.univerAPI?.addEvent(window.univerAPI.Event.WorkbookCreated, (params) => {
logService.log('===WorkbookCreated', params);
});
@@ -191,132 +193,132 @@ function initEvent() {
logService.log('===WorkbookDisposed', params);
});
-// Sheet Lifecycle Events
-// checked
+ // Sheet Lifecycle Events
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetCreate, (params) => {
logService.log('===BeforeSheetCreate', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetCreated, (params) => {
logService.log('===SheetCreated', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetDelete, (params) => {
logService.log('===BeforeSheetDelete', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetDeleted, (params) => {
logService.log('===SheetDeleted', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetMove, (params) => {
logService.log('===BeforeSheetMove', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetMoved, (params) => {
logService.log('===SheetMoved', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetNameChange, (params) => {
logService.log('===BeforeSheetNameChange', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetNameChanged, (params) => {
logService.log('===SheetNameChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetHideChange, (params) => {
logService.log('===BeforeSheetHideChange', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetHideChanged, (params) => {
logService.log('===SheetHideChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CellClicked, (params) => {
logService.log('===CellClicked', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CellHover, (params) => {
logService.log('===CellHover', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CellPointerDown, (params) => {
logService.log('===CellPointerDown', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CellPointerUp, (params) => {
logService.log('===CellPointerUp', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CellPointerMove, (params) => {
logService.log('===CellPointerMove', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SelectionChanged, (params) => {
logService.log('===SelectionChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SelectionMoveStart, (params) => {
logService.log('===SelectionMoveStart', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SelectionMoveEnd, (params) => {
logService.log('===SelectionMoveEnd', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SelectionMoving, (params) => {
logService.log('===SelectionMoving', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetEditStart, (params) => {
logService.log('===BeforeSheetEditStart', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetEditStarted, (params) => {
logService.log('===SheetEditStarted', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetEditChanging, (params) => {
logService.log('===SheetEditChanging', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetEditEnd, (params) => {
logService.log('===BeforeSheetEditEnd', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetEditEnded, (params) => {
logService.log('===SheetEditEnded', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetValueChanged, (params) => {
logService.log('===SheetValueChanged', params);
});
-// Clipboard Events
+ // Clipboard Events
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeClipboardChange, (params) => {
logService.log('===BeforeClipboardChange', params);
});
@@ -333,72 +335,72 @@ function initEvent() {
logService.log('===ClipboardPasted', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeGridlineEnableChange, (params) => {
logService.log('===BeforeGridlineEnableChange', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeGridlineColorChange, (params) => {
logService.log('===BeforeGridlineColorChange', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.GridlineChanged, (params) => {
logService.log('===GridlineChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetZoomChange, (params) => {
logService.log('===BeforeSheetZoomChange', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetZoomChanged, (params) => {
logService.log('===SheetZoomChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.Scroll, (params) => {
logService.log('===Scroll', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetSkeletonChanged, (params) => {
logService.log('===SheetSkeletonChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetDataValidationAdd, (params) => {
logService.log('===BeforeSheetDataValidationAdd', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetDataValidationChanged, (params) => {
logService.log('===SheetDataValidationChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetDataValidatorStatusChanged, (params) => {
logService.log('===SheetDataValidatorStatusChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetBeforeRangeFilter, (params) => {
logService.log('===SheetBeforeRangeFilter', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetRangeFiltered, (params) => {
logService.log('===SheetRangeFiltered', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetBeforeRangeSort, (params) => {
logService.log('===SheetBeforeRangeSort', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetRangeSorted, (params) => {
logService.log('===SheetRangeSorted', params);
});
@@ -411,7 +413,7 @@ function initEvent() {
logService.log('===SheetRangeFilterCleared', params);
});
-// Image Events
+ // Image Events
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeOverGridImageInsert, (params) => {
logService.log('===BeforeOverGridImageInsert', params);
});
@@ -444,102 +446,102 @@ function initEvent() {
logService.log('===OverGridImageSelected', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeCommentAdd, (params) => {
logService.log('===BeforeCommentAdd', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CommentAdded, (params) => {
logService.log('===CommentAdded', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeCommentUpdate, (params) => {
logService.log('===BeforeCommentUpdate', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CommentUpdated, (params) => {
logService.log('===CommentUpdated', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeCommentDeleted, (params) => {
logService.log('===BeforeCommentDeleted', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CommentDeleted, (params) => {
logService.log('===CommentDeleted', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeCommentResolve, (params) => {
logService.log('===BeforeCommentResolve', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CommentResolved, (params) => {
logService.log('===CommentResolved', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.RowHeaderClick, (params) => {
logService.log('===RowHeaderClick', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.RowHeaderHover, (params) => {
logService.log('===RowHeaderHover', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.RowHeaderPointerDown, (params) => {
logService.log('===RowHeaderPointerDown', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.RowHeaderPointerUp, (params) => {
logService.log('===RowHeaderPointerUp', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.ColumnHeaderClick, (params) => {
logService.log('===ColumnHeaderClick', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.ColumnHeaderHover, (params) => {
logService.log('===ColumnHeaderHover', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.ColumnHeaderPointerDown, (params) => {
logService.log('===ColumnHeaderPointerDown', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.ColumnHeaderPointerUp, (params) => {
logService.log('===ColumnHeaderPointerUp', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetLinkAdd, (params) => {
logService.log('===BeforeSheetLinkAdd', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetLinkUpdate, (params) => {
logService.log('===BeforeSheetLinkUpdate', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetLinkCancel, (params) => {
logService.log('===BeforeSheetLinkCancel', params);
});
-// Drag and Drop Events
+ // Drag and Drop Events
window.univerAPI?.addEvent(window.univerAPI.Event.DragOver, (params) => {
logService.log('===DragOver', params);
});
@@ -548,17 +550,17 @@ function initEvent() {
logService.log('===Drop', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CrosshairHighlightColorChanged, (params) => {
logService.log('===CrosshairHighlightColorChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.CrosshairHighlightEnabledChanged, (params) => {
logService.log('===CrosshairHighlightEnabledChanged', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.BeforeSheetEditStart, (params) => {
const { row, column } = params;
if (row === 0 && column === 0) {
@@ -566,12 +568,12 @@ function initEvent() {
}
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.ActiveSheetChanged, (params) => {
logService.log('===active sheet changed', params);
});
-// checked
+ // checked
window.univerAPI?.addEvent(window.univerAPI.Event.SheetEditChanging, (params) => {
logService.log('===SheetEditChanging', params);
});
diff --git a/package.json b/package.json
index 2f0524e212..ccf999593d 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
"url": "https://github.com/dream-num/univer/issues"
},
"engines": {
- "node": ">=18 || <=22",
+ "node": ">=20 || <=22",
"pnpm": ">=10"
},
"scripts": {
@@ -47,18 +47,18 @@
"@antfu/eslint-config": "4.3.0",
"@commitlint/cli": "^19.7.1",
"@commitlint/config-conventional": "^19.7.1",
- "@eslint-react/eslint-plugin": "^1.26.2",
+ "@eslint-react/eslint-plugin": "^1.27.0",
"@playwright/test": "^1.50.1",
"@release-it-plugins/workspaces": "^4.2.0",
"@release-it/conventional-changelog": "^9.0.4",
"@storybook/react": "8.5.8",
- "@types/node": "^22.13.4",
+ "@types/node": "^22.13.5",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@univerjs-infra/shared": "workspace:*",
"@univerjs/design": "workspace:*",
"@vitejs/plugin-react": "^4.3.4",
- "eslint": "9.20.1",
+ "eslint": "9.21.0",
"eslint-plugin-format": "^1.0.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jsdoc": "^50.6.3",
@@ -73,7 +73,7 @@
"react-dom": "19.0.0",
"release-it": "^17.11.0",
"serve": "^14.2.4",
- "tsx": "^4.19.2",
+ "tsx": "^4.19.3",
"turbo": "^2.4.2",
"typescript": "^5.7.3",
"vitest": "^3.0.6"
diff --git a/packages-experimental/debugger/src/views/watermark/WatermarkTextSetting.tsx b/packages-experimental/debugger/src/views/watermark/WatermarkTextSetting.tsx
index 77ee7b03ce..48aa550d1b 100644
--- a/packages-experimental/debugger/src/views/watermark/WatermarkTextSetting.tsx
+++ b/packages-experimental/debugger/src/views/watermark/WatermarkTextSetting.tsx
@@ -16,10 +16,9 @@
import type { ITextWatermarkConfig } from '@univerjs/engine-render';
import { LocaleService } from '@univerjs/core';
-import { Checkbox, ColorPicker, DropdownLegacy, Input, InputNumber, Select } from '@univerjs/design';
+import { Checkbox, clsx, ColorPicker, Dropdown, Input, InputNumber, Select } from '@univerjs/design';
import { BoldSingle, FontColor, ItalicSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
import React from 'react';
import styles from './index.module.less';
@@ -38,73 +37,77 @@ export const WatermarkTextSetting: React.FC<IWatermarkTextSettingProps> = (props
<div className={styles.watermarkTextSetting}>
<div className={styles.watermarkTextSettingHeader}>{localeService.t('univer-watermark.style')}</div>
- <div className={styles.watermarkTextSettingFontContent}>
+ <div className="univer-mb-4 univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.content')}</div>
<Input
value={config.content}
onChange={(val) => onChange({ ...config, content: val })}
- className={styles.watermarkInputContent}
placeholder={localeService.t('univer-watermark.textPlaceholder')}
/>
</div>
- <div className={styles.watermarkTextSettingFontStyle}>
- <div className={styles.watermarkTextSettingFontStylePart}>
- <div>
+ <div className={clsx(styles.watermarkTextSettingFontStyle, 'univer-grid univer-gap-4')}>
+ <div className={clsx(styles.watermarkTextSettingFontStylePart, 'univer-flex univer-gap-2')}>
+ <div className="univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.fontSize')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.fontSize}
+ max={72}
+ min={12}
onChange={(val) => {
if (val != null) {
onChange({ ...config, fontSize: Number.parseInt(val.toString()) });
}
}}
- max={72}
- min={12}
- className={styles.watermarkInput}
/>
</div>
- <div style={{ margin: '0 8px' }}>
+ <div className="univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.direction')}</div>
<Select
+ className="univer-box-border univer-h-7"
value={config.direction}
- onChange={(v) => onChange({ ...config, direction: v as 'ltr' | 'rtl' })}
options={[
{ label: localeService.t('univer-watermark.ltr'), value: 'ltr' },
{ label: localeService.t('univer-watermark.rtl'), value: 'rtl' },
]}
+ onChange={(v) => onChange({ ...config, direction: v as 'ltr' | 'rtl' })}
/>
</div>
- <div>
+ <div className="univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.opacity')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
+ max={1}
+ min={0}
+ step={0.05}
value={config.opacity}
onChange={(val) => {
if (val != null) {
onChange({ ...config, opacity: Number.parseFloat(val.toString()) });
}
}}
- max={1}
- min={0}
- step={0.05}
- className={styles.watermarkInput}
/>
</div>
</div>
- <div className={styles.watermarkTextSettingFontStylePart}>
+ <div
+ className={clsx(styles.watermarkTextSettingFontStylePart, `
+ univer-flex univer-justify-around univer-gap-4
+ `)}
+ >
<div className={styles.watermarkIconWrapper}>
- <DropdownLegacy
+ <Dropdown
overlay={(
- <div className={styles.watermarkColorPickerWrapper}>
+ <div className="univer-rounded-lg univer-p-4">
<ColorPicker value={config.color} onChange={(val) => onChange({ ...config, color: val })} />
</div>
)}
>
<FontColor className={styles.watermarkIcon} extend={{ colorChannel1: config.color ?? 'rgb(var(--primary-color))' }} />
- </DropdownLegacy>
+ </Dropdown>
</div>
<div className={clsx(styles.watermarkIconWrapper, { [styles.watermarkIconWrapperSelect]: config.bold })} onClick={() => { onChange({ ...config, bold: !config.bold }); }}>
<BoldSingle className={styles.watermarkIcon} />
@@ -115,94 +118,94 @@ export const WatermarkTextSetting: React.FC<IWatermarkTextSettingProps> = (props
</div>
</div>
+ {/* Layout */}
<div className={styles.watermarkTextSettingHeader}>{localeService.t('univer-watermark.layout')}</div>
- <div className={styles.watermarkTextSettingLayout}>
-
- <div className={styles.watermarkTextSettingFontStylePart}>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-gap-2 univer-text-center">
+ <div className="univer-flex univer-gap-2">
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.rotate')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.rotate}
+ max={360}
+ min={-360}
onChange={(val) => {
if (val != null) {
onChange({ ...config, rotate: Number.parseInt(val.toString()) });
}
}}
- max={360}
- min={-360}
- className={styles.watermarkInput}
/>
</div>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-flex-1 univer-gap-1">
<div>{localeService.t('univer-watermark.repeat')}</div>
<Checkbox
+ className="univer-justify-center univer-self-baseline"
checked={config.repeat}
onChange={(val) => onChange({ ...config, repeat: val as boolean })}
/>
</div>
</div>
- <div className={styles.watermarkTextSettingFontStylePart}>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-flex univer-gap-2">
+ <div className="univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.spacingX')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.spacingX}
+ min={0}
onChange={(val) => {
if (val != null) {
onChange({ ...config, spacingX: Number.parseInt(val.toString()) });
}
}}
- min={0}
- className={styles.watermarkInput}
/>
</div>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.spacingY')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.spacingY}
+ min={0}
onChange={(val) => {
if (val != null) {
onChange({ ...config, spacingY: Number.parseInt(val.toString()) });
}
}}
- min={0}
- className={styles.watermarkInput}
/>
</div>
</div>
- <div className={styles.watermarkTextSettingFontStylePart}>
- <div className={styles.watermarkTextSettingLayoutFontWrapper}>
+ <div className="univer-flex univer-gap-2">
+ <div className="univer-grid univer-gap-1">
<div>{localeService.t('univer-watermark.startX')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.x}
+ min={0}
onChange={(val) => {
if (val != null) {
onChange({ ...config, x: Number.parseInt(val.toString()) });
}
}}
- min={0}
- className={styles.watermarkInput}
/>
</div>
<div className={styles.watermarkTextSettingLayoutFontWrapper}>
<div>{localeService.t('univer-watermark.startY')}</div>
<InputNumber
+ className="univer-box-border univer-h-7"
value={config.y}
+ min={0}
onChange={(val) => {
if (val != null) {
onChange({ ...config, y: Number.parseInt(val.toString()) });
}
}}
- min={0}
- className={styles.watermarkInput}
/>
</div>
</div>
</div>
-
</div>
);
};
diff --git a/packages-experimental/debugger/src/views/watermark/index.module.less b/packages-experimental/debugger/src/views/watermark/index.module.less
index 49cb884e7f..37b63847cb 100644
--- a/packages-experimental/debugger/src/views/watermark/index.module.less
+++ b/packages-experimental/debugger/src/views/watermark/index.module.less
@@ -46,49 +46,12 @@
color: rgb(var(--text-color-secondary));
margin: 16px 0;
}
-
- &-font {
- &-content {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 16px;
- }
-
- &-style-part {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 16px;
-
- &:first-child {
- margin-top: 0;
- }
- }
- }
-
- &-layout {
- &-font-wrapper {
- width: calc(50% - 8px);
- align-self: flex-start;
- white-space: nowrap;
- }
- }
}
&-image-setting {
font-size: 14px;
}
- &-input {
- height: 28px;
- box-sizing: border-box;
-
- &-content {
- width: 220px;
- }
- }
-
&-icon {
width: 18px;
height: 18px;
@@ -117,11 +80,4 @@
}
}
}
-
- &-color-picker-wrapper {
- padding: 16px;
- border-radius: 8px;
- background-color: #fff;
- border: 1px solid rgb(var(--grey-100));
- }
}
diff --git a/packages-experimental/uniui/src/views/uni-controls/UniControls.tsx b/packages-experimental/uniui/src/views/uni-controls/UniControls.tsx
index 1c87e22210..3b4f699641 100644
--- a/packages-experimental/uniui/src/views/uni-controls/UniControls.tsx
+++ b/packages-experimental/uniui/src/views/uni-controls/UniControls.tsx
@@ -15,13 +15,10 @@
*/
import type { IProjectNode } from '../../services/unit-grid/unit-grid.service';
-import { DropdownLegacy, Tooltip } from '@univerjs/design';
+import { clsx, Dropdown, Tooltip } from '@univerjs/design';
import { CheckMarkSingle, FullscreenSingle, IncreaseSingle, ZoomReduceSingle } from '@univerjs/icons';
import { ISidebarService, useDependency } from '@univerjs/ui';
-import {
- useReactFlow,
-} from '@xyflow/react';
-import clsx from 'clsx';
+import { useReactFlow } from '@xyflow/react';
import React, { useCallback, useEffect, useLayoutEffect } from 'react';
import { IUnitGridService } from '../../services/unit-grid/unit-grid.service';
import { UniDiv } from '../uni-toolbar/UniFloatToolbar';
@@ -127,10 +124,9 @@ export const UniControls = ({ zoom, onItemClick }: { zoom: number; onItemClick?:
<UniControlButton tooltips="Zoom in" onClick={onZoomInHandler}>
<IncreaseSingle />
</UniControlButton>
- <DropdownLegacy
- placement="topLeft"
+ <Dropdown
overlay={(
- <div className={styles.sliderShortcuts}>
+ <div className={clsx(styles.sliderShortcuts, 'univer-rounded-lg univer-p-4')}>
{shortcuts?.map((item) => (
<a
key={item}
@@ -157,7 +153,7 @@ export const UniControls = ({ zoom, onItemClick }: { zoom: number; onItemClick?:
{zoomPercent}
%
</a>
- </DropdownLegacy>
+ </Dropdown>
<UniControlButton tooltips="Zoom out" onClick={onZoomOutHandler}>
<ZoomReduceSingle />
</UniControlButton>
diff --git a/packages/core/package.json b/packages/core/package.json
index 02ea01755b..c0c190bc13 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -74,7 +74,7 @@
"fast-diff": "1.3.0",
"kdbush": "^4.0.2",
"lodash-es": "^4.17.21",
- "nanoid": "5.0.9",
+ "nanoid": "5.1.0",
"numeral": "^2.0.6",
"numfmt": "^2.5.2",
"ot-json1": "^1.0.2",
diff --git a/packages/core/src/sheets/empty-snapshot.ts b/packages/core/src/sheets/empty-snapshot.ts
index 2af2ddba21..b96464539f 100644
--- a/packages/core/src/sheets/empty-snapshot.ts
+++ b/packages/core/src/sheets/empty-snapshot.ts
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-import { LocaleType } from '../types/enum/locale-type';
-import { version } from '../../package.json';
import type { IWorkbookData } from './typedef';
+import pkg from '../../package.json';
+import { LocaleType } from '../types/enum/locale-type';
export function getEmptySnapshot(
unitID = '',
@@ -27,7 +27,7 @@ export function getEmptySnapshot(
id: unitID,
sheetOrder: [],
name,
- appVersion: version,
+ appVersion: pkg.version,
locale,
styles: {},
sheets: {},
diff --git a/packages/design/package.json b/packages/design/package.json
index 0f31476b8a..b856e9da31 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -68,6 +68,7 @@
"react-dom": ">=16.9.0 || >=17 || >=18 || >=19"
},
"dependencies": {
+ "@radix-ui/react-popover": "^1.1.6",
"@rc-component/color-picker": "^2.0.1",
"@rc-component/trigger": "^2.2.6",
"@univerjs/icons": "^0.2.20",
diff --git a/packages/design/src/components/avatar/Avatar.stories.tsx b/packages/design/src/components/avatar/Avatar.stories.tsx
index 4df3b6052b..04cbe7beef 100644
--- a/packages/design/src/components/avatar/Avatar.stories.tsx
+++ b/packages/design/src/components/avatar/Avatar.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Avatar } from './Avatar';
diff --git a/packages/design/src/components/button/Button.stories.tsx b/packages/design/src/components/button/Button.stories.tsx
index a5e1395504..f5c35420bf 100644
--- a/packages/design/src/components/button/Button.stories.tsx
+++ b/packages/design/src/components/button/Button.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Button } from './Button';
diff --git a/packages/design/src/components/color-picker/ColorInput.tsx b/packages/design/src/components/color-picker/ColorInput.tsx
index d35d8dc37f..addefe17f8 100644
--- a/packages/design/src/components/color-picker/ColorInput.tsx
+++ b/packages/design/src/components/color-picker/ColorInput.tsx
@@ -16,9 +16,7 @@
import { ChevronSortSingle } from '@univerjs/icons';
import React, { useEffect, useMemo, useState } from 'react';
-import { DropdownOverlay } from '../dropdown/DropdownOverlay';
-import { DropdownProvider } from '../dropdown/DropdownProvider';
-import { DropdownTrigger } from '../dropdown/DropdownTrigger';
+import { Dropdown } from '../dropdown';
import { hexToHsv, hslToHsv, hsvToHex, hsvToHsl, hsvToRgb, rgbToHsv } from './color-conversion';
interface IColorInputProps {
@@ -310,6 +308,7 @@ function AlphaInput({ alpha, onChange }: IAlphaInputProps) {
export function ColorInput({ hsv, alpha, showAlpha, onChangeColor, onChangeAlpha }: IColorInputProps) {
const [format, setFormat] = useState<ColorFormat>('hex');
+ const [formatPanelVisible, setFormatPanelVisible] = useState(false);
function renderInput(format: ColorFormat) {
switch (format) {
@@ -324,6 +323,11 @@ export function ColorInput({ hsv, alpha, showAlpha, onChangeColor, onChangeAlpha
}
}
+ function handleSelectFormat(format: ColorFormat) {
+ setFormatPanelVisible(false);
+ setFormat(format);
+ }
+
return (
<div
className={`
@@ -335,36 +339,39 @@ export function ColorInput({ hsv, alpha, showAlpha, onChangeColor, onChangeAlpha
dark:[&_input]:univer-border-gray-600 dark:[&_input]:univer-text-white
`}
>
- <DropdownProvider>
- <DropdownTrigger>
- <a
- className={`
- univer-box-border univer-flex univer-h-8 univer-flex-1 univer-cursor-pointer
- univer-items-center univer-justify-between univer-gap-1 univer-rounded univer-border
- univer-border-solid univer-border-gray-200 univer-px-1.5 univer-text-sm univer-text-gray-700
- dark:univer-border-gray-600 dark:univer-text-white
- `}
- >
- <span>{format.toUpperCase()}</span>
- <ChevronSortSingle className="univer-size-5 univer-text-gray-400" />
- </a>
- </DropdownTrigger>
- <DropdownOverlay>
+ <Dropdown
+ align="start"
+ overlay={(
<div
className={`
- univer-grid univer-w-16
+ univer-grid univer-w-32
[&>a]:univer-cursor-pointer [&>a]:univer-px-2 [&>a]:univer-py-1 [&>a]:univer-text-sm
dark:univer-text-white
+ focus-visible:univer-outline-none
`}
>
- <a onClick={() => setFormat('hex')}>HEX</a>
- <a onClick={() => setFormat('hsl')}>HSL</a>
- <a onClick={() => setFormat('rgb')}>RGB</a>
+ <a onClick={() => handleSelectFormat('hex')}>HEX</a>
+ <a onClick={() => handleSelectFormat('hsl')}>HSL</a>
+ <a onClick={() => handleSelectFormat('rgb')}>RGB</a>
</div>
- </DropdownOverlay>
- </DropdownProvider>
-
- <div className="univer-relative univer-flex univer-gap-2">
+ )}
+ open={formatPanelVisible}
+ onOpenChange={setFormatPanelVisible}
+ >
+ <a
+ className={`
+ univer-box-border univer-flex univer-h-8 univer-w-32 univer-cursor-pointer univer-items-center
+ univer-justify-between univer-gap-1 univer-rounded univer-border univer-border-solid
+ univer-border-gray-200 univer-px-1.5 univer-text-sm univer-text-gray-700
+ dark:univer-border-gray-600 dark:univer-text-white
+ `}
+ >
+ <span>{format.toUpperCase()}</span>
+ <ChevronSortSingle className="univer-size-5 univer-text-gray-400" />
+ </a>
+ </Dropdown>
+
+ <div className="univer-relative univer-flex univer-flex-1 univer-gap-2">
{renderInput(format)}
</div>
diff --git a/packages/design/src/components/color-picker/ColorPicker.stories.tsx b/packages/design/src/components/color-picker/ColorPicker.stories.tsx
index cc232a4b2d..9a004ab819 100644
--- a/packages/design/src/components/color-picker/ColorPicker.stories.tsx
+++ b/packages/design/src/components/color-picker/ColorPicker.stories.tsx
@@ -33,7 +33,7 @@ export default meta;
export const Playground = {
render() {
- const [value, setValue] = useState('rgba(100,150,200,0.8)');
+ const [value, setValue] = useState('#FF0000');
const [format] = useState<'hex' | 'rgb' | 'hsl'>('rgb');
return (
diff --git a/packages/design/src/components/color-picker/__tests__/__snapshots__/index.spec.tsx.snap b/packages/design/src/components/color-picker/__tests__/__snapshots__/index.spec.tsx.snap
index d447a8549d..6999c633d1 100644
--- a/packages/design/src/components/color-picker/__tests__/__snapshots__/index.spec.tsx.snap
+++ b/packages/design/src/components/color-picker/__tests__/__snapshots__/index.spec.tsx.snap
@@ -53,12 +53,18 @@ exports[`ColorPicker > should render correctly 1`] = `
"
>
<a
+ aria-controls="radix-:r0:"
+ aria-expanded="false"
+ aria-haspopup="dialog"
class="
- univer-box-border univer-flex univer-h-8 univer-flex-1 univer-cursor-pointer
- univer-items-center univer-justify-between univer-gap-1 univer-rounded univer-border
- univer-border-solid univer-border-gray-200 univer-px-1.5 univer-text-sm univer-text-gray-700
- dark:univer-border-gray-600 dark:univer-text-white
- "
+ univer-box-border univer-flex univer-h-8 univer-w-32 univer-cursor-pointer univer-items-center
+ univer-justify-between univer-gap-1 univer-rounded univer-border univer-border-solid
+ univer-border-gray-200 univer-px-1.5 univer-text-sm univer-text-gray-700
+ dark:univer-border-gray-600 dark:univer-text-white
+ "
+ data-slot="popover-trigger"
+ data-state="closed"
+ type="button"
>
<span>
HEX
@@ -79,7 +85,7 @@ exports[`ColorPicker > should render correctly 1`] = `
</svg>
</a>
<div
- class="univer-relative univer-flex univer-gap-2"
+ class="univer-relative univer-flex univer-flex-1 univer-gap-2"
>
<input
class="
@@ -429,12 +435,18 @@ exports[`ColorPicker > should render with showAlpha 1`] = `
"
>
<a
+ aria-controls="radix-:r2:"
+ aria-expanded="false"
+ aria-haspopup="dialog"
class="
- univer-box-border univer-flex univer-h-8 univer-flex-1 univer-cursor-pointer
- univer-items-center univer-justify-between univer-gap-1 univer-rounded univer-border
- univer-border-solid univer-border-gray-200 univer-px-1.5 univer-text-sm univer-text-gray-700
- dark:univer-border-gray-600 dark:univer-text-white
- "
+ univer-box-border univer-flex univer-h-8 univer-w-32 univer-cursor-pointer univer-items-center
+ univer-justify-between univer-gap-1 univer-rounded univer-border univer-border-solid
+ univer-border-gray-200 univer-px-1.5 univer-text-sm univer-text-gray-700
+ dark:univer-border-gray-600 dark:univer-text-white
+ "
+ data-slot="popover-trigger"
+ data-state="closed"
+ type="button"
>
<span>
HEX
@@ -455,7 +467,7 @@ exports[`ColorPicker > should render with showAlpha 1`] = `
</svg>
</a>
<div
- class="univer-relative univer-flex univer-gap-2"
+ class="univer-relative univer-flex univer-flex-1 univer-gap-2"
>
<input
class="
@@ -801,12 +813,18 @@ exports[`ColorPicker > should render with value 1`] = `
"
>
<a
+ aria-controls="radix-:r1:"
+ aria-expanded="false"
+ aria-haspopup="dialog"
class="
- univer-box-border univer-flex univer-h-8 univer-flex-1 univer-cursor-pointer
- univer-items-center univer-justify-between univer-gap-1 univer-rounded univer-border
- univer-border-solid univer-border-gray-200 univer-px-1.5 univer-text-sm univer-text-gray-700
- dark:univer-border-gray-600 dark:univer-text-white
- "
+ univer-box-border univer-flex univer-h-8 univer-w-32 univer-cursor-pointer univer-items-center
+ univer-justify-between univer-gap-1 univer-rounded univer-border univer-border-solid
+ univer-border-gray-200 univer-px-1.5 univer-text-sm univer-text-gray-700
+ dark:univer-border-gray-600 dark:univer-text-white
+ "
+ data-slot="popover-trigger"
+ data-state="closed"
+ type="button"
>
<span>
HEX
@@ -827,7 +845,7 @@ exports[`ColorPicker > should render with value 1`] = `
</svg>
</a>
<div
- class="univer-relative univer-flex univer-gap-2"
+ class="univer-relative univer-flex univer-flex-1 univer-gap-2"
>
<input
class="
diff --git a/packages/design/src/components/design-token/Palette.stories.tsx b/packages/design/src/components/design-token/Palette.stories.tsx
index 4dcbb7d6ed..bd01975b87 100644
--- a/packages/design/src/components/design-token/Palette.stories.tsx
+++ b/packages/design/src/components/design-token/Palette.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta, StoryObj } from '@storybook/react';
-import React from 'react';
import { defaultTheme, greenTheme } from '../../themes';
diff --git a/packages/design/src/components/dropdown-legacy/DropdownLegacy.stories.tsx b/packages/design/src/components/dropdown-legacy/DropdownLegacy.stories.tsx
index 64ea5919dd..8f79785f1a 100644
--- a/packages/design/src/components/dropdown-legacy/DropdownLegacy.stories.tsx
+++ b/packages/design/src/components/dropdown-legacy/DropdownLegacy.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Button } from '../button/Button';
import { DropdownLegacy } from './DropdownLegacy';
diff --git a/packages/design/src/components/dropdown-legacy/DropdownLegacy.tsx b/packages/design/src/components/dropdown-legacy/DropdownLegacy.tsx
index f37fe21ff0..fd8159634a 100644
--- a/packages/design/src/components/dropdown-legacy/DropdownLegacy.tsx
+++ b/packages/design/src/components/dropdown-legacy/DropdownLegacy.tsx
@@ -79,6 +79,7 @@ export interface IDropdownLegacyProps {
disabled?: boolean;
}
+/** @deprecated */
export function DropdownLegacy(props: IDropdownLegacyProps) {
const {
className,
diff --git a/packages/design/src/components/dropdown/Dropdown.stories.tsx b/packages/design/src/components/dropdown/Dropdown.stories.tsx
index 73444aa318..5cc1eef20a 100644
--- a/packages/design/src/components/dropdown/Dropdown.stories.tsx
+++ b/packages/design/src/components/dropdown/Dropdown.stories.tsx
@@ -15,15 +15,12 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
-import { DropdownOverlay } from './DropdownOverlay';
-import { DropdownProvider } from './DropdownProvider';
-import { DropdownTrigger } from './DropdownTrigger';
+import { Dropdown } from './Dropdown';
-const meta: Meta<typeof DropdownProvider> = {
+const meta: Meta<typeof Dropdown> = {
title: 'Components / Dropdown',
- component: DropdownProvider,
+ component: Dropdown,
parameters: {
layout: 'centered',
},
@@ -36,31 +33,29 @@ export const Playground = {
render() {
return (
<div className="univer-relative">
- <DropdownProvider>
- <DropdownTrigger>
- <a className="univer-cursor-pointer univer-border univer-rounded-lg univer-border-gray-200 univer-px-4 univer-py-2 univer-border-solid hover:univer-bg-gray-100 univer-transition-all">
- Click me
- </a>
- </DropdownTrigger>
- <DropdownOverlay>
+ <Dropdown
+ overlay={(
<div className="univer-text-blue-500">
Hello Univer
- <DropdownProvider>
- <DropdownTrigger>
- <a>Nested Dropdown</a>
- </DropdownTrigger>
- <DropdownOverlay>
+ <Dropdown
+ overlay={(
<div className="univer-text-cyan-700">
<div>Nested Content</div>
<div>Nested Content</div>
<div>Nested Content</div>
<div>Nested Content</div>
</div>
- </DropdownOverlay>
- </DropdownProvider>
+ )}
+ >
+ <a>Nested Popover</a>
+ </Dropdown>
</div>
- </DropdownOverlay>
- </DropdownProvider>
+ )}
+ >
+ <a className="univer-cursor-pointer univer-border univer-rounded-lg univer-border-gray-200 univer-px-4 univer-py-2 univer-border-solid hover:univer-bg-gray-100 univer-transition-all">
+ Click me
+ </a>
+ </Dropdown>
</div>
);
},
diff --git a/packages/design/src/components/dropdown/Dropdown.tsx b/packages/design/src/components/dropdown/Dropdown.tsx
new file mode 100644
index 0000000000..f029d1313e
--- /dev/null
+++ b/packages/design/src/components/dropdown/Dropdown.tsx
@@ -0,0 +1,65 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { Content } from '@radix-ui/react-popover';
+import type { ComponentProps, ReactNode } from 'react';
+import { useState } from 'react';
+import { PopoverContent, PopoverPrimitive, PopoverTrigger } from './Popover';
+
+interface IDropdownProps {
+ children: ReactNode;
+ overlay: ReactNode;
+ disabled?: boolean;
+ open?: boolean;
+ onOpenChange?: (open: boolean) => void;
+}
+
+export function Dropdown(props: IDropdownProps & ComponentProps<typeof Content>) {
+ const {
+ children,
+ overlay,
+ disabled,
+ open: controlledOpen,
+ onOpenChange: controlledOnOpenChange,
+ ...restProps
+ } = props;
+
+ const [uncontrolledOpen, setUncontrolledOpen] = useState(false);
+
+ const isControlled = controlledOpen !== undefined;
+ const open = isControlled ? controlledOpen : uncontrolledOpen;
+
+ function handleChangeOpen(newOpen: boolean) {
+ if (disabled) return;
+
+ if (!isControlled) {
+ setUncontrolledOpen(newOpen);
+ }
+
+ controlledOnOpenChange?.(newOpen);
+ }
+
+ return (
+ <PopoverPrimitive open={open} onOpenChange={handleChangeOpen}>
+ <PopoverTrigger asChild>
+ {children}
+ </PopoverTrigger>
+ <PopoverContent {...restProps}>
+ {overlay}
+ </PopoverContent>
+ </PopoverPrimitive>
+ );
+}
diff --git a/packages/design/src/components/dropdown/DropdownOverlay.tsx b/packages/design/src/components/dropdown/DropdownOverlay.tsx
deleted file mode 100644
index ee6a553c4e..0000000000
--- a/packages/design/src/components/dropdown/DropdownOverlay.tsx
+++ /dev/null
@@ -1,109 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import canUseDom from 'rc-util/lib/Dom/canUseDom';
-import React, { useCallback, useEffect, useState } from 'react';
-import { createPortal } from 'react-dom';
-import { clsx } from '../../helper/clsx';
-import { useDropdown } from './DropdownContext';
-
-export interface IDropdownOverlayProps {
- children: React.ReactNode;
- className?: string;
- offset?: {
- x?: number;
- y?: number;
- };
- anchor?: {
- x: 'left' | 'right';
- y: 'top' | 'bottom';
- };
-}
-
-export function DropdownOverlay({ children, className, offset, anchor: anchorPos = { x: 'left', y: 'bottom' } }: IDropdownOverlayProps) {
- if (!canUseDom) {
- return null;
- }
-
- const { show, updateShow, overlayRef, triggerRef } = useDropdown();
- const [mounted, setMounted] = useState(false);
- const [position, setPosition] = useState({ top: 0, left: 0 });
-
- useEffect(() => {
- if (show && triggerRef.current && overlayRef.current) {
- const triggerRect = triggerRef.current.getBoundingClientRect();
- const overlayRect = overlayRef.current.getBoundingClientRect();
- const viewportWidth = document.documentElement.clientWidth;
- const viewportHeight = document.documentElement.clientHeight;
-
- let top = triggerRect[anchorPos.y] + window.scrollY;
- let left = triggerRect[anchorPos.x] + window.scrollX;
-
- if (top + overlayRect.height > viewportHeight + window.scrollY) {
- top = triggerRect.top - overlayRect.height + window.scrollY;
- }
-
- if (left + overlayRect.width > viewportWidth + window.scrollX) {
- left = triggerRect.right - overlayRect.width + window.scrollX;
- }
-
- top = Math.max(top, window.scrollY);
- left = Math.max(left, window.scrollX);
-
- setPosition({
- top: top + (offset?.y ?? 0),
- left: left + (offset?.x ?? 0),
- });
-
- requestAnimationFrame(() => {
- setMounted(true);
- });
- }
- }, [show, offset?.x, offset?.y, overlayRef, triggerRef]);
-
- const hideAfterClick = useCallback((e: React.MouseEvent) => {
- e.stopPropagation();
- updateShow(false);
- }, []);
-
- if (!show) return null;
-
- return createPortal(
- <div
- ref={overlayRef}
- className={clsx(
- `
- univer-fixed univer-z-[1071] univer-overflow-hidden univer-rounded-md univer-border univer-bg-white
- univer-opacity-0 univer-shadow-md
- dark:univer-bg-gray-700
- `,
- {
- 'univer-opacity-100 univer-animate-in univer-slide-in-from-top-2': mounted,
- },
- className
- )}
- style={{
- top: position.top,
- left: position.left,
- }}
- onClick={hideAfterClick}
- onPointerUpCapture={(e) => e.stopPropagation()}
- >
- {children}
- </div>,
- document.body
- );
-}
diff --git a/packages/design/src/components/dropdown/DropdownProvider.tsx b/packages/design/src/components/dropdown/DropdownProvider.tsx
deleted file mode 100644
index d47fa42e39..0000000000
--- a/packages/design/src/components/dropdown/DropdownProvider.tsx
+++ /dev/null
@@ -1,73 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import type { ReactNode } from 'react';
-import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
-import { DropdownContext } from './DropdownContext';
-
-interface IDropdownProviderProps {
- visible?: boolean;
- children: ReactNode;
- disabled?: boolean;
- onVisibleChange?: (visible: boolean) => void;
-}
-
-export function DropdownProvider({ visible, children, disabled = false, onVisibleChange }: IDropdownProviderProps) {
- const triggerRef = useRef<HTMLDivElement>(null!);
- const overlayRef = useRef<HTMLDivElement>(null!);
-
- const [internalShow, setInternalShow] = useState(false);
- const isControlled = visible !== undefined;
- const show = isControlled ? visible : internalShow;
-
- const updateShow = useCallback((newShow: boolean) => {
- if (disabled) return;
-
- if (!isControlled) {
- setInternalShow(newShow);
- }
- onVisibleChange?.(newShow);
- }, [disabled, isControlled, onVisibleChange]);
-
- useEffect(() => {
- // If the Dropdown is not visible, we do not add event listeners to boost performance.
- if (!show) return;
-
- const handleClickOutside = (event: MouseEvent) => {
- const target = event.target as Node;
-
- if (!triggerRef.current?.contains(target) && !overlayRef.current?.contains(target)) {
- // As this function listens to mousedown event, while the Button components listens to
- // click event, we can anticapte this event callback will be triggered first.
- // If we hide the Dropdown in a synchronous way, the button's callback will never be triggered.
- // TODO: @jikkai: This is a temp fix. A more appropriate fix would be detecting if the target is
- // in a nested dropdown.
- updateShow(false);
- }
- };
-
- window.addEventListener('pointerup', handleClickOutside);
- return () => window.removeEventListener('pointerup', handleClickOutside);
- }, [show, updateShow]);
-
- const contextValue = useMemo(() => ({ show, updateShow, disabled, triggerRef, overlayRef }), [show, disabled]);
-
- return (
- <DropdownContext.Provider value={contextValue}>
- {children}
- </DropdownContext.Provider>
- );
-}
diff --git a/packages/design/src/components/dropdown/DropdownTrigger.tsx b/packages/design/src/components/dropdown/DropdownTrigger.tsx
deleted file mode 100644
index 421d53adee..0000000000
--- a/packages/design/src/components/dropdown/DropdownTrigger.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import type { ReactElement } from 'react';
-import { cloneElement, isValidElement } from 'react';
-import { useDropdown } from './DropdownContext';
-
-interface IDropdownTriggerProps {
- children: ReactElement;
-}
-
-export function DropdownTrigger({ children }: IDropdownTriggerProps) {
- const { show, updateShow, triggerRef } = useDropdown();
-
- if (!isValidElement(children)) {
- throw new Error('DropdownTrigger children must be a valid React element');
- }
-
- // eslint-disable-next-line react/no-clone-element
- return cloneElement(children, {
- ref: triggerRef,
- onClick: (e: React.MouseEvent) => {
- e.stopPropagation();
- updateShow(!show);
- // eslint-disable-next-line ts/no-explicit-any
- (children.props as React.HTMLProps<HTMLElement>)?.onClick?.(e as any);
- },
- // eslint-disable-next-line ts/no-explicit-any
- } as any);
-}
diff --git a/packages/design/src/components/dropdown/Popover.tsx b/packages/design/src/components/dropdown/Popover.tsx
new file mode 100644
index 0000000000..587c4f9dd0
--- /dev/null
+++ b/packages/design/src/components/dropdown/Popover.tsx
@@ -0,0 +1,72 @@
+/**
+ * Copyright 2023-present DreamNum Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import type { ComponentProps } from 'react';
+import { Anchor, Content, Portal, Root, Trigger } from '@radix-ui/react-popover';
+import { clsx } from '../../helper/clsx';
+
+function PopoverPrimitive({
+ ...props
+}: ComponentProps<typeof Root>) {
+ return <Root data-slot="popover" {...props} />;
+}
+
+function PopoverTrigger({
+ ...props
+}: ComponentProps<typeof Trigger>) {
+ return <Trigger data-slot="popover-trigger" {...props} />;
+}
+
+function PopoverContent({
+ className,
+ align = 'center',
+ sideOffset = 4,
+ ...props
+}: ComponentProps<typeof Content>) {
+ return (
+ <Portal>
+ <Content
+ data-slot="popover-content"
+ align={align}
+ sideOffset={sideOffset}
+ className={clsx(
+ `
+ univer-z-[1080] univer-rounded-md univer-border univer-border-solid univer-bg-white
+ univer-text-gray-900 univer-shadow-md univer-outline-hidden univer-border-gray-200
+ data-[side=bottom]:univer-slide-in-from-top-2
+ data-[side=left]:univer-slide-in-from-right-2
+ data-[side=right]:univer-slide-in-from-left-2
+ data-[side=top]:univer-slide-in-from-bottom-2
+ data-[state=closed]:univer-animate-out data-[state=closed]:univer-fade-out-0
+ data-[state=closed]:univer-zoom-out-95
+ data-[state=open]:univer-animate-in data-[state=open]:univer-fade-in-0
+ data-[state=open]:univer-zoom-in-95
+ `,
+ className
+ )}
+ {...props}
+ />
+ </Portal>
+ );
+}
+
+function PopoverAnchor({
+ ...props
+}: ComponentProps<typeof Anchor>) {
+ return <Anchor data-slot="popover-anchor" {...props} />;
+}
+
+export { PopoverAnchor, PopoverContent, PopoverPrimitive, PopoverTrigger };
diff --git a/packages/design/src/components/dropdown/index.ts b/packages/design/src/components/dropdown/index.ts
index a0dd4678a9..8fc98b2be4 100644
--- a/packages/design/src/components/dropdown/index.ts
+++ b/packages/design/src/components/dropdown/index.ts
@@ -14,6 +14,4 @@
* limitations under the License.
*/
-export { DropdownOverlay, type IDropdownOverlayProps } from './DropdownOverlay';
-export { DropdownProvider } from './DropdownProvider';
-export { DropdownTrigger } from './DropdownTrigger';
+export { Dropdown } from './Dropdown';
diff --git a/packages/design/src/components/form-layout/FormLayout.stories.tsx b/packages/design/src/components/form-layout/FormLayout.stories.tsx
index 2b69c1fd17..8470a7c309 100644
--- a/packages/design/src/components/form-layout/FormLayout.stories.tsx
+++ b/packages/design/src/components/form-layout/FormLayout.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Input } from '../input';
import { Select } from '../select';
diff --git a/packages/design/src/components/icon/Icon.stories.tsx b/packages/design/src/components/icon/Icon.stories.tsx
index a9273d0cad..8a72e87409 100644
--- a/packages/design/src/components/icon/Icon.stories.tsx
+++ b/packages/design/src/components/icon/Icon.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Button } from '../button/Button';
diff --git a/packages/design/src/components/input-number/InputNumber.stories.tsx b/packages/design/src/components/input-number/InputNumber.stories.tsx
index 48447d6a10..26bcfe7384 100644
--- a/packages/design/src/components/input-number/InputNumber.stories.tsx
+++ b/packages/design/src/components/input-number/InputNumber.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { InputNumber } from './InputNumber';
diff --git a/packages/design/src/components/input/Input.stories.tsx b/packages/design/src/components/input/Input.stories.tsx
index 2bc4a98fd8..f93a64648c 100644
--- a/packages/design/src/components/input/Input.stories.tsx
+++ b/packages/design/src/components/input/Input.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Input } from './Input';
diff --git a/packages/design/src/components/input/Input.tsx b/packages/design/src/components/input/Input.tsx
index 2bac16876d..be2bfb7e09 100644
--- a/packages/design/src/components/input/Input.tsx
+++ b/packages/design/src/components/input/Input.tsx
@@ -108,17 +108,15 @@ export const Input = ({
<button
type="button"
onClick={handleClear}
- className={clsx(
- 'univer-absolute univer-right-2 univer-rounded-full univer-p-1',
- `
- univer-text-gray-400
- hover:univer-text-gray-500
- `,
- 'univer-transition-colors univer-duration-200',
- 'focus:univer-outline-none focus:univer-ring-2 focus:univer-ring-blue-500/20'
- )}
+ className={`
+ univer-absolute univer-right-2 univer-flex univer-items-center univer-rounded-full
+ univer-border-none univer-bg-transparent univer-p-1 univer-text-gray-400 univer-transition-colors
+ univer-duration-200
+ focus:univer-outline-none
+ hover:univer-text-gray-500
+ `}
>
- <CloseSingle className="univer-h-4 univer-w-4" />
+ <CloseSingle className="univer-size-4" />
</button>
)}
</div>
diff --git a/packages/design/src/components/input/InputWithSlot.stories.tsx b/packages/design/src/components/input/InputWithSlot.stories.tsx
index 87b167fa49..1b669c483a 100644
--- a/packages/design/src/components/input/InputWithSlot.stories.tsx
+++ b/packages/design/src/components/input/InputWithSlot.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Pager } from '../pager';
import { InputWithSlot } from './InputWithSlot';
diff --git a/packages/design/src/components/menu/Menu.tsx b/packages/design/src/components/menu/Menu.tsx
index 9ff962f799..93d7886d2e 100644
--- a/packages/design/src/components/menu/Menu.tsx
+++ b/packages/design/src/components/menu/Menu.tsx
@@ -17,13 +17,13 @@
import type { MenuItemGroupProps, MenuItemProps, MenuProps, MenuRef, SubMenuProps } from 'rc-menu';
import RcMenu, { MenuItem as RcMenuItem, MenuItemGroup as RcMenuItemGroup, SubMenu as RcSubMenu } from 'rc-menu';
import React, { useContext } from 'react';
-
+import { clsx } from '../../helper/clsx';
import { ConfigContext } from '../config-provider/ConfigProvider';
import styles from './index.module.less';
export const Menu = React.forwardRef<MenuRef, MenuProps>((props, ref) => {
const { mountContainer } = useContext(ConfigContext);
- return mountContainer && React.cloneElement(<RcMenu ref={ref} prefixCls={styles.menu} getPopupContainer={() => mountContainer} />, {
+ return mountContainer && React.cloneElement(<RcMenu ref={ref} prefixCls={clsx(styles.menu, props.className)} getPopupContainer={() => mountContainer} />, {
...props,
});
});
diff --git a/packages/design/src/components/menu/index.module.less b/packages/design/src/components/menu/index.module.less
index cee9cd09a5..2bc16254e1 100644
--- a/packages/design/src/components/menu/index.module.less
+++ b/packages/design/src/components/menu/index.module.less
@@ -7,7 +7,6 @@
list-style: none;
background-color: rgb(var(--bg-color-secondary));
- border: 1px solid rgb(var(--border-color));
border-radius: var(--border-radius-lg);
outline: none;
box-shadow: var(--box-shadow-base);
diff --git a/packages/design/src/components/message/Message.stories.tsx b/packages/design/src/components/message/Message.stories.tsx
index aa63af351d..5c7d484293 100644
--- a/packages/design/src/components/message/Message.stories.tsx
+++ b/packages/design/src/components/message/Message.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Button } from '../button/Button';
import { message, Messager, MessageType } from './Message';
diff --git a/packages/design/src/components/radio/Radio.stories.tsx b/packages/design/src/components/radio/Radio.stories.tsx
index 52afe4cb8a..eb5e6c4108 100644
--- a/packages/design/src/components/radio/Radio.stories.tsx
+++ b/packages/design/src/components/radio/Radio.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Radio } from './Radio';
diff --git a/packages/design/src/components/scrollbar/Scrollbar.stories.tsx b/packages/design/src/components/scrollbar/Scrollbar.stories.tsx
index 02044aa267..db6a6c8779 100644
--- a/packages/design/src/components/scrollbar/Scrollbar.stories.tsx
+++ b/packages/design/src/components/scrollbar/Scrollbar.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta, StoryObj } from '@storybook/react';
-import React from 'react';
import { Scrollbar } from './Scrollbar';
diff --git a/packages/design/src/components/segmented/Segmented.stories.tsx b/packages/design/src/components/segmented/Segmented.stories.tsx
index 8e902814a0..5d3139dc2d 100644
--- a/packages/design/src/components/segmented/Segmented.stories.tsx
+++ b/packages/design/src/components/segmented/Segmented.stories.tsx
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-import React from 'react';
import type { Meta } from '@storybook/react';
import { Segmented } from './Segmented';
@@ -33,10 +32,11 @@ export const SegmentedBasic = {
render() {
return (
<div style={{ width: 280 }}>
- <Segmented options={[
- { label: 'By Values', value: 'Values' },
- { label: 'By Conditions', value: 'Conditions' },
- ]}
+ <Segmented
+ options={[
+ { label: 'By Values', value: 'Values' },
+ { label: 'By Conditions', value: 'Conditions' },
+ ]}
/>
</div>
);
diff --git a/packages/design/src/components/slider/__test__/index.spec.tsx b/packages/design/src/components/slider/__test__/index.spec.tsx
deleted file mode 100644
index 916549f99d..0000000000
--- a/packages/design/src/components/slider/__test__/index.spec.tsx
+++ /dev/null
@@ -1,89 +0,0 @@
-/**
- * Copyright 2023-present DreamNum Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-import { fireEvent, render, screen } from '@testing-library/react';
-import React, { useState } from 'react';
-import { describe, expect, it } from 'vitest';
-
-import { Slider } from '../Slider';
-
-describe('Slider', () => {
- it('renders correctly', () => {
- const { container } = render(<Slider min={0} max={100} value={90} />);
- expect(container);
- });
-
- it('renders correctly with resetPoint', () => {
- let value = 90;
-
- function handleChange(point: number) {
- value = point;
- }
-
- const { container } = render(<Slider value={value} resetPoint={30} onChange={handleChange} />);
-
- fireEvent.click(container.querySelector('[role=button]')!);
-
- expect(value).toBe(30);
- });
-
- it('renders correctly with steps', () => {
- let result = 10;
- function Demo() {
- const [value, setValue] = useState(result);
-
- function handleChange(point: number) {
- setValue(point);
- result = point;
- }
-
- return <Slider max={20} value={value} onChange={handleChange} />;
- }
-
- const { container } = render(<Demo />);
-
- const [prev, next] = container.querySelectorAll('button');
-
- fireEvent.click(prev);
- fireEvent.click(prev);
- fireEvent.click(next);
- fireEvent.click(next);
- fireEvent.click(next);
-
- expect(result).toBe(20);
- });
-
- it('renders correctly with shortcuts', () => {
- let result = 10;
- function Demo() {
- const [value, setValue] = useState(result);
-
- function handleChange(point: number) {
- setValue(point);
- result = point;
- }
-
- return <Slider value={value} shortcuts={[10, 50]} onChange={handleChange} />;
- }
-
- const { container } = render(<Demo />);
-
- fireEvent.click(screen.getByText('10%'));
- fireEvent.click(screen.getByText('50%'));
-
- expect(result).toBe(50);
- });
-});
diff --git a/packages/design/src/components/tooltip/Tooltip.stories.tsx b/packages/design/src/components/tooltip/Tooltip.stories.tsx
index 22a3aa64d4..57fbc75c71 100644
--- a/packages/design/src/components/tooltip/Tooltip.stories.tsx
+++ b/packages/design/src/components/tooltip/Tooltip.stories.tsx
@@ -15,7 +15,6 @@
*/
import type { Meta } from '@storybook/react';
-import React from 'react';
import { Button } from '../button/Button';
import { Tooltip } from './Tooltip';
diff --git a/packages/design/src/index.ts b/packages/design/src/index.ts
index 34774ab9eb..d05ebeb660 100644
--- a/packages/design/src/index.ts
+++ b/packages/design/src/index.ts
@@ -27,7 +27,7 @@ export { Confirm, type IConfirmProps } from './components/confirm';
export { DatePanel, DatePicker, type IDatePanelProps, type IDatePickerProps } from './components/date-picker';
export { Dialog, type IDialogProps } from './components/dialog';
export { DropdownLegacy, type IDropdownLegacyProps } from './components/dropdown-legacy';
-export { DropdownOverlay, DropdownProvider, DropdownTrigger, type IDropdownOverlayProps } from './components/dropdown';
+export { Dropdown } from './components/dropdown';
export { FormDualColumnLayout, FormLayout, type IFormDualColumnLayoutProps, type IFormLayoutProps } from './components/form-layout';
export { type IInputProps, type IInputWithSlotProps, Input, InputWithSlot } from './components/input';
export { type IInputNumberProps, InputNumber } from './components/input-number';
@@ -41,7 +41,6 @@ export { type IScrollbarProps, Scrollbar } from './components/scrollbar';
export { type ISelectProps, Select } from './components/select';
export { type ISelectListProps, SelectList } from './components/select-list';
export { type ISegmentedProps, Segmented } from './components/segmented';
-export { type ISliderProps, Slider } from './components/slider';
export { type ITooltipProps, Tooltip } from './components/tooltip';
export { filterLeafNode, findNodePathFromTree, findSubTreeFromPath, type ITreeNodeProps, type ITreeProps, mergeTreeSelected, Tree, TreeSelectionMode } from './components/tree';
export { Switch } from './components/switch';
diff --git a/packages/design/src/locale/en-US.ts b/packages/design/src/locale/en-US.ts
index e8b78a8200..e276e2f006 100644
--- a/packages/design/src/locale/en-US.ts
+++ b/packages/design/src/locale/en-US.ts
@@ -24,9 +24,6 @@ const locale: ILocale = {
cancel: 'cancel',
confirm: 'ok',
},
- Slider: {
- resetTo: 'Reset to',
- },
Picker: {
...dajsEnUS,
...PickerEnUs,
diff --git a/packages/design/src/locale/fa-IR.ts b/packages/design/src/locale/fa-IR.ts
index 74bee7c8c5..15b849b469 100644
--- a/packages/design/src/locale/fa-IR.ts
+++ b/packages/design/src/locale/fa-IR.ts
@@ -24,9 +24,6 @@ const locale: ILocale = {
cancel: 'لغو',
confirm: 'باشه',
},
- Slider: {
- resetTo: 'بازنشانی به',
- },
Picker: {
...dajsEnUS,
...PickerEnUs,
diff --git a/packages/design/src/locale/fr-FR.ts b/packages/design/src/locale/fr-FR.ts
index 6fe7a587ec..85dec98548 100644
--- a/packages/design/src/locale/fr-FR.ts
+++ b/packages/design/src/locale/fr-FR.ts
@@ -24,9 +24,6 @@ const locale: ILocale = {
cancel: 'annuler',
confirm: 'ok',
},
- Slider: {
- resetTo: 'Réinitialiser à',
- },
Picker: {
...dajsFrFR,
...PickerFrFR,
diff --git a/packages/design/src/locale/interface.ts b/packages/design/src/locale/interface.ts
index dfb351e030..0819413886 100644
--- a/packages/design/src/locale/interface.ts
+++ b/packages/design/src/locale/interface.ts
@@ -19,7 +19,6 @@ import type PickerZhCN from 'rc-picker/lib/locale/zh_CN';
export interface ILocale {
design: {
Confirm: Record<string, any>;
- Slider: Record<string, any>;
Picker: typeof PickerZhCN;
CascaderList: Record<string, any>;
Select: Record<string, any>;
diff --git a/packages/design/src/locale/ru-RU.ts b/packages/design/src/locale/ru-RU.ts
index fb19cb407a..ca09f01e3a 100644
--- a/packages/design/src/locale/ru-RU.ts
+++ b/packages/design/src/locale/ru-RU.ts
@@ -24,9 +24,6 @@ const locale: ILocale = {
cancel: 'отмена',
confirm: 'ок',
},
- Slider: {
- resetTo: 'Сбросить до',
- },
Picker: {
...dajsRuRU,
...PickerRuRU,
diff --git a/packages/design/src/locale/vi-VN.ts b/packages/design/src/locale/vi-VN.ts
index a68aa8331e..ffb77f7b6e 100644
--- a/packages/design/src/locale/vi-VN.ts
+++ b/packages/design/src/locale/vi-VN.ts
@@ -24,9 +24,6 @@ const locale: ILocale = {
cancel: 'Hủy bỏ',
confirm: 'Xác nhận',
},
- Slider: {
- resetTo: 'Khôi phục đến',
- },
Picker: {
...dajsViVN,
...PickerViVN,
diff --git a/packages/design/src/locale/zh-CN.ts b/packages/design/src/locale/zh-CN.ts
index e1cd72058a..d3b1224dba 100644
--- a/packages/design/src/locale/zh-CN.ts
+++ b/packages/design/src/locale/zh-CN.ts
@@ -24,9 +24,6 @@ const locale: ILocale = {
cancel: '取消',
confirm: '确定',
},
- Slider: {
- resetTo: '恢复至',
- },
Picker: {
...dajsZhCN,
...PickerZhCN,
diff --git a/packages/design/src/locale/zh-TW.ts b/packages/design/src/locale/zh-TW.ts
index 22bfca7c38..828b880244 100644
--- a/packages/design/src/locale/zh-TW.ts
+++ b/packages/design/src/locale/zh-TW.ts
@@ -24,9 +24,6 @@ const locale: ILocale = {
cancel: '取消',
confirm: '確定',
},
- Slider: {
- resetTo: '恢復至',
- },
Picker: {
...dajsZhTw,
...PickerZhTw,
diff --git a/packages/docs-ui/src/views/count-bar/ZoomSlider.tsx b/packages/docs-ui/src/views/count-bar/ZoomSlider.tsx
index 96d4aa454d..b4664287c0 100644
--- a/packages/docs-ui/src/views/count-bar/ZoomSlider.tsx
+++ b/packages/docs-ui/src/views/count-bar/ZoomSlider.tsx
@@ -15,14 +15,9 @@
*/
import type { DocumentDataModel } from '@univerjs/core';
-import {
- ICommandService,
- IUniverInstanceService,
- UniverInstanceType,
-} from '@univerjs/core';
-import { Slider } from '@univerjs/design';
-import { useDependency, useObservable } from '@univerjs/ui';
-import React, { useCallback, useEffect, useMemo, useState } from 'react';
+import { ICommandService, IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
+import { Slider, useDependency, useObservable } from '@univerjs/ui';
+import { useCallback, useEffect, useMemo, useState } from 'react';
import { SetDocZoomRatioOperation } from '../../commands/operations/set-doc-zoom-ratio.operation';
const ZOOM_MAP = [50, 80, 100, 130, 150, 170, 200, 400];
diff --git a/packages/drawing-ui/src/views/image-popup-menu/ImagePopupMenu.tsx b/packages/drawing-ui/src/views/image-popup-menu/ImagePopupMenu.tsx
index 20a6510216..2f208c9616 100644
--- a/packages/drawing-ui/src/views/image-popup-menu/ImagePopupMenu.tsx
+++ b/packages/drawing-ui/src/views/image-popup-menu/ImagePopupMenu.tsx
@@ -16,10 +16,9 @@
import type { IDrawingSearch } from '@univerjs/core';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { DropdownLegacy } from '@univerjs/design';
+import { clsx, Dropdown } from '@univerjs/design';
import { Autofill, MoreDownSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
import React, { useState } from 'react';
import styles from './index.module.less';
@@ -80,11 +79,14 @@ export const ImagePopupMenu: React.FC<IImagePopupMenuProps> = (props: IImagePopu
onMouseEnter={handleMouseEnter}
onMouseLeave={handleMouseLeave}
>
- <DropdownLegacy
- placement="bottomLeft"
- trigger={['click']}
+ <Dropdown
+ align="start"
overlay={(
- <ul className={styles.imagePopupMenu}>
+ <ul
+ className={clsx(styles.imagePopupMenu, `
+ univer-box-border univer-p-2 univer-text-sm univer-theme
+ `)}
+ >
{availableMenu.map((item) => (
<li
key={item.index}
@@ -96,8 +98,8 @@ export const ImagePopupMenu: React.FC<IImagePopupMenuProps> = (props: IImagePopu
))}
</ul>
)}
- visible={visible}
- onVisibleChange={onVisibleChange}
+ open={visible}
+ onOpenChange={onVisibleChange}
>
<div
className={clsx(styles.btnContainer, {
@@ -110,7 +112,7 @@ export const ImagePopupMenu: React.FC<IImagePopupMenuProps> = (props: IImagePopu
/>
{showMore && <MoreDownSingle style={{ color: '#CCCCCC', fontSize: '8px', marginLeft: '8px' }} />}
</div>
- </DropdownLegacy>
+ </Dropdown>
</div>
);
};
diff --git a/packages/drawing-ui/src/views/image-popup-menu/index.module.less b/packages/drawing-ui/src/views/image-popup-menu/index.module.less
index 982003b0c2..2a10a9ef3d 100644
--- a/packages/drawing-ui/src/views/image-popup-menu/index.module.less
+++ b/packages/drawing-ui/src/views/image-popup-menu/index.module.less
@@ -9,13 +9,6 @@
margin-bottom: 0;
padding: var(--padding-sm);
- font-size: var(--font-size-base);
-
- background-color: rgb(var(--bg-color-secondary));
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-lg);
- box-shadow: var(--box-shadow-lg);
-
li {
list-style: none;
}
@@ -31,7 +24,6 @@
box-sizing: border-box;
height: 28px;
- font-size: var(--font-size-base);
font-style: normal;
line-height: 20px; /* 153.846% */
text-align: left;
diff --git a/packages/sheets-conditional-formatting-ui/src/components/color-picker/index.tsx b/packages/sheets-conditional-formatting-ui/src/components/color-picker/index.tsx
index 1f903ea01b..6933e1a28f 100644
--- a/packages/sheets-conditional-formatting-ui/src/components/color-picker/index.tsx
+++ b/packages/sheets-conditional-formatting-ui/src/components/color-picker/index.tsx
@@ -15,7 +15,7 @@
*/
import { ColorKit } from '@univerjs/core';
-import { DropdownLegacy, ColorPicker as OriginColorPicker } from '@univerjs/design';
+import { Dropdown, ColorPicker as OriginColorPicker } from '@univerjs/design';
import { MoreDownSingle } from '@univerjs/icons';
import { ComponentManager, useDependency } from '@univerjs/ui';
import React, { useMemo } from 'react';
@@ -40,26 +40,23 @@ export const ColorPicker = (props: IColorPickerProps) => {
return Icon && (!disable
? (
- <DropdownLegacy
+ <Dropdown
overlay={(
- <div className={`
- ${styles.cfColorPicker}
- `}
- >
+ <div className="univer-rounded-lg univer-p-4">
<OriginColorPicker value={color} onChange={onChange} />
</div>
)}
>
- <span className={`
- ${styles.cfColorPickerIcon}
- ${className}
- `}
+ <span
+ className={`
+ ${styles.cfColorPickerIcon}
+ ${className}
+ `}
>
<Icon extend={{ colorChannel1: colorKit.isValid ? color : 'rgb(var(--primary-color))' }} />
{isNeedDropdownIcon && <MoreDownSingle className={styles.iconDropdown} />}
</span>
-
- </DropdownLegacy>
+ </Dropdown>
)
: <Icon className={className} extend={{ colorChannel1: colorKit.isValid ? color : 'rgb(var(--primary-color))' }} />);
};
diff --git a/packages/sheets-conditional-formatting-ui/src/components/panel/rule-edit/ColorScale.tsx b/packages/sheets-conditional-formatting-ui/src/components/panel/rule-edit/ColorScale.tsx
index fa42793a0d..91d1744fc0 100644
--- a/packages/sheets-conditional-formatting-ui/src/components/panel/rule-edit/ColorScale.tsx
+++ b/packages/sheets-conditional-formatting-ui/src/components/panel/rule-edit/ColorScale.tsx
@@ -18,7 +18,7 @@ import type { Workbook } from '@univerjs/core';
import type { IColorScale, IConditionalFormattingRuleConfig } from '@univerjs/sheets-conditional-formatting';
import type { IStyleEditorProps } from './type';
import { IUniverInstanceService, LocaleService, UniverInstanceType } from '@univerjs/core';
-import { InputNumber, Select } from '@univerjs/design';
+import { clsx, InputNumber, Select } from '@univerjs/design';
import { CFRuleType, CFValueType, createDefaultValueByValueType } from '@univerjs/sheets-conditional-formatting';
import { FormulaEditor } from '@univerjs/sheets-formula-ui';
import { useDependency, useSidebarClick } from '@univerjs/ui';
@@ -222,17 +222,19 @@ export const ColorScaleStyleEditor = (props: IStyleEditorProps) => {
return (
<div>
<div className={stylesBase.title}>{localeService.t('sheet.cf.panel.styleRule')}</div>
- <div className={`
- ${styles.cfPreviewWrap}
- `}
+ <div
+ className={`
+ ${styles.cfPreviewWrap}
+ `}
>
<Preview rule={getResult({ minType, medianType, maxType, minValue, medianValue, maxValue, minColor, medianColor, maxColor }) as IConditionalFormattingRuleConfig} />
</div>
<div className={stylesBase.label}>{localeService.t('sheet.cf.valueType.min')}</div>
- <div className={`
- ${stylesBase.labelContainer}
- ${stylesBase.mTSm}
- `}
+ <div
+ className={clsx(`
+ ${stylesBase.labelContainer}
+ ${stylesBase.mTSm}
+ `, 'univer-box-border univer-h-7')}
>
<Select
style={{ flexShrink: 0 }}
@@ -267,10 +269,11 @@ export const ColorScaleStyleEditor = (props: IStyleEditorProps) => {
/>
</div>
<div className={stylesBase.label}>{localeService.t('sheet.cf.panel.medianValue')}</div>
- <div className={`
- ${stylesBase.labelContainer}
- ${stylesBase.mTSm}
- `}
+ <div
+ className={clsx(`
+ ${stylesBase.labelContainer}
+ ${stylesBase.mTSm}
+ `, 'univer-box-border univer-h-7')}
>
<Select
style={{ flexShrink: 0 }}
@@ -309,10 +312,11 @@ export const ColorScaleStyleEditor = (props: IStyleEditorProps) => {
</div>
<div className={stylesBase.label}>{localeService.t('sheet.cf.valueType.max')}</div>
- <div className={`
- ${stylesBase.labelContainer}
- ${stylesBase.mTSm}
- `}
+ <div
+ className={clsx(`
+ ${stylesBase.labelContainer}
+ ${stylesBase.mTSm}
+ `, 'univer-box-border univer-h-7')}
>
<Select
style={{ flexShrink: 0 }}
diff --git a/packages/sheets-conditional-formatting-ui/src/components/panel/rule-edit/IconSet.tsx b/packages/sheets-conditional-formatting-ui/src/components/panel/rule-edit/IconSet.tsx
index a2cf8db0b1..d4b73089fc 100644
--- a/packages/sheets-conditional-formatting-ui/src/components/panel/rule-edit/IconSet.tsx
+++ b/packages/sheets-conditional-formatting-ui/src/components/panel/rule-edit/IconSet.tsx
@@ -19,7 +19,7 @@ import type { IIconSet, IIconType } from '@univerjs/sheets-conditional-formattin
import type { IStyleEditorProps } from './type';
import { get, IUniverInstanceService, LocaleService, set, Tools, UniverInstanceType } from '@univerjs/core';
-import { Checkbox, DropdownLegacy, InputNumber, Select } from '@univerjs/design';
+import { Checkbox, clsx, Dropdown, InputNumber, Select } from '@univerjs/design';
import { MoreDownSingle, SlashSingle } from '@univerjs/icons';
import {
CFNumberOperator,
@@ -285,12 +285,18 @@ const IconSetRuleEdit = (props: {
${styles.width45}
`}
>
- <DropdownLegacy overlay={<IconItemList onClick={handleIconClick} iconId={item.iconId} iconType={item.iconType} />}>
- <div className={styles.dropdownIcon}>
+ <Dropdown
+ overlay={(
+ <div className="univer-rounded-lg univer-p-4">
+ <IconItemList onClick={handleIconClick} iconId={item.iconId} iconType={item.iconType} />
+ </div>
+ )}
+ >
+ <div className={clsx(styles.dropdownIcon, 'univer-box-border univer-h-7')}>
{icon ? <img src={icon} className={styles.icon} /> : <SlashSingle className={styles.icon} />}
<MoreDownSingle />
</div>
- </DropdownLegacy>
+ </Dropdown>
</div>
{!isEnd
@@ -560,24 +566,24 @@ export const IconSet = (props: IStyleEditorProps<unknown, IIconSet>) => {
${stylesBase.mTSm}
`}
>
- <DropdownLegacy
- placement="bottomLeft"
+ <Dropdown
overlay={(
- <IconGroupList
- ref={(el) => {
- !iconGroupListEl && el && setIconGroupListEl(el);
- }}
- iconType={currentIconType}
- onClick={handleClickIconList}
- />
+ <div className="univer-rounded-lg univer-p-4">
+ <IconGroupList
+ ref={(el) => {
+ !iconGroupListEl && el && setIconGroupListEl(el);
+ }}
+ iconType={currentIconType}
+ onClick={handleClickIconList}
+ />
+ </div>
)}
>
- <div className={styles.dropdownIcon} style={{ width: 'unset' }}>
+ <div className={clsx(styles.dropdownIcon, 'univer-box-border univer-h-7 univer-w-auto')}>
{previewIcon}
<MoreDownSingle />
</div>
- {/* <div>{previewIcon}</div> */}
- </DropdownLegacy>
+ </Dropdown>
</div>
<div
className={`
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index f971fcf3a3..2e33eee58c 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -75,7 +75,7 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "@univerjs/icons-svg": "^0.2.15",
+ "@univerjs/icons-svg": "^0.2.20",
"rxjs": "^7.8.1",
"typescript": "^5.7.3",
"vite": "^6.1.1",
diff --git a/packages/sheets-formula-ui/src/views/more-functions/select-function/SelectFunction.tsx b/packages/sheets-formula-ui/src/views/more-functions/select-function/SelectFunction.tsx
index 1accb73957..6bbd551c24 100644
--- a/packages/sheets-formula-ui/src/views/more-functions/select-function/SelectFunction.tsx
+++ b/packages/sheets-formula-ui/src/views/more-functions/select-function/SelectFunction.tsx
@@ -156,7 +156,7 @@ export function SelectFunction(props: ISelectFunctionProps) {
onKeyDown={handleSelectListKeyDown}
value={searchText}
onChange={handleSearchInputChange}
- size="large"
+ size="small"
allowClear
/>
</div>
@@ -200,9 +200,9 @@ export function SelectFunction(props: ISelectFunctionProps) {
/>
{functionInfo.functionParameter &&
- functionInfo.functionParameter.map((item: IFunctionParam, i: number) => (
+ functionInfo.functionParameter.map((item: IFunctionParam) => (
<FunctionParams
- key={i}
+ key={item.name}
title={item.name}
value={`${item.require ? required : optional} ${item.detail}`}
/>
diff --git a/packages/sheets-ui/src/components/border-panel/BorderPanel.tsx b/packages/sheets-ui/src/components/border-panel/BorderPanel.tsx
index 341686d1f9..3af853dbb0 100644
--- a/packages/sheets-ui/src/components/border-panel/BorderPanel.tsx
+++ b/packages/sheets-ui/src/components/border-panel/BorderPanel.tsx
@@ -17,7 +17,7 @@
import type { IBorderInfo } from '@univerjs/sheets';
import type { IBorderPanelProps } from './interface';
import { BorderStyleTypes } from '@univerjs/core';
-import { ColorPicker, DropdownLegacy, Menu, MenuItem } from '@univerjs/design';
+import { ColorPicker, Dropdown, Menu, MenuItem } from '@univerjs/design';
import { MoreDownSingle, PaintBucket } from '@univerjs/icons';
import { BorderStyleManagerService } from '@univerjs/sheets';
import { ComponentManager, useDependency } from '@univerjs/ui';
@@ -121,14 +121,11 @@ export function BorderPanel(props: IBorderPanelProps) {
<div className={styles.uiPluginSheetsBorderPanelStyles}>
<div>
- <DropdownLegacy
- align={{
- offset: [0, 18],
- }}
+ <Dropdown
overlay={(
- <section className={styles.uiPluginSheetsBorderPanelBoard} onClick={stopPropagation}>
+ <div className="univer-rounded-lg univer-p-4" onClick={stopPropagation}>
<ColorPicker onChange={(value) => handleClick(value, 'color')} />
- </section>
+ </div>
)}
>
<a className={styles.uiPluginSheetsBorderPanelButton} onClick={stopPropagation}>
@@ -137,16 +134,13 @@ export function BorderPanel(props: IBorderPanelProps) {
<MoreDownSingle />
</span>
</a>
- </DropdownLegacy>
+ </Dropdown>
</div>
<div>
- <DropdownLegacy
- align={{
- offset: [0, 18],
- }}
+ <Dropdown
overlay={(
- <section onClick={stopPropagation}>
+ <section className="univer-rounded-lg univer-p-4" onClick={stopPropagation}>
<Menu>
{BORDER_SIZE_CHILDREN.map((item) => (
<MenuItem
@@ -167,7 +161,7 @@ export function BorderPanel(props: IBorderPanelProps) {
<MoreDownSingle />
</span>
</a>
- </DropdownLegacy>
+ </Dropdown>
</div>
</div>
</section>
diff --git a/packages/sheets-ui/src/components/border-panel/index.module.less b/packages/sheets-ui/src/components/border-panel/index.module.less
index b6f74e781e..2de1b467e5 100644
--- a/packages/sheets-ui/src/components/border-panel/index.module.less
+++ b/packages/sheets-ui/src/components/border-panel/index.module.less
@@ -41,16 +41,6 @@
justify-content: space-around;
}
- &-board {
- box-sizing: border-box;
- padding: var(--padding-base);
-
- background-color: rgb(var(--bg-color-secondary));
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-lg);
- box-shadow: var(--box-shadow-base);
- }
-
&-button {
cursor: pointer;
diff --git a/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts b/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts
index 2bd03ad375..45a646e3ce 100644
--- a/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts
+++ b/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts
@@ -22,7 +22,7 @@ import { DOCS_COMPONENT_MAIN_LAYER_INDEX, VIEWPORT_KEY } from '@univerjs/docs-ui
import { convertTextRotation, fixLineWidthByScale, IRenderManagerService, Rect, ScrollBar } from '@univerjs/engine-render';
import { ILayoutService } from '@univerjs/ui';
import { getEditorObject } from '../../basics/editor/get-editor-object';
-import styles from '../../views/sheet-container/index.module.less';
+import { SHEET_FOOTER_BAR_HEIGHT } from '../../views/sheet-container/SheetContainer';
import { IEditorBridgeService } from '../editor-bridge.service';
import { SheetSkeletonManagerService } from '../sheet-skeleton-manager.service';
import { ICellEditorManagerService } from './cell-editor-manager.service';
@@ -217,7 +217,7 @@ export class SheetCellEditorResizeService extends Disposable implements IRenderM
const clientHeight =
document.body.clientHeight -
startY -
- Number.parseFloat(styles.sheetFooterBarHeight) -
+ SHEET_FOOTER_BAR_HEIGHT -
canvasOffset.top -
EDITOR_BORDER_SIZE * 2;
diff --git a/packages/sheets-ui/src/views/clipboard/ClipboardPopupMenu.tsx b/packages/sheets-ui/src/views/clipboard/ClipboardPopupMenu.tsx
index 81078570b8..e67e69d95e 100644
--- a/packages/sheets-ui/src/views/clipboard/ClipboardPopupMenu.tsx
+++ b/packages/sheets-ui/src/views/clipboard/ClipboardPopupMenu.tsx
@@ -17,15 +17,14 @@
import type { IDiscreteRange } from '../../controllers/utils/range-tools';
import type { IPasteHookKeyType } from '../../services/clipboard/type';
import { ICommandService, IUniverInstanceService, LocaleService } from '@univerjs/core';
-import { DropdownOverlay, DropdownProvider, DropdownTrigger } from '@univerjs/design';
+import { clsx, Dropdown } from '@univerjs/design';
import { convertTransformToOffsetX, convertTransformToOffsetY, IRenderManagerService } from '@univerjs/engine-render';
import { CheckMarkSingle, MoreDownSingle, PasteSpecial } from '@univerjs/icons';
import { useDependency, useObservable } from '@univerjs/ui';
-import clsx from 'clsx';
import { useState } from 'react';
import { SheetOptionalPasteCommand } from '../../commands/commands/clipboard.command';
import { useActiveWorkbook } from '../../components/hook';
-import { SheetClipboardController } from '../../controllers/clipboard/clipboard.controller';
+// import { SheetClipboardController } from '../../controllers/clipboard/clipboard.controller';
import { getSheetObject } from '../../controllers/utils/component-tools';
import { ISheetClipboardService, PREDEFINED_HOOK_NAME } from '../../services/clipboard/clipboard.service';
import { ISheetSelectionRenderService } from '../../services/selection/base-selection-render.service';
@@ -112,7 +111,7 @@ const useMenuPosition = (range?: IDiscreteRange) => {
export const ClipboardPopupMenu = () => {
const clipboardService = useDependency(ISheetClipboardService);
const showMenu = useObservable(clipboardService.showMenu$, false);
- const clipboardController = useDependency(SheetClipboardController);
+ // const clipboardController = useDependency(SheetClipboardController);
const pasteOptionsCache = useObservable(clipboardService.pasteOptionsCache$, null);
const localeService = useDependency(LocaleService);
const commandService = useDependency(ICommandService);
@@ -120,7 +119,7 @@ export const ClipboardPopupMenu = () => {
const [menuHovered, setMenuHovered] = useState(false);
const [menuVisible, setMenuVisible] = useState(false);
- const version = useObservable(clipboardController.refreshOptionalPaste$, Math.random());
+ // const version = useObservable(clipboardController.refreshOptionalPaste$, Math.random());
const range = pasteOptionsCache?.target.pastedRange;
@@ -133,6 +132,7 @@ export const ClipboardPopupMenu = () => {
const iconVisible = menuHovered || menuVisible;
const handleClick = (type: string) => {
+ setMenuVisible(false);
commandService.executeCommand(SheetOptionalPasteCommand.id, { type });
};
@@ -146,52 +146,58 @@ export const ClipboardPopupMenu = () => {
onMouseEnter={() => setMenuHovered(true)}
onMouseLeave={() => setMenuHovered(false)}
>
- <DropdownProvider
- visible={menuVisible}
- onVisibleChange={(visible) => {
- setMenuVisible(visible);
- }}
- >
- <DropdownTrigger>
+ <Dropdown
+ overlay={(
<div
- className={styles.sheetPasteOptionsIconWrapper}
- onClick={() => {
- setMenuVisible(!menuVisible);
- }}
+ className={clsx(styles.sheetPasteOptionsMenu, `
+ univer-border univer-border-solid univer-border-gray-200 univer-opacity-100
+ `)}
>
- <PasteSpecial
- style={{ color: '#35322B' }}
- extend={{ colorChannel1: 'rgb(var(--green-700))' }}
- />
- {iconVisible && <MoreDownSingle />}
+ <ul>
+ {SheetPasteOptions.map((item) => {
+ const itemType = PREDEFINED_HOOK_NAME[item.value as IPasteHookKeyType];
+ const selected = pasteOptionsCache?.pasteType === itemType;
+ return (
+ <li
+ key={item.value}
+ className={clsx(styles.sheetPasteOptionsMenuItem, 'hover:univer-bg-neutral-100')}
+ onClick={() => handleClick(item.value)}
+ >
+ <span>
+ {selected && (
+ <CheckMarkSingle className={styles.sheetPasteOptionsMenuItemIcon} style={{ color: 'rgb(var(--green-700, #409f11))' }} />
+ )}
+ </span>
+ <div
+ className={clsx(styles.sheetPasteOptionsMenuItemTitle, `
+ univer-text-gray-700
+ `)}
+ >
+ {localeService.t(item.label)}
+ </div>
+ </li>
+ );
+ })}
+ </ul>
</div>
- </DropdownTrigger>
- <DropdownOverlay className={clsx(styles.sheetPasteOptionsMenu, `
- univer-border univer-border-solid univer-border-gray-200 univer-opacity-100
- `)}
+ )}
+ open={menuVisible}
+ onOpenChange={setMenuVisible}
+ >
+
+ <div
+ className={styles.sheetPasteOptionsIconWrapper}
+ onClick={() => {
+ setMenuVisible(!menuVisible);
+ }}
>
- <ul>
- {SheetPasteOptions.map((item) => {
- const itemType = PREDEFINED_HOOK_NAME[item.value as IPasteHookKeyType];
- const selected = pasteOptionsCache?.pasteType === itemType;
- return (
- <li
- key={item.value}
- onClick={() => handleClick(item.value)}
- className={clsx(styles.sheetPasteOptionsMenuItem, 'hover:univer-bg-neutral-100')}
- >
- <span>
- {selected && (
- <CheckMarkSingle className={styles.sheetPasteOptionsMenuItemIcon} style={{ color: 'rgb(var(--green-700, #409f11))' }} />
- )}
- </span>
- <div className={clsx(styles.sheetPasteOptionsMenuItemTitle, 'univer-text-gray-700')}>{localeService.t(item.label)}</div>
- </li>
- );
- })}
- </ul>
- </DropdownOverlay>
- </DropdownProvider>
+ <PasteSpecial
+ style={{ color: '#35322B' }}
+ extend={{ colorChannel1: 'rgb(var(--green-700))' }}
+ />
+ {iconVisible && <MoreDownSingle />}
+ </div>
+ </Dropdown>
</div>
);
};
diff --git a/packages/sheets-ui/src/views/count-bar/ZoomSlider.tsx b/packages/sheets-ui/src/views/count-bar/ZoomSlider.tsx
index ca627e547a..eb7c4c99e8 100644
--- a/packages/sheets-ui/src/views/count-bar/ZoomSlider.tsx
+++ b/packages/sheets-ui/src/views/count-bar/ZoomSlider.tsx
@@ -21,10 +21,9 @@ import {
IUniverInstanceService,
UniverInstanceType,
} from '@univerjs/core';
-import { Slider } from '@univerjs/design';
import { SetWorksheetActiveOperation } from '@univerjs/sheets';
-import { useDependency, useObservable } from '@univerjs/ui';
-import React, { useCallback, useEffect, useState } from 'react';
+import { Slider, useDependency, useObservable } from '@univerjs/ui';
+import { useCallback, useEffect, useState } from 'react';
import { SetZoomRatioCommand } from '../../commands/commands/set-zoom-ratio.command';
import { SetZoomRatioOperation } from '../../commands/operations/set-zoom-ratio.operation';
diff --git a/packages/sheets-ui/src/views/defined-name/DefinedName.tsx b/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
index 529e4862e3..0dcf4ba6bf 100644
--- a/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
+++ b/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-import { DropdownOverlay, DropdownProvider, DropdownTrigger } from '@univerjs/design';
-
+import { Dropdown } from '@univerjs/design';
import { IDefinedNamesService } from '@univerjs/engine-formula';
import { MoreDownSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
@@ -45,11 +44,16 @@ export function DefinedName({ disable }: { disable: boolean }) {
}
return (
- <div className={styles.definedName}>
+ <div
+ className={`
+ univer-relative univer-box-border univer-flex univer-h-full univer-w-24 univer-border-r-gray-200
+ univer-py-1.5 univer-transition-all
+ `}
+ >
<input
className={clsx(`
- univer-absolute univer-box-border univer-h-full univer-w-full univer-appearance-none
- univer-border-none univer-px-1.5
+ univer-box-border univer-h-full univer-w-full univer-appearance-none univer-border-0 univer-border-r
+ univer-border-r-gray-200 univer-px-1.5
focus:univer-outline-none
`, {
[styles.defineNameInputDisable]: disable,
@@ -59,27 +63,26 @@ export function DefinedName({ disable }: { disable: boolean }) {
onChange={handleChangeSelection}
/>
- <DropdownProvider>
- <DropdownTrigger>
- <a
- className={clsx(`
- univer-absolute univer-right-0 univer-flex univer-h-full univer-cursor-pointer
- univer-items-center univer-justify-center univer-px-1 univer-transition-colors
- univer-duration-200
- hover:univer-bg-gray-100
- `,
- {
- 'univer-cursor-not-allowed univer-text-gray-300 hover:univer-bg-transparent': disable,
- })}
- >
- <MoreDownSingle />
- </a>
- </DropdownTrigger>
-
- <DropdownOverlay className="univer-z-[1001]" offset={{ x: -75, y: 2 }}>
- <DefinedNameOverlay />
- </DropdownOverlay>
- </DropdownProvider>
+ <Dropdown
+ overlay={(
+ <div className="univer-z-[1001]">
+ <DefinedNameOverlay />
+ </div>
+ )}
+ >
+ <a
+ className={clsx(`
+ univer-absolute univer-right-0 univer-top-0 univer-flex univer-h-full univer-cursor-pointer
+ univer-items-center univer-justify-center univer-px-1 univer-transition-colors univer-duration-200
+ hover:univer-bg-gray-100
+ `,
+ {
+ 'univer-cursor-not-allowed univer-text-gray-300 hover:univer-bg-transparent': disable,
+ })}
+ >
+ <MoreDownSingle />
+ </a>
+ </Dropdown>
</div>
);
}
diff --git a/packages/sheets-ui/src/views/defined-name/index.module.less b/packages/sheets-ui/src/views/defined-name/index.module.less
index 69484bb030..af00dbeb20 100644
--- a/packages/sheets-ui/src/views/defined-name/index.module.less
+++ b/packages/sheets-ui/src/views/defined-name/index.module.less
@@ -1,18 +1,4 @@
.defined-name {
- display: flex;
-
- position: relative;
-
- transition: height 0.15s;
-
- border-right: 1px solid rgb(var(--border-color));
-
- height: 100%;
-
- width: 100px;
-
- box-sizing: border-box;
-
&-overlay {
position: relative;
width: 300px;
diff --git a/packages/sheets-ui/src/views/formula-bar/FormulaBar.tsx b/packages/sheets-ui/src/views/formula-bar/FormulaBar.tsx
index 44fb950c20..1a258c98b1 100644
--- a/packages/sheets-ui/src/views/formula-bar/FormulaBar.tsx
+++ b/packages/sheets-ui/src/views/formula-bar/FormulaBar.tsx
@@ -160,12 +160,14 @@ export function FormulaBar(props: IProps) {
}, [editorBridgeService.currentEditCellState$]);
useEffect(() => {
- if (ref.current) {
- const handleResize = () => {
- const editorRect = ref.current!.getBoundingClientRect();
- formulaEditorManagerService.setPosition(editorRect);
- };
+ const handleResize = () => {
+ if (!ref.current) return;
+
+ const editorRect = ref.current.getBoundingClientRect();
+ formulaEditorManagerService.setPosition(editorRect);
+ };
+ if (ref.current) {
handleResize();
const a = new ResizeObserver(handleResize);
diff --git a/packages/sheets-ui/src/views/operate-container/AutoFillPopupMenu.tsx b/packages/sheets-ui/src/views/operate-container/AutoFillPopupMenu.tsx
index 1693080f88..9f0fdd05ed 100644
--- a/packages/sheets-ui/src/views/operate-container/AutoFillPopupMenu.tsx
+++ b/packages/sheets-ui/src/views/operate-container/AutoFillPopupMenu.tsx
@@ -16,11 +16,10 @@
import type { ICommandInfo, IExecutionOptions } from '@univerjs/core';
import { ICommandService, IUniverInstanceService, LocaleService, toDisposable } from '@univerjs/core';
-import { DropdownLegacy } from '@univerjs/design';
+import { clsx, Dropdown } from '@univerjs/design';
import { convertTransformToOffsetX, convertTransformToOffsetY, IRenderManagerService } from '@univerjs/engine-render';
import { Autofill, CheckMarkSingle, MoreDownSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
-import clsx from 'clsx';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { RefillCommand } from '../../commands/commands/refill.command';
import { SetScrollOperation } from '../../commands/operations/scroll.operation';
@@ -186,16 +185,20 @@ export const AutoFillPopupMenu: React.FC<{}> = () => {
onMouseLeave={handleMouseLeave}
style={{ left: `${relativeX + 2}px`, top: `${relativeY + 2}px`, position: 'absolute' }}
>
- <DropdownLegacy
- placement="bottomLeft"
- trigger={['click']}
+ <Dropdown
+ align="start"
overlay={(
- <ul className={styles.autoFillPopupMenu}>
+ <ul
+ className={`
+ univer-rounded-lg univer-p-2 univer-theme univer-m-0 univer-box-border univer-grid
+ univer-list-none univer-gap-1
+ `}
+ >
{availableMenu.map((item) => (
<li
key={item.index}
- onClick={() => handleClick(item)}
className={styles.autoFillPopupMenuItem}
+ onClick={() => handleClick(item)}
>
<span className={styles.autoFillPopupMenuItemIcon}>
{item.value === selected && (
@@ -207,8 +210,8 @@ export const AutoFillPopupMenu: React.FC<{}> = () => {
))}
</ul>
)}
- visible={visible}
- onVisibleChange={onVisibleChange}
+ open={visible}
+ onOpenChange={onVisibleChange}
>
<div
className={clsx(styles.btnContainer, {
@@ -221,7 +224,7 @@ export const AutoFillPopupMenu: React.FC<{}> = () => {
/>
{showMore && <MoreDownSingle style={{ color: '#CCCCCC', fontSize: '8px', marginLeft: '8px' }} />}
</div>
- </DropdownLegacy>
+ </Dropdown>
</div>
);
};
diff --git a/packages/sheets-ui/src/views/operate-container/index.module.less b/packages/sheets-ui/src/views/operate-container/index.module.less
index 9a0248fed6..7f256e23e9 100644
--- a/packages/sheets-ui/src/views/operate-container/index.module.less
+++ b/packages/sheets-ui/src/views/operate-container/index.module.less
@@ -7,31 +7,9 @@
width: 0;
height: 0;
}
-@item-padding-left: 36px;
-@auto-fill-popup-menu-min-width: 128px;
+@item-padding-left: 24px;
.auto-fill-popup-menu {
- display: grid;
- gap: var(--margin-xxs);
- align-items: center;
-
- box-sizing: border-box;
- min-width: @auto-fill-popup-menu-min-width;
- margin-top: 0;
- margin-bottom: 0;
- padding: var(--padding-sm);
-
- font-size: var(--font-size-base);
-
- background-color: rgb(var(--bg-color-secondary));
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-lg);
- box-shadow: var(--box-shadow-lg);
-
- li {
- list-style: none;
- }
-
&-item {
cursor: pointer;
@@ -41,7 +19,6 @@
align-items: center;
box-sizing: border-box;
- width: 134px;
height: 28px;
padding: var(--padding-xs) 0 var(--padding-xs) @item-padding-left;
diff --git a/packages/sheets-ui/src/views/sheet-bar/SheetBar.tsx b/packages/sheets-ui/src/views/sheet-bar/SheetBar.tsx
index 57b98e2964..f1529e4506 100644
--- a/packages/sheets-ui/src/views/sheet-bar/SheetBar.tsx
+++ b/packages/sheets-ui/src/views/sheet-bar/SheetBar.tsx
@@ -16,10 +16,11 @@
import type { IScrollState } from './sheet-bar-tabs/utils/slide-tab-bar';
import { ICommandService, IPermissionService } from '@univerjs/core';
+import { clsx } from '@univerjs/design';
import { IncreaseSingle, MoreSingle } from '@univerjs/icons';
import { InsertSheetCommand, WorkbookCreateSheetPermission, WorkbookEditablePermission } from '@univerjs/sheets';
-import { useDependency, useObservable } from '@univerjs/ui';
+import { useDependency, useObservable } from '@univerjs/ui';
import React, { useEffect, useState } from 'react';
import { useActiveWorkbook } from '../../components/hook';
import { ISheetBarService } from '../../services/sheet-bar/sheet-bar.service';
@@ -77,7 +78,7 @@ export const SheetBar = () => {
};
return (
- <div className={styles.sheetBar}>
+ <div className={clsx(styles.sheetBar, 'univer-relative univer-flex univer-h-full univer-flex-1')}>
<div className={styles.sheetBarOptions}>
{/* Add sheet button */}
<SheetBarButton onClick={addSheet} disabled={!(workbookCreateSheetPermission?.value && workbookEditablePermission?.value)}>
@@ -92,10 +93,11 @@ export const SheetBar = () => {
{/* Scroll arrows */}
{(!leftScrollState || !rightScrollState) && (
- <div className={`
- ${styles.sheetBarOptions}
- ${styles.sheetBarOptionsDivider}
- `}
+ <div
+ className={`
+ ${styles.sheetBarOptions}
+ ${styles.sheetBarOptionsDivider}
+ `}
>
<SheetBarButton disabled={leftScrollState} onClick={handleScrollLeft}>
<MoreSingle style={{ transform: 'rotateZ(180deg)' }} />
diff --git a/packages/sheets-ui/src/views/sheet-bar/index.module.less b/packages/sheets-ui/src/views/sheet-bar/index.module.less
index dec9a70df6..d3e81a9450 100644
--- a/packages/sheets-ui/src/views/sheet-bar/index.module.less
+++ b/packages/sheets-ui/src/views/sheet-bar/index.module.less
@@ -4,17 +4,8 @@
@margin-right: -4px;
.sheet-bar {
- position: relative;
-
- display: flex;
- flex: 1 1 0px;
- flex-direction: row;
-
min-width: calc(100% - @zoom-slider-width - @status-bar-max-width);
max-width: calc(100% - @zoom-slider-width);
- height: 100%;
-
- background-color: rgb(var(--bg-color-secondary));
&-options {
display: flex;
diff --git a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-menu/index.module.less b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-menu/index.module.less
index 7e10bc1a6f..23e54160cc 100644
--- a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-menu/index.module.less
+++ b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-menu/index.module.less
@@ -1,10 +1,8 @@
-@import '../../sheet-container/index.module.less';
-
@padding-left-right: 24px;
@line-height: 20px;
.sheet-bar-menu {
- max-height: calc(100vh - @sheet-footer-bar-height);
+ max-height: calc(100vh - 36px);
display: grid;
gap: var(--margin-xxs);
align-items: center;
diff --git a/packages/sheets-ui/src/views/sheet-container/SheetContainer.tsx b/packages/sheets-ui/src/views/sheet-container/SheetContainer.tsx
index 13db9eda91..e92d5603c0 100644
--- a/packages/sheets-ui/src/views/sheet-container/SheetContainer.tsx
+++ b/packages/sheets-ui/src/views/sheet-container/SheetContainer.tsx
@@ -17,8 +17,7 @@
import type { Workbook } from '@univerjs/core';
import { IUniverInstanceService, UniverInstanceType } from '@univerjs/core';
import { ContextMenuPosition, IMenuManagerService, ToolbarItem, useDependency, useObservable } from '@univerjs/ui';
-import React, { useMemo } from 'react';
-
+import { useMemo } from 'react';
import { useActiveWorkbook } from '../../components/hook';
import { CountBar } from '../count-bar/CountBar';
import { EditorContainer } from '../editor-container/EditorContainer';
@@ -26,7 +25,8 @@ import { FormulaBar } from '../formula-bar/FormulaBar';
import { OperateContainer } from '../operate-container/OperateContainer';
import { SheetBar } from '../sheet-bar/SheetBar';
import { StatusBar } from '../status-bar/StatusBar';
-import styles from './index.module.less';
+
+export const SHEET_FOOTER_BAR_HEIGHT = 36;
export function RenderSheetFooter() {
const menuManagerService = useDependency(IMenuManagerService);
@@ -37,20 +37,33 @@ export function RenderSheetFooter() {
const footerMenus = menuManagerService.getMenuByPositionKey(ContextMenuPosition.FOOTER_MENU);
return (
- <section className={styles.sheetContainer} data-range-selector>
+ <section
+ className={`
+ univer-box-border univer-flex univer-items-center univer-justify-between univer-bg-white univer-px-5
+ univer-text-gray-900
+ dark:univer-bg-gray-900 dark:univer-text-gray-200
+ `}
+ style={{
+ height: SHEET_FOOTER_BAR_HEIGHT,
+ }}
+ data-range-selector
+ >
<SheetBar />
<StatusBar />
- {footerMenus.map((item) => item.children?.map((child) => (
- child?.item && (
- <ToolbarItem
- key={child.key}
- align={{
- offset: [-32, 18],
- }}
- {...child.item}
- />
- )
- )))}
+
+ {footerMenus.length && (
+ <div className="univer-mr-2 univer-flex univer-gap-2">
+ {footerMenus.map((item) => item.children?.map((child) => (
+ child?.item && (
+ <ToolbarItem
+ key={child.key}
+ {...child.item}
+ />
+ )
+ )))}
+ </div>
+ )}
+
<CountBar />
</section>
);
diff --git a/packages/sheets-ui/src/views/sheet-container/index.module.less b/packages/sheets-ui/src/views/sheet-container/index.module.less
deleted file mode 100644
index e3d48fd3b6..0000000000
--- a/packages/sheets-ui/src/views/sheet-container/index.module.less
+++ /dev/null
@@ -1,21 +0,0 @@
-@sheet-footer-bar-height: 36px;
-
-:export {
- --sheet-footer-bar-height: unit(@sheet-footer-bar-height);
-}
-
-.sheet-container {
- display: flex;
- align-items: center;
- justify-content: space-between;
-
- box-sizing: border-box;
- height: @sheet-footer-bar-height;
- padding: 0 var(--padding-xl);
-
- background-color: rgb(var(--bg-color-secondary));
-
- > span:not(:last-of-type) {
- margin-right: 4px;
- }
-}
diff --git a/packages/sheets-ui/src/views/status-bar/StatusBar.tsx b/packages/sheets-ui/src/views/status-bar/StatusBar.tsx
index 15c48cb5ea..5d53acf0e2 100644
--- a/packages/sheets-ui/src/views/status-bar/StatusBar.tsx
+++ b/packages/sheets-ui/src/views/status-bar/StatusBar.tsx
@@ -190,7 +190,7 @@ export const StatusBar = () => {
[styles.singleMode]: isSingle,
})}
>
- <div className={clsx(styles.statisticList)}>{renderContent}</div>
+ <div className="univer-flex">{renderContent}</div>
<div className={styles.statusBarDiv} />
</div>
)
diff --git a/packages/sheets-ui/src/views/status-bar/index.module.less b/packages/sheets-ui/src/views/status-bar/index.module.less
index 363e4fc7fc..63778ce61e 100644
--- a/packages/sheets-ui/src/views/status-bar/index.module.less
+++ b/packages/sheets-ui/src/views/status-bar/index.module.less
@@ -18,14 +18,6 @@
}
.statistic {
- &-list {
- display: flex;
- }
-
- &-list-column {
- flex-direction: column;
- }
-
&-list-column &-item {
font-size: 12px;
line-height: 140%;
diff --git a/packages/slides-ui/src/components/image-popup-menu/ImagePopupMenu.tsx b/packages/slides-ui/src/components/image-popup-menu/ImagePopupMenu.tsx
index 21bd5ce9a1..771748179a 100644
--- a/packages/slides-ui/src/components/image-popup-menu/ImagePopupMenu.tsx
+++ b/packages/slides-ui/src/components/image-popup-menu/ImagePopupMenu.tsx
@@ -16,7 +16,7 @@
import type { IDrawingSearch } from '@univerjs/core';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { DropdownLegacy } from '@univerjs/design';
+import { Dropdown } from '@univerjs/design';
import { Autofill, MoreDownSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
import clsx from 'clsx';
@@ -80,11 +80,14 @@ export const SlideImagePopupMenu: React.FC<IImagePopupMenuProps> = (props: IImag
onMouseEnter={handleMouseEnter}
onMouseLeave={handleMouseLeave}
>
- <DropdownLegacy
- placement="bottomLeft"
- trigger={['click']}
+ <Dropdown
+ align="start"
overlay={(
- <ul className={styles.imagePopupMenu}>
+ <ul
+ className={clsx(styles.imagePopupMenu, `
+ univer-box-border univer-p-2 univer-text-sm univer-theme
+ `)}
+ >
{availableMenu.map((item) => (
<li
key={item.index}
@@ -96,8 +99,8 @@ export const SlideImagePopupMenu: React.FC<IImagePopupMenuProps> = (props: IImag
))}
</ul>
)}
- visible={visible}
- onVisibleChange={onVisibleChange}
+ open={visible}
+ onOpenChange={onVisibleChange}
>
<div
className={clsx(styles.btnContainer, {
@@ -110,7 +113,7 @@ export const SlideImagePopupMenu: React.FC<IImagePopupMenuProps> = (props: IImag
/>
{showMore && <MoreDownSingle style={{ color: '#CCCCCC', fontSize: '8px', marginLeft: '8px' }} />}
</div>
- </DropdownLegacy>
+ </Dropdown>
</div>
);
};
diff --git a/packages/slides-ui/src/components/panels/FillPanel.tsx b/packages/slides-ui/src/components/panels/FillPanel.tsx
index d5bfd63ed7..29cba47a4e 100644
--- a/packages/slides-ui/src/components/panels/FillPanel.tsx
+++ b/packages/slides-ui/src/components/panels/FillPanel.tsx
@@ -18,7 +18,7 @@ import type { Nullable } from '@univerjs/core';
import type { Rect } from '@univerjs/engine-render';
import { ICommandService, LocaleService } from '@univerjs/core';
-import { ColorPicker, DropdownLegacy } from '@univerjs/design';
+import { ColorPicker, Dropdown } from '@univerjs/design';
import { MoreDownSingle, PaintBucket } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
import clsx from 'clsx';
@@ -93,17 +93,14 @@ export default function ArrangePanel(props: IProps) {
</div>
<div className={styles.imageCommonPanelRow}>
<div className={clsx(styles.imageCommonPanelColumn, styles.imageCommonPanelSpan2)}>
- <DropdownLegacy
- align={{
- offset: [0, 18],
- }}
+ <Dropdown
overlay={(
- <section className={styles.slidePanelColorPicker}>
+ <div className="univer-rounded-lg univer-p-4">
<ColorPicker
value="#fff"
onChange={handleChangeColor}
/>
- </section>
+ </div>
)}
>
<a className={styles.uiPluginSheetsBorderPanelButton}>
@@ -112,7 +109,7 @@ export default function ArrangePanel(props: IProps) {
<MoreDownSingle />
</span>
</a>
- </DropdownLegacy>
+ </Dropdown>
</div>
</div>
</div>
diff --git a/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx b/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx
index 2e5b10ffef..25c0017bd6 100644
--- a/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx
+++ b/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx
@@ -18,7 +18,7 @@ import type { IUser, UniverInstanceType } from '@univerjs/core';
import type { IAddCommentCommandParams, IThreadComment, IUpdateCommentCommandParams } from '@univerjs/thread-comment';
import type { IThreadCommentEditorInstance } from '../thread-comment-editor';
import { generateRandomId, ICommandService, LocaleService, UserManagerService } from '@univerjs/core';
-import { DropdownLegacy, Menu, MenuItem, Tooltip } from '@univerjs/design';
+import { Dropdown, Tooltip } from '@univerjs/design';
import { DeleteSingle, MoreHorizontalSingle, ReplyToCommentSingle, ResolvedSingle, SolveSingle } from '@univerjs/icons';
import { AddCommentCommand, DeleteCommentCommand, DeleteCommentTreeCommand, getDT, ResolveCommentCommand, ThreadCommentModel, UpdateCommentCommand } from '@univerjs/thread-comment';
import { useDependency, useObservable } from '@univerjs/ui';
@@ -118,18 +118,40 @@ const ThreadCommentItem = (props: IThreadCommentItemProps) => {
)}
{isCommentBySelf && !isMock && !resolved
? (
- <DropdownLegacy
+ <Dropdown
overlay={(
- <Menu>
- <MenuItem key="edit" onClick={() => onEditingChange?.(true)}>{localeService.t('threadCommentUI.item.edit')}</MenuItem>
- <MenuItem key="delete" onClick={handleDeleteItem}>{localeService.t('threadCommentUI.item.delete')}</MenuItem>
- </Menu>
+ <div className="univer-rounded-lg univer-p-4 univer-theme">
+ <ul
+ className={`
+ univer-m-0 univer-grid univer-list-none univer-gap-2 univer-p-0
+ univer-text-sm
+ [&_a]:univer-cursor-pointer [&_a]:univer-rounded [&_a]:univer-p-1
+ `}
+ >
+ <li>
+ <a
+ className="hover:univer-bg-gray-200"
+ onClick={() => onEditingChange?.(true)}
+ >
+ {localeService.t('threadCommentUI.item.edit')}
+ </a>
+ </li>
+ <li>
+ <a
+ className="hover:univer-bg-gray-200"
+ onClick={handleDeleteItem}
+ >
+ {localeService.t('threadCommentUI.item.delete')}
+ </a>
+ </li>
+ </ul>
+ </div>
)}
>
<div className={styles.threadCommentIcon}>
<MoreHorizontalSingle />
</div>
- </DropdownLegacy>
+ </Dropdown>
)
: null}
</div>
diff --git a/packages/ui/src/components/hooks/layout.ts b/packages/ui/src/components/hooks/layout.ts
index 687e6d56ae..e7bec4cfed 100644
--- a/packages/ui/src/components/hooks/layout.ts
+++ b/packages/ui/src/components/hooks/layout.ts
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-import canUseDom from 'rc-util/lib/Dom/canUseDom';
-import { useEffect } from 'react';
-
import type { Nullable } from '@univerjs/core';
import { resizeObserverCtor } from '@univerjs/design';
+
+import canUseDom from 'rc-util/lib/Dom/canUseDom';
+import { useEffect } from 'react';
import { useEvent } from './event';
/**
* These hooks are used for browser layout
@@ -40,12 +40,12 @@ export function useScrollYOverContainer(element: Nullable<HTMLElement>, containe
const elStyle = element.style;
const elRect = element.getBoundingClientRect();
- const { y } = elRect;
+ const { y, height } = elRect;
const containerRect = container.getBoundingClientRect();
- const scrolled = element.scrollHeight > elRect.height;
+ const scrolled = element.scrollHeight > height;
- const isOverViewport = y < 0 || (y + elRect.height > containerRect.height);
+ const isOverViewport = y < 0 || (y + height > containerRect.height);
if (!isOverViewport && !scrolled) {
elStyle.overflowY = '';
@@ -54,7 +54,7 @@ export function useScrollYOverContainer(element: Nullable<HTMLElement>, containe
}
if (isOverViewport) {
- elStyle.overflowY = 'scroll';
+ elStyle.overflowY = 'auto';
elStyle.maxHeight = y < 0 ? `${element.scrollHeight + y}px` : `${containerRect.height - y}px`;
}
});
diff --git a/packages/ui/src/components/index.ts b/packages/ui/src/components/index.ts
index 3659579047..cf44ee89f0 100644
--- a/packages/ui/src/components/index.ts
+++ b/packages/ui/src/components/index.ts
@@ -18,3 +18,4 @@ export * from './custom-label';
export * from './font-family';
export * from './font-size';
export { useScrollYOverContainer } from './hooks/layout';
+export { type ISliderProps, Slider } from './slider';
diff --git a/packages/ui/src/components/menu/desktop/Menu.tsx b/packages/ui/src/components/menu/desktop/Menu.tsx
index 3087484fd3..ac352cb1f5 100644
--- a/packages/ui/src/components/menu/desktop/Menu.tsx
+++ b/packages/ui/src/components/menu/desktop/Menu.tsx
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+import type {
+ MenuRef } from '@univerjs/design';
import type {
IDisplayMenuItem,
IMenuButtonItem,
@@ -186,9 +188,15 @@ export const Menu = (props: IBaseMenuProps) => {
useScrollYOverContainer(overViewport === 'scroll' ? menuEl : null, layoutService.rootContainerElement);
+ function handleSetMenuEl(ref: MenuRef | null) {
+ if (ref) {
+ setMenuEl(ref.list);
+ }
+ }
+
return (
<DesignMenu
- ref={(ref) => ref?.list && setMenuEl(ref.list)}
+ ref={handleSetMenuEl}
selectable={false}
>
<MenuOptionsWrapper {...restProps} />
diff --git a/packages/ui/src/components/notification/Notification.stories.tsx b/packages/ui/src/components/notification/Notification.stories.tsx
index 22fa3db772..49a3056739 100644
--- a/packages/ui/src/components/notification/Notification.stories.tsx
+++ b/packages/ui/src/components/notification/Notification.stories.tsx
@@ -16,7 +16,6 @@
import type { Meta } from '@storybook/react';
import { Button } from '@univerjs/design';
-import React from 'react';
import { Notification, notification } from './Notification';
diff --git a/packages/design/src/components/slider/Slider.stories.tsx b/packages/ui/src/components/slider/Slider.stories.tsx
similarity index 100%
rename from packages/design/src/components/slider/Slider.stories.tsx
rename to packages/ui/src/components/slider/Slider.stories.tsx
diff --git a/packages/design/src/components/slider/Slider.tsx b/packages/ui/src/components/slider/Slider.tsx
similarity index 74%
rename from packages/design/src/components/slider/Slider.tsx
rename to packages/ui/src/components/slider/Slider.tsx
index afab59e49a..b48e57231d 100644
--- a/packages/design/src/components/slider/Slider.tsx
+++ b/packages/ui/src/components/slider/Slider.tsx
@@ -14,16 +14,11 @@
* limitations under the License.
*/
+import { LocaleService } from '@univerjs/core';
+import { Button, clsx, Dropdown, Tooltip } from '@univerjs/design';
import { CheckMarkSingle, IncreaseSingle, ReduceSingle } from '@univerjs/icons';
-import clsx from 'clsx';
-import React, { useContext, useMemo, useRef } from 'react';
-
-import { Button } from '../button/Button';
-import { ConfigContext } from '../config-provider/ConfigProvider';
-import { DropdownOverlay } from '../dropdown/DropdownOverlay';
-import { DropdownProvider } from '../dropdown/DropdownProvider';
-import { DropdownTrigger } from '../dropdown/DropdownTrigger';
-import { Tooltip } from '../tooltip/Tooltip';
+import { useDependency } from '@wendellhu/redi/react-bindings';
+import React, { useMemo, useRef, useState } from 'react';
import styles from './index.module.less';
export interface ISliderProps {
@@ -65,11 +60,12 @@ export interface ISliderProps {
* Slider Component
*/
export function Slider(props: ISliderProps) {
+ const localeService = useDependency(LocaleService);
+
const { value, min = 0, max = 400, disabled = false, resetPoint = 100, shortcuts, onChange } = props;
const sliderInnerRailRef = useRef<HTMLDivElement>(null);
-
- const { locale } = useContext(ConfigContext);
+ const [zoomListVisible, setZoomListVisible] = useState(false);
function handleReset() {
if (disabled) return;
@@ -147,6 +143,13 @@ export function Slider(props: ISliderProps) {
window.addEventListener('pointerout', onMouseOut);
}
+ function handleSelectZoomLevel(value: number) {
+ if (disabled) return;
+
+ setZoomListVisible(false);
+ onChange && onChange(value);
+ }
+
return (
<div
className={clsx(styles.slider, {
@@ -159,13 +162,13 @@ export function Slider(props: ISliderProps) {
<div className={styles.sliderRail}>
<div ref={sliderInnerRailRef} role="track" className={styles.sliderInnerRail}>
- <Tooltip title={`${locale?.Slider.resetTo} ${resetPoint}%`} placement="top" asChild>
+ <Tooltip title={`${localeService.t('zoom-slider.resetTo')} ${resetPoint}%`} placement="top" asChild>
<a
key="reset-button"
className={`
- univer-cursor-pointer univer-absolute univer-left-1/2 univer-top-1/2
- -univer-translate-x-1/2 -univer-translate-y-1/2 univer-box-border univer-w-0.5
- univer-h-0.5 univer-bg-white univer-rounded-full univer-block
+ univer-absolute univer-left-1/2 univer-top-1/2 univer-box-border univer-block univer-h-0.5
+ univer-w-0.5 -univer-translate-x-1/2 -univer-translate-y-1/2 univer-cursor-pointer
+ univer-rounded-full univer-bg-white
`}
role="button"
onClick={handleReset}
@@ -187,44 +190,32 @@ export function Slider(props: ISliderProps) {
<IncreaseSingle />
</Button>
- <DropdownProvider>
- <DropdownTrigger>
- <a
- className={`
- univer-text-gray-800 univer-h-7 univer-text-sm univer-flex univer-items-center
- univer-cursor-pointer univer-rounded univer-transition-all univer-w-[55px]
- univer-justify-center
- hover:univer-bg-gray-100
- `}
- >
- {value}
- %
- </a>
- </DropdownTrigger>
- <DropdownOverlay offset={{ y: -20 }}>
+ <Dropdown
+ align="end"
+ overlay={(
<div
className={`
- univer-gap-1 univer-items-center univer-w-32 univer-p-2 univer-text-sm univer-text-gray-800
- univer-box-border univer-grid
+ univer-box-border univer-grid univer-w-32 univer-items-center univer-gap-1 univer-p-2
+ univer-text-sm univer-text-gray-800
`}
>
{shortcuts?.map((item) => (
<a
key={item}
className={clsx(`
- univer-cursor-pointer univer-rounded-md univer-transition-colors univer-duration-200
- univer-px-2 univer-py-1 univer-relative univer-text-center
+ univer-relative univer-cursor-pointer univer-rounded-md univer-px-2 univer-py-1
+ univer-text-center univer-transition-colors univer-duration-200
hover:univer-bg-gray-100
`, {
'univer-bg-gray-100': item === value,
})}
- onClick={() => onChange && onChange(item)}
+ onClick={() => handleSelectZoomLevel(item)}
>
{item === value && (
<span
className={`
- univer-text-green-500 univer-absolute univer-left-2 univer-top-0 univer-h-full
- univer-items-center univer-flex
+ univer-absolute univer-left-2 univer-top-0 univer-flex univer-h-full
+ univer-items-center univer-text-green-500
`}
>
<CheckMarkSingle />
@@ -237,8 +228,21 @@ export function Slider(props: ISliderProps) {
</a>
))}
</div>
- </DropdownOverlay>
- </DropdownProvider>
+ )}
+ open={zoomListVisible}
+ onOpenChange={setZoomListVisible}
+ >
+ <a
+ className={`
+ univer-flex univer-h-7 univer-w-[55px] univer-cursor-pointer univer-items-center
+ univer-justify-center univer-rounded univer-text-sm univer-text-gray-800 univer-transition-all
+ hover:univer-bg-gray-100
+ `}
+ >
+ {value}
+ %
+ </a>
+ </Dropdown>
</div>
);
}
diff --git a/packages/design/src/components/slider/index.module.less b/packages/ui/src/components/slider/index.module.less
similarity index 100%
rename from packages/design/src/components/slider/index.module.less
rename to packages/ui/src/components/slider/index.module.less
diff --git a/packages/design/src/components/slider/index.ts b/packages/ui/src/components/slider/index.ts
similarity index 100%
rename from packages/design/src/components/slider/index.ts
rename to packages/ui/src/components/slider/index.ts
diff --git a/packages/ui/src/locale/en-US.ts b/packages/ui/src/locale/en-US.ts
index 719bb95844..71df3af619 100644
--- a/packages/ui/src/locale/en-US.ts
+++ b/packages/ui/src/locale/en-US.ts
@@ -76,6 +76,9 @@ const locale: typeof zhCN = {
cancel: 'Cancel',
},
'global-shortcut': 'Global Shortcut',
+ 'zoom-slider': {
+ resetTo: 'Reset to',
+ },
};
export default locale;
diff --git a/packages/ui/src/locale/fa-IR.ts b/packages/ui/src/locale/fa-IR.ts
index 0b8a888edc..d427e78a38 100644
--- a/packages/ui/src/locale/fa-IR.ts
+++ b/packages/ui/src/locale/fa-IR.ts
@@ -76,6 +76,9 @@ const locale: typeof zhCN = {
cancel: 'انصراف',
},
'global-shortcut': 'کلید میانبر جهانی',
+ 'zoom-slider': {
+ resetTo: 'بازنشانی به',
+ },
};
export default locale;
diff --git a/packages/ui/src/locale/fr-FR.ts b/packages/ui/src/locale/fr-FR.ts
index 43ed531163..6051258e48 100644
--- a/packages/ui/src/locale/fr-FR.ts
+++ b/packages/ui/src/locale/fr-FR.ts
@@ -76,6 +76,9 @@ const locale: typeof enUS = {
cancel: 'Annuler',
},
'global-shortcut': 'Raccourci global',
+ 'zoom-slider': {
+ resetTo: 'Réinitialiser à',
+ },
};
export default locale;
diff --git a/packages/ui/src/locale/ru-RU.ts b/packages/ui/src/locale/ru-RU.ts
index 1b7407d8da..787a296e90 100644
--- a/packages/ui/src/locale/ru-RU.ts
+++ b/packages/ui/src/locale/ru-RU.ts
@@ -76,6 +76,9 @@ const locale: typeof zhCN = {
cancel: 'Отменить',
},
'global-shortcut': 'Глобальные ярлыки',
+ 'zoom-slider': {
+ resetTo: 'Сбросить до',
+ },
};
export default locale;
diff --git a/packages/ui/src/locale/vi-VN.ts b/packages/ui/src/locale/vi-VN.ts
index a57bc23179..0ac5812020 100644
--- a/packages/ui/src/locale/vi-VN.ts
+++ b/packages/ui/src/locale/vi-VN.ts
@@ -76,6 +76,9 @@ const locale: typeof zhCN = {
cancel: 'Hủy',
},
'global-shortcut': 'Phím tắt toàn cầu',
+ 'zoom-slider': {
+ resetTo: 'Khôi phục đến',
+ },
};
export default locale;
diff --git a/packages/ui/src/locale/zh-CN.ts b/packages/ui/src/locale/zh-CN.ts
index 699f6eff42..266ce08e56 100644
--- a/packages/ui/src/locale/zh-CN.ts
+++ b/packages/ui/src/locale/zh-CN.ts
@@ -74,6 +74,9 @@ const locale = {
cancel: '取消',
},
'global-shortcut': '全局快捷键',
+ 'zoom-slider': {
+ resetTo: '恢复至',
+ },
};
export default locale;
diff --git a/packages/ui/src/locale/zh-TW.ts b/packages/ui/src/locale/zh-TW.ts
index 375c87b405..b3e2a07035 100644
--- a/packages/ui/src/locale/zh-TW.ts
+++ b/packages/ui/src/locale/zh-TW.ts
@@ -76,6 +76,9 @@ const locale: typeof zhCN = {
cancel: '取消',
},
'global-shortcut': '全域快捷鍵',
+ 'zoom-slider': {
+ resetTo: '恢復至',
+ },
};
export default locale;
diff --git a/packages/ui/src/views/components/ribbon/ToolbarItem.tsx b/packages/ui/src/views/components/ribbon/ToolbarItem.tsx
index be18a41f78..cfa65f4946 100644
--- a/packages/ui/src/views/components/ribbon/ToolbarItem.tsx
+++ b/packages/ui/src/views/components/ribbon/ToolbarItem.tsx
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-import type { IDropdownLegacyProps } from '@univerjs/design';
import type { IDisplayMenuItem, IMenuItem, IMenuSelectorItem, IValueOption } from '../../../services/menu/menu';
import type { ITooltipWrapperRef } from './TooltipButtonWrapper';
import { ICommandService, LocaleService } from '@univerjs/core';
@@ -33,7 +32,7 @@ import { useToolbarItemStatus } from './hook';
import styles from './index.module.less';
import { DropdownWrapper, TooltipWrapper } from './TooltipButtonWrapper';
-export const ToolbarItem = forwardRef<ITooltipWrapperRef, IDisplayMenuItem<IMenuItem> & { align?: IDropdownLegacyProps['align'] }>((props, ref) => {
+export const ToolbarItem = forwardRef<ITooltipWrapperRef, IDisplayMenuItem<IMenuItem>>((props, ref) => {
const localeService = useDependency(LocaleService);
const commandService = useDependency(ICommandService);
const layoutService = useDependency(ILayoutService);
@@ -136,10 +135,8 @@ export const ToolbarItem = forwardRef<ITooltipWrapperRef, IDisplayMenuItem<IMenu
<DropdownWrapper
disabled={disabled}
- offset={{ x: -24 }}
overlay={(
<Menu
- overViewport="scroll"
menuType={id}
options={options}
onOptionSelect={handleSelect}
diff --git a/packages/ui/src/views/components/ribbon/TooltipButtonWrapper.tsx b/packages/ui/src/views/components/ribbon/TooltipButtonWrapper.tsx
index 36a0c1c1d8..23e577c599 100644
--- a/packages/ui/src/views/components/ribbon/TooltipButtonWrapper.tsx
+++ b/packages/ui/src/views/components/ribbon/TooltipButtonWrapper.tsx
@@ -14,9 +14,10 @@
* limitations under the License.
*/
-import type { IDropdownOverlayProps, ITooltipProps } from '@univerjs/design';
-import { DropdownOverlay, DropdownProvider, DropdownTrigger, Tooltip } from '@univerjs/design';
-import React, { createContext, forwardRef, useContext, useImperativeHandle, useMemo, useRef, useState } from 'react';
+import type { ITooltipProps } from '@univerjs/design';
+import type { ReactNode } from 'react';
+import { Dropdown, Tooltip } from '@univerjs/design';
+import { createContext, forwardRef, useContext, useImperativeHandle, useMemo, useRef, useState } from 'react';
const TooltipWrapperContext = createContext({
dropdownVisible: false,
@@ -72,7 +73,7 @@ export const TooltipWrapper = forwardRef<ITooltipWrapperRef, ITooltipProps>((pro
);
});
-export function DropdownWrapper({ children, overlay, disabled, offset }: IDropdownOverlayProps & { overlay: React.ReactNode; disabled?: boolean }) {
+export function DropdownWrapper({ children, overlay, disabled }: { children: ReactNode; overlay: ReactNode; disabled?: boolean }) {
const { setDropdownVisible } = useContext(TooltipWrapperContext);
function handleVisibleChange(visible: boolean) {
@@ -80,18 +81,19 @@ export function DropdownWrapper({ children, overlay, disabled, offset }: IDropdo
}
return (
- <DropdownProvider disabled={disabled} onVisibleChange={handleVisibleChange}>
- <DropdownTrigger>
- <div className="univer-h-full" onClick={(e) => e.stopPropagation()}>
- {children}
- </div>
- </DropdownTrigger>
- <DropdownOverlay offset={offset}>
- {/* TODO: When the new Menu Component is ready, plz remove the univer-theme class */}
+ <Dropdown
+ align="start"
+ overlay={(
<div className="univer-grid univer-gap-2 univer-theme">
{overlay}
</div>
- </DropdownOverlay>
- </DropdownProvider>
+ )}
+ disabled={disabled}
+ onOpenChange={handleVisibleChange}
+ >
+ <div className="univer-h-full" onClick={(e) => e.stopPropagation()}>
+ {children}
+ </div>
+ </Dropdown>
);
}
diff --git a/packages/ui/src/views/components/sidebar/Sidebar.tsx b/packages/ui/src/views/components/sidebar/Sidebar.tsx
index afbbac2f39..8f26cade4c 100644
--- a/packages/ui/src/views/components/sidebar/Sidebar.tsx
+++ b/packages/ui/src/views/components/sidebar/Sidebar.tsx
@@ -15,8 +15,8 @@
*/
import type { ISidebarMethodOptions } from './interface';
+import { clsx } from '@univerjs/design';
import { CloseSingle } from '@univerjs/icons';
-import clsx from 'clsx';
import React, { useEffect, useMemo, useRef } from 'react';
import { CustomLabel } from '../../../components/custom-label/CustomLabel';
import { ISidebarService } from '../../../services/sidebar/sidebar.service';
@@ -111,7 +111,7 @@ export function Sidebar() {
</a>
</header>
- <section className={styles.sidebarBody} style={options?.bodyStyle}>{options?.children}</section>
+ <section className={clsx(styles.sidebarBody, 'univer-py-1')} style={options?.bodyStyle}>{options?.children}</section>
{options?.footer && <footer className={styles.sidebarFooter}>{options.footer}</footer>}
</section>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index afc7aadc93..134d47a639 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,16 +16,16 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: 4.3.0
'@commitlint/cli':
specifier: ^19.7.1
- version: 19.7.1(@types/[email protected])([email protected])
+ version: 19.7.1(@types/[email protected])([email protected])
'@commitlint/config-conventional':
specifier: ^19.7.1
version: 19.7.1
'@eslint-react/eslint-plugin':
- specifier: ^1.26.2
+ specifier: ^1.27.0
'@playwright/test':
specifier: ^1.50.1
version: 1.50.1
@@ -39,8 +39,8 @@ importers:
specifier: 8.5.8
'@types/node':
- specifier: ^22.13.4
- version: 22.13.4
+ specifier: ^22.13.5
+ version: 22.13.5
'@types/react':
specifier: ^19.0.8
version: 19.0.8
@@ -55,34 +55,34 @@ importers:
version: link:packages/design
'@vitejs/plugin-react':
specifier: ^4.3.4
eslint:
- specifier: 9.20.1
- version: 9.20.1([email protected])
+ specifier: 9.21.0
+ version: 9.21.0([email protected])
eslint-plugin-format:
specifier: ^1.0.1
eslint-plugin-header:
specifier: ^3.1.1
eslint-plugin-jsdoc:
specifier: ^50.6.3
eslint-plugin-no-barrel-import:
specifier: ^0.0.2
eslint-plugin-no-penetrating-import:
specifier: ^0.0.1
eslint-plugin-react:
specifier: ^7.37.4
eslint-plugin-react-hooks:
specifier: 5.1.0
eslint-plugin-react-refresh:
specifier: ^0.4.19
husky:
specifier: ^9.1.7
version: 9.1.7
@@ -102,8 +102,8 @@ importers:
specifier: ^14.2.4
version: 14.2.4
tsx:
- specifier: ^4.19.2
- version: 4.19.2
+ specifier: ^4.19.3
+ version: 4.19.3
turbo:
specifier: ^2.4.2
version: 2.4.2
@@ -112,28 +112,28 @@ importers:
version: 5.7.3
vitest:
specifier: ^3.0.6
common/shared:
dependencies:
'@typescript-eslint/parser':
specifier: ^8.24.1
'@vitejs/plugin-react':
specifier: ^4.3.4
'@vitejs/plugin-vue':
specifier: ^5.2.1
'@vitest/coverage-istanbul':
specifier: ^3.0.6
autoprefixer:
specifier: ^10.4.20
version: 10.4.20([email protected])
eslint-plugin-readable-tailwind:
specifier: ^1.9.0
fs-extra:
specifier: ^11.3.0
version: 11.3.0
@@ -157,16 +157,16 @@ importers:
version: 3.4.17
vite:
specifier: ^6.1.1
vite-plugin-dts:
specifier: ^4.5.0
vite-plugin-external:
specifier: ^6.0.0
version: 6.0.0
vitest:
specifier: ^3.0.6
devDependencies:
'@types/fs-extra':
specifier: ^11.0.4
@@ -179,7 +179,7 @@ importers:
version: 0.2.20
'@univerjs/protocol':
specifier: 0.1.43
- version: 0.1.43(@grpc/[email protected])([email protected])
+ version: 0.1.43(@grpc/[email protected])([email protected])
common/storybook:
dependencies:
@@ -197,10 +197,10 @@ importers:
'@storybook/addon-styling-webpack':
specifier: ^1.0.1
'@storybook/addon-webpack5-compiler-swc':
- specifier: ^1.0.5
+ specifier: ^2.1.0
'@storybook/blocks':
specifier: ^8.5.8
@@ -212,7 +212,7 @@ importers:
'@storybook/react-webpack5':
specifier: ^8.5.8
'@storybook/types':
specifier: ^8.5.8
@@ -227,22 +227,22 @@ importers:
version: link:../../packages/ui
css-loader:
specifier: ^7.1.2
less-loader:
specifier: ^12.2.0
postcss-loader:
specifier: ^8.1.1
storybook:
specifier: ^8.5.8
version: 8.5.8([email protected])
storybook-addon-swc:
specifier: ^1.2.0
style-loader:
specifier: ^4.0.0
tsconfig-paths-webpack-plugin:
specifier: ^4.2.0
version: 4.2.0
@@ -322,6 +322,9 @@ importers:
'@univerjs/find-replace':
specifier: workspace:*
version: link:../packages/find-replace
+ '@univerjs/icons':
+ specifier: 0.2.20
'@univerjs/mockdata':
specifier: workspace:*
version: link:../mockdata
@@ -453,7 +456,7 @@ importers:
version: 19.0.0([email protected])
react-mosaic-component:
specifier: ^6.1.1
devDependencies:
'@types/fs-extra':
specifier: ^11.0.4
@@ -468,14 +471,14 @@ importers:
specifier: ^2.1.0
version: 2.1.0
esbuild:
- specifier: ^0.24.2
- version: 0.24.2
+ specifier: ^0.25.0
+ version: 0.25.0
esbuild-plugin-clean:
specifier: ^1.0.1
- version: 1.0.1([email protected])
+ version: 1.0.1([email protected])
esbuild-plugin-copy:
specifier: ^2.1.1
- version: 2.1.1([email protected])
+ version: 2.1.1([email protected])
esbuild-plugin-vue3:
specifier: ^0.4.2
@@ -612,10 +615,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages-experimental/debugger:
dependencies:
@@ -673,10 +676,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
optionalDependencies:
vue:
specifier: '>=3.0.0'
@@ -702,10 +705,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages-experimental/uni-docs-ui:
dependencies:
@@ -751,10 +754,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages-experimental/uni-formula:
dependencies:
@@ -773,10 +776,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages-experimental/uni-formula-ui:
dependencies:
@@ -837,10 +840,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages-experimental/uni-sheets-ui:
dependencies:
@@ -898,10 +901,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages-experimental/uni-slides-ui:
dependencies:
@@ -950,10 +953,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages-experimental/uniui:
dependencies:
@@ -1017,10 +1020,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/core:
dependencies:
@@ -1043,8 +1046,8 @@ importers:
specifier: ^4.17.21
version: 4.17.21
nanoid:
- specifier: 5.0.9
- version: 5.0.9
+ specifier: 5.1.0
+ version: 5.1.0
numeral:
specifier: ^2.0.6
version: 2.0.6
@@ -1078,10 +1081,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/data-validation:
dependencies:
@@ -1106,13 +1109,16 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/design:
dependencies:
+ '@radix-ui/react-popover':
+ specifier: ^1.1.6
'@rc-component/color-picker':
specifier: ^2.0.1
@@ -1212,10 +1218,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/docs:
dependencies:
@@ -1237,10 +1243,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/docs-drawing:
dependencies:
@@ -1259,10 +1265,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/docs-drawing-ui:
dependencies:
@@ -1323,10 +1329,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/docs-hyper-link:
dependencies:
@@ -1345,10 +1351,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/docs-hyper-link-ui:
dependencies:
@@ -1400,10 +1406,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/docs-mention-ui:
dependencies:
@@ -1446,10 +1452,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/docs-thread-comment-ui:
dependencies:
@@ -1501,10 +1507,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/docs-ui:
dependencies:
@@ -1559,10 +1565,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/drawing:
dependencies:
@@ -1584,10 +1590,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/drawing-ui:
dependencies:
@@ -1636,10 +1642,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/engine-formula:
dependencies:
@@ -1673,10 +1679,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/engine-numfmt:
devDependencies:
@@ -1688,10 +1694,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/engine-render:
dependencies:
@@ -1728,10 +1734,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/facade:
dependencies:
@@ -1816,10 +1822,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/find-replace:
dependencies:
@@ -1862,10 +1868,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/network:
dependencies:
@@ -1884,10 +1890,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/rpc:
dependencies:
@@ -1906,10 +1912,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/rpc-node:
dependencies:
@@ -1931,10 +1937,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets:
dependencies:
@@ -1965,10 +1971,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-conditional-formatting:
dependencies:
@@ -1989,8 +1995,8 @@ importers:
specifier: workspace:*
version: link:../../common/shared
'@univerjs/icons-svg':
- specifier: ^0.2.15
- version: 0.2.15
+ specifier: ^0.2.20
+ version: 0.2.20
rxjs:
specifier: ^7.8.1
version: 7.8.1
@@ -1999,10 +2005,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-conditional-formatting-ui:
dependencies:
@@ -2075,10 +2081,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-crosshair-highlight:
dependencies:
@@ -2127,10 +2133,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-data-validation:
dependencies:
@@ -2167,10 +2173,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-data-validation-ui:
dependencies:
@@ -2243,10 +2249,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-drawing:
dependencies:
@@ -2268,10 +2274,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-drawing-ui:
dependencies:
@@ -2338,10 +2344,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-filter:
dependencies:
@@ -2363,10 +2369,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-filter-ui:
dependencies:
@@ -2427,10 +2433,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-find-replace:
dependencies:
@@ -2461,10 +2467,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-formula:
dependencies:
@@ -2495,10 +2501,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-formula-ui:
dependencies:
@@ -2562,10 +2568,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-graphics:
dependencies:
@@ -2587,10 +2593,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-hyper-link:
dependencies:
@@ -2621,10 +2627,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-hyper-link-ui:
dependencies:
@@ -2691,10 +2697,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-numfmt:
dependencies:
@@ -2722,10 +2728,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-numfmt-ui:
dependencies:
@@ -2783,10 +2789,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-sort:
dependencies:
@@ -2808,10 +2814,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-sort-ui:
dependencies:
@@ -2869,10 +2875,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-thread-comment:
dependencies:
@@ -2900,10 +2906,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-thread-comment-ui:
dependencies:
@@ -2961,10 +2967,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-ui:
dependencies:
@@ -3031,10 +3037,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/sheets-zen-editor:
dependencies:
@@ -3089,10 +3095,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/slides:
dependencies:
@@ -3111,10 +3117,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/slides-ui:
dependencies:
@@ -3172,10 +3178,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/telemetry:
dependencies:
@@ -3191,10 +3197,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/thread-comment:
dependencies:
@@ -3216,10 +3222,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/thread-comment-ui:
dependencies:
@@ -3268,10 +3274,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/ui:
dependencies:
@@ -3332,10 +3338,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
optionalDependencies:
vue:
specifier: '>=3.0.0'
@@ -3385,10 +3391,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
packages/watermark:
dependencies:
@@ -3413,10 +3419,10 @@ importers:
version: 5.7.3
vite:
specifier: ^6.1.1
vitest:
specifier: ^3.0.6
tests/formula-integration:
dependencies:
@@ -3465,7 +3471,7 @@ importers:
version: 5.7.3
vitest:
specifier: ^3.0.6
packages:
@@ -4073,12 +4079,6 @@ packages:
resolution: {integrity: sha512-+zZymuVLH6zVwXPtCAtC+bDymxmEwEqDftdAK+f407IF1bnX49anIxvBhCA1AqUIfD6egj1jM1vUnSuijjNyYg==}
engines: {node: '>=18'}
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [aix]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==}
engines: {node: '>=18'}
@@ -4091,12 +4091,6 @@ packages:
cpu: [ppc64]
os: [aix]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==}
engines: {node: '>=18'}
@@ -4109,12 +4103,6 @@ packages:
cpu: [arm64]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==}
engines: {node: '>=18'}
@@ -4127,12 +4115,6 @@ packages:
cpu: [arm]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [android]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==}
engines: {node: '>=18'}
@@ -4145,12 +4127,6 @@ packages:
cpu: [x64]
os: [android]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [darwin]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==}
engines: {node: '>=18'}
@@ -4163,12 +4139,6 @@ packages:
cpu: [arm64]
os: [darwin]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [darwin]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==}
engines: {node: '>=18'}
@@ -4181,12 +4151,6 @@ packages:
cpu: [x64]
os: [darwin]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [freebsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==}
engines: {node: '>=18'}
@@ -4199,12 +4163,6 @@ packages:
cpu: [arm64]
os: [freebsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [freebsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==}
engines: {node: '>=18'}
@@ -4217,12 +4175,6 @@ packages:
cpu: [x64]
os: [freebsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==}
engines: {node: '>=18'}
@@ -4235,12 +4187,6 @@ packages:
cpu: [arm64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==}
- engines: {node: '>=18'}
- cpu: [arm]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==}
engines: {node: '>=18'}
@@ -4253,12 +4199,6 @@ packages:
cpu: [arm]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==}
engines: {node: '>=18'}
@@ -4277,12 +4217,6 @@ packages:
cpu: [loong64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==}
- engines: {node: '>=18'}
- cpu: [loong64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==}
engines: {node: '>=18'}
@@ -4295,12 +4229,6 @@ packages:
cpu: [loong64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==}
- engines: {node: '>=18'}
- cpu: [mips64el]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==}
engines: {node: '>=18'}
@@ -4313,12 +4241,6 @@ packages:
cpu: [mips64el]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==}
- engines: {node: '>=18'}
- cpu: [ppc64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==}
engines: {node: '>=18'}
@@ -4331,12 +4253,6 @@ packages:
cpu: [ppc64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==}
- engines: {node: '>=18'}
- cpu: [riscv64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==}
engines: {node: '>=18'}
@@ -4349,12 +4265,6 @@ packages:
cpu: [riscv64]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==}
- engines: {node: '>=18'}
- cpu: [s390x]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==}
engines: {node: '>=18'}
@@ -4367,12 +4277,6 @@ packages:
cpu: [s390x]
os: [linux]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [linux]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==}
engines: {node: '>=18'}
@@ -4397,12 +4301,6 @@ packages:
cpu: [arm64]
os: [netbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [netbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==}
engines: {node: '>=18'}
@@ -4415,12 +4313,6 @@ packages:
cpu: [x64]
os: [netbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [openbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==}
engines: {node: '>=18'}
@@ -4433,12 +4325,6 @@ packages:
cpu: [arm64]
os: [openbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [openbsd]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==}
engines: {node: '>=18'}
@@ -4451,12 +4337,6 @@ packages:
cpu: [x64]
os: [openbsd]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [sunos]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==}
engines: {node: '>=18'}
@@ -4469,12 +4349,6 @@ packages:
cpu: [x64]
os: [sunos]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==}
- engines: {node: '>=18'}
- cpu: [arm64]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==}
engines: {node: '>=18'}
@@ -4487,12 +4361,6 @@ packages:
cpu: [arm64]
os: [win32]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==}
- engines: {node: '>=18'}
- cpu: [ia32]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==}
engines: {node: '>=18'}
@@ -4505,12 +4373,6 @@ packages:
cpu: [ia32]
os: [win32]
- '@esbuild/[email protected]':
- resolution: {integrity: sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==}
- engines: {node: '>=18'}
- cpu: [x64]
- os: [win32]
-
'@esbuild/[email protected]':
resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==}
engines: {node: '>=18'}
@@ -4539,20 +4401,20 @@ packages:
resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-WuljGOJaaiehGkW0aAyuCZIGKfcv/Q1fSl4rvlfWohIDgpp5MFIkBa56drR75WUdNKrrUb3JirnVGIAhegUBIA==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-nX+dkD2inurB6ocPisl4WlUj6VEHdNuNrKQGRgq/neQz8kd75k9ndh8HLR2BDDFHo0RKzHU+1FwI7HfylTMzNw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-2mB5hZBL6XmOjDNL3o0h/qHQHuzxGQGYtQQHjD0Yddhde7NU/b4z/oxtrzEInc6Lk2Ry7Rhqi4S49EpwKXWJlQ==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-4vLYbYV5VY4eOPXRIhGp+adQwyO5NUJzfNd5dhyFqw1ayyUUoU+jaFLUQscolrzPZlEKgryMR0bOKoGs1+gBkQ==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-7ttz+DPNZl+cHdR5PwU9/ff95VHZmo10icGVX34HyRktJuU2boinWzib5KRg6V1jVwgWuzdvULNXyBd5NVMhhg==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-syTXC5fdZhqpF0DLjjWAE260a0g7eMT8PFo+PzRdS8yP0d+o7mBKrZu9ArSmlQtU1uDruT/9k+kuHKDZ6mmIYw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-nTfR32jTLChc0RXKbks2Gf6seMYeqiCGj0qYq+yOmEn/XhcDWVQj86SHIJLFPwvH3LSwDUSgiQzdW9jn/rNv3A==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-kFXp7xvvh4ogLljI0H8c2HYOtdd+isRIyX98BZnUh+x9wO6FXWd3Hds9F8ofcQoJu+k9YFckMnivjGfjUvyq0w==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -4561,16 +4423,16 @@ packages:
typescript:
optional: true
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-lldo9Sd/tZslBN8X7/ZAZXY7UccZZYctrNAoeR8DFMFWLxzvooykixLOl5YkRCWm4uaSmq3r3VNFZ35N2wcbyQ==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-Cs3TRjfgxRDaE3rFFYPdL4dZLHqxSnJ4DN5OgeuQEAX1SGiGF8jqKdsLz8axbFSOdID71FFITcG8POrGgm4CSg==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-q/xrNkFe8sHAPjaAuvqyCl3Ls5ly9cfUpAfhAgxYtArNAtIZHvuwu0zrwoHMYk0ZpZi+VlQYwUCtKX8axPXoTw==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-yy5CG8kw2aWCpy7qZD9pjkU0B28H+dw+pG+RF/jAnAFfvLDN6VqgBp3RGy90eduyq4cUQ/tgJKqqjJaSxLTxMw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-9abwhGTd4DBxOy5jVF0CnjEYDiRTXg4cbbAulZ+MVqE03KZDWNAVYYEYI5e+YTOcyJbGYY/zPEYmB+c+cUEiyw==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-Rev0TxLjcwxXno5ej+8iVVOeOM+yAiQ0e+i2/uISNHB1Uj8d7uQzI7bOZpI44Th50StaelDuPoxueBAp/bXemA==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
'@eslint/[email protected]':
@@ -4594,12 +4456,16 @@ packages:
resolution: {integrity: sha512-DWUB2pksgNEb6Bz2fggIy1wh6fGgZP4Xyy/Mt0QZPiloKKXerbqq9D3SBQTlCRYOrcRPu4vuz+CGjwdfqxnoWA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-cmrR6pytBuSMTaBweKoGMwu3EiHiEC+DoyupPmlZ0HxBJBtIxwe+j/E4XPIKNx+Q74c8lXKPwYawBf5glsTkHg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-yaVPAiNAalnCZedKLdR21GOGILMLKPyqSLWaAjQFvYA2i/ciDi8ArYVr69Anohb6cH2Ukhqti4aFnYyPm8wdwQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-iZA07H9io9Wn836aVTytRaNqh00Sad+EamwOVJT12GTLw1VGMFV/4JaME+JjLtr9fiGaoWgYnS54wrfWsSs4oQ==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-BqStZ3HX8Yz6LvsF5ByXYrtigrV5AXADWLAGc7PH/1SxOb7/FIYYMszZZWiUou/GB9P2lXWk2SV4d+Z8h0nknw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/[email protected]':
@@ -4614,6 +4480,10 @@ packages:
resolution: {integrity: sha512-+0TjwR1eAUdZtvv/ir1mGX+v0tUoR3VEPB8Up0LLJC+whRW0GgBBtpbOkg/a/U4Dxa6l5a3l9AJ1aWIQVyoWJA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-JubJ5B2pJ4k4yGxaNLdbjrnk9d/iDz6/q8wOilpIowd6PJPgaxCuHBnBszq7Ce2TyMrywm5r4PnKm6V3iiZF+g==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@flatten-js/[email protected]':
resolution: {integrity: sha512-xhFWUBoHJFF77cJO1D6REjdgJEMRf2Y2Z+eKEPav8evGKcLSnj1ud5pLXQSbGuxF3VSvT1rWhMfVpXEKJLTL+A==}
@@ -4854,6 +4724,215 @@ packages:
'@protobufjs/[email protected]':
resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-SJ31y+Q/zAyShtXJc8x83i9TYdbAfHZ++tUZnvjJJqFjzsdUnKsxPL6IEtBlxKkU7yzer//GQtZSV4GbldL3YA==}
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-G+KcpzXHq24iH0uGG/pF8LyzpFJYGD4RfLjCIBfGdSLXvjLHST31RUiRVrupIBMvIppMgSzQ6l66iAxl03tdlg==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-Y9VzoRDSJtgFMUCoiZBDVo084VQ5hfpXxVE+NgkdNsjiDBByiImMZKKhxMwCbdHvhlENG6a833CbFkOQvTricw==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-E4TywXY6UsXNRhFrECa5HAvE5/4BFcGyfTyK36gP+pAW1ed7UTK4vKwdr53gAJYwqbfCWC6ATvJa3J3R/9+Qrg==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-zxwE80FCU7lcXUGWkdt6XpTTCKPitG1XKOwViTxHVKIJhZl9MvIl2dVHeZENCWD9+EdWv05wlaEkRXUykU27RA==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-NQouW0x4/GnkFJ/pRqsIS3rM/k97VzKnVb2jB7Gq7VEGPy5g7uNV1ykySFt7eWSp3i2uSGFwaJcvIRJBAHmmFg==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-Rvqc3nOpwseCyj/rgjlJDYAgyfw7OC1tTkKn2ivhaMGcYt8FSBlahHOZak2i3QwkRXUXgGgzeEe2RuqeEHuHgA==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-sn2O9k1rPFYVyKd5LAJfo96JlSGVFpa1fS6UuBJfrZadudiw5tAmru+n1x7aMRQ84qDM71Zh1+SzK5QwU0tJfA==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-18TFr80t5EVgL9x1SwF/YGtfG+l0BS0PRAlCWBDoBEiDQjeKgnNZRVJp/oVBl24sr3Gbfwc/Qpj4OcWTQMsAEg==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-Ec/0d38EIuvDF+GZjcMU/Ze6MxntVJYO/fRlCPhCaVUyPY9WTalHJw54tp9sXeJo3tlShWpy41vQRgLRGOuz+w==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ '@types/react-dom': ^19.0.3
+ react: 19.0.0
+ react-dom: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ '@types/react-dom':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-YAKxaiGsSQJ38VzKH86/BPRC4rh+b1Jpa+JneA5LRE7skmLPNAyeG8kPJj/oo4STLvlrs8vkf/iYyc3A5stYCQ==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-0Fmkebhr6PiseyZlYAOtLS+nb7jLmpqTrJyv61Pe68MKYW6OWdRE2kI70TaYY27u7H0lajqM3hSMMLFq18Z7nQ==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==}
+
'@rc-component/[email protected]':
resolution: {integrity: sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==}
peerDependencies:
@@ -5098,8 +5177,8 @@ packages:
peerDependencies:
storybook: ^8.5.8
- '@storybook/[email protected]':
- resolution: {integrity: sha512-1NlM3noit2vA22OyWb8Ma2lhcEKCS1Snv2kr+EkaVABUqNDfVc9AD/GgYQhF7F/2CoF5N2JU7uzXDzFHd5TzZg==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-mCzNtuqY8LJqj/2vW12o3S/UujRSBFstxRqhOUErrbbOBRyM6RgcPuvytDdRv1npFi8OaKOIz3SoJBT/EtAN3A==}
engines: {node: '>=18'}
'@storybook/[email protected]':
@@ -5250,68 +5329,68 @@ packages:
peerDependencies:
eslint: '>=9.0.0'
- resolution: {integrity: sha512-Y+bvW9C4/u26DskMbtQKT4FU6QQenaDYkKDi028vDIKAa7v1NZqYG9wmhD/Ih7n5EUy2uJ5I5EWD7WaoLzT6PA==}
+ resolution: {integrity: sha512-FdGqzAIKVQJu8ROlnHElP59XAUsUzCFSNsou+tY/9ba+lhu8R9v0OI5wXiPErrKGZpQFMmx/BPqqhx3X4SuGNg==}
engines: {node: '>=10'}
cpu: [arm64]
os: [darwin]
- resolution: {integrity: sha512-AuIbDlcaAhYS6mtF4UqvXgrLeAfXZbVf4pgtgShPbutF80VbCQiIB55zOFz5aZdCpsBVuCWcBq0zLneK+VQKkQ==}
+ resolution: {integrity: sha512-RZ73gZRituL/ZVLgrW6BYnQ5g8tuStG4cLUiPGJsUZpUm0ullSH6lHFvZTCBNFTfpQChG6eEhi2IdG6DwFp1lw==}
engines: {node: '>=10'}
cpu: [x64]
os: [darwin]
- resolution: {integrity: sha512-99uBPHITRqgGwCXAjHY94VaV3Z40+D2NQNgR1t6xQpO8ZnevI6YSzX6GVZfBnV7+7oisiGkrVEwfIRRa+1s8FA==}
+ resolution: {integrity: sha512-8iJqI3EkxJuuq21UHoen1VS+QlS23RvynRuk95K+Q2HBjygetztCGGEc+Xelx9a0uPkDaaAtFvds4JMDqb9SAA==}
engines: {node: '>=10'}
cpu: [arm]
os: [linux]
- resolution: {integrity: sha512-xHL3Erlz+OGGCG4h6K2HWiR56H5UYMuBWWPbbUufi2bJpfhuKQy/X3vWffwL8ZVfJmCUwr4/G91GHcm32uYzRg==}
+ resolution: {integrity: sha512-8f1kSktWzMB6PG+r8lOlCfXz5E8Qhsmfwonn77T/OfjvGwQaWrcoASh2cdjpk3dydbf8jsKGPQE1lSc7GyjXRQ==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-5ArGdqvFMszNHdi4a67vopeYq8d1K+FuTWDrblHrAvZFhAyv+GQz2PnKqYOgl0sWmQxsNPfNwBFtxACpUO3Jzg==}
+ resolution: {integrity: sha512-4rv+E4VLdgQw6zjbTAauCAEExxChvxMpBUMCiZweTNPKbJJ2dY6BX2WGJ1ea8+RcgqR/Xysj3AFbOz1LBz6dGA==}
engines: {node: '>=10'}
cpu: [arm64]
os: [linux]
- resolution: {integrity: sha512-mSVVV/PFzCGtI1nVQQyx34NwCMgSurF6ZX/me8pUAX054vsE/pSFL66xN+kQOe/1Z/LOd4UmXFkZ/EzOSnYcSg==}
+ resolution: {integrity: sha512-vTNmyRBVP+sZca+vtwygYPGTNudTU6Gl6XhaZZ7cEUTBr8xvSTgEmYXoK/2uzyXpaTUI4Bmtp1x81cGN0mMoLQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-09hY3ZKMUORXVunESKS9yuP78+gQbr759GKHo8wyCdtAx8lCZdEjfI5NtC7/1VqwfeE32/U6u+5MBTVhZTt0AA==}
+ resolution: {integrity: sha512-1TZPReKhFCeX776XaT6wegknfg+g3zODve+r4oslFHI+g7cInfWlxoGNDS3niPKyuafgCdOjme2g3OF+zzxfsQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [linux]
- resolution: {integrity: sha512-B/UDtPI3RlYRFW42xQxOpl6kI/9LtkD7No+XeRIKQTPe15EP2o+rUlv7CmKljVBXgJ8KmaQbZlaEh1YP+QZEEQ==}
+ resolution: {integrity: sha512-o/2CsaWSN3bkzVQ6DA+BiFKSVEYvhWGA1h+wnL2zWmIDs2Knag54sOEXZkCaf8YQyZesGeXJtPEy9hh/vjJgkA==}
engines: {node: '>=10'}
cpu: [arm64]
os: [win32]
- resolution: {integrity: sha512-BgLesVGmIY6Nub/sURqtSRvWYcbCE/ACfuZB3bZHVKD6nsZJJuOpdB8oC41fZPyc8yZUzL3XTBIifkT2RP+w9w==}
+ resolution: {integrity: sha512-eTPASeJtk4mJDfWiYEiOC6OYUi/N7meHbNHcU8e+aKABonhXrIo/FmnTE8vsUtC6+jakT1TQBdiQ8fzJ1kJVwA==}
engines: {node: '>=10'}
cpu: [ia32]
os: [win32]
- resolution: {integrity: sha512-CnF557tidLfQRPczcqDJ8x+LBQYsFa0Ra6w2+YU1iFUboaI2jJVuqt3vEChu80y6JiRIBAaaV2L/GawDJh1dIQ==}
+ resolution: {integrity: sha512-1Dud8CDBnc34wkBOboFBQud9YlV1bcIQtKSg7zC8LtwR3h+XAaCayZPkpGmmAlCv1DLQPvkF+s0JcaVC9mfffQ==}
engines: {node: '>=10'}
cpu: [x64]
os: [win32]
- resolution: {integrity: sha512-qKK0/Ta4qvxs/ok3XyYVPT7OBenwRn1sSINf1cKQTBHPqr7U/uB4k2GTl6JgEs8H4PiJrMTNWfMLTucIoVSfAg==}
+ resolution: {integrity: sha512-IUWKD6uQYGRy8w2X9EZrtYg1O3SCijlHbCXzMaHQYc1X7yjijQh4H3IVL9ssZZyVp2ZDfQZu4bD5DWxxvpyjvg==}
engines: {node: '>=10'}
peerDependencies:
'@swc/helpers': '*'
@@ -5322,8 +5401,8 @@ packages:
resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}
- resolution: {integrity: sha512-wBJA+SdtkbFhHjTMYH+dEH1y4VpfGdAc2Kw/LK09i9bXd/K6j6PkDcFCEzb6iVfZMkPRrl/q0e3toqTAJdkIVA==}
+ resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==}
'@testing-library/[email protected]':
resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==}
@@ -5447,8 +5526,8 @@ packages:
resolution: {integrity: sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==}
- '@types/[email protected]':
- resolution: {integrity: sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-+lTU0PxZXn0Dr1NBtC7Y8cR21AJr87dLLU953CWA6pMxxv/UDc7jYAY90upcrie1nRcD6XNG5HOYEDtgW5TxAg==}
resolution: {integrity: sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==}
@@ -5521,21 +5600,10 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-HZIX0UByphEtdVBKaQBgTDdn9z16l4aTUz8e8zPQnyxwHBtf5vtl1L+OhH+m1FGV9DrRmoDuYKqzVrvWDcDozw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-OdQr6BNBzwRjNEXMQyaGyZzgg7wzjYKfX2ZBV3E04hUCBDv3GQCHiz9RpqdUIiVrMgJGkXm3tcEh4vFSHreS2Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-8fitJudrnY8aq0F1wMiPM1UUgiXQRJ5i8tFjq9kGfRajU+dbPyOuHbl0qRopLEidy0MwqgTHDt6CnSeXanNIwA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.8.0'
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-/Do9fmNgCsQ+K4rCz0STI7lYB4phTtEXqqCAs3gZW0pnK7lWNkvWd5iW545GSmApm4AzmQXmSqXPO565B4WVrw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -5543,33 +5611,16 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-VacJCBTyje7HGAw7xp11q439A+zeGG0p0/p2zsZwpnMzjPB5WteaWqt4g2iysgGFafrqvyLWqq6ZPZAOCoefCw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-9kqJ+2DkUXiuhoiYIUvIYjGcwle8pcPpdlfkemGvTObzgmYfJ5d0Qm6jwb4NBXP9W1I5tss0VIAnWFumz3mC5A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-ITjYcP0+8kbsvT9bysygfIfb+hBj6koDsu37JZG7xrCiy3fPJyNmfVtaGsgTUSEuTzcvME5YI5uyL5LD1EV5ZQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- typescript: '>=4.8.4 <5.8.0'
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-07rLuUBElvvEb1ICnafYWr4hk8/U7X9RDCOqd9JcAMtjh/9oRmcfN4yGzbPVirgMR0+HLVHehmu19CWeh7fsmQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.8.0'
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-OOcg3PMMQx9EXspId5iktsI3eMaXVwlhC8BvNnX6B5w9a4dVgpkQZuU8Hy67TolKcl+iFWq0XX+jbDGN4xWxjQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -5577,17 +5628,10 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-kArLq83QxGLbuHrTMoOEWO+l2MwsNS2TGISEdx8xgqpkbytB07XmlQyQdNDrCc1ecSqx0cnmhGvpX+VBwqqSkg==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-EwVHlp5l+2vp8CoqJm9KikPZgi3gbdZAtabKT9KPShGeOcJhsv4Zdo3oc8T8I0uKEmYoU4ItyxbptjF08enaxg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@univerjs/[email protected]':
- resolution: {integrity: sha512-u0Ts4G5IoOw6V/UP1/DU3/o0fnO3tl5UvAO4CpwbIwingteUK4zvWg69uqSJAbv+NG6w6OWrucspypON5GyyMg==}
-
'@univerjs/[email protected]':
resolution: {integrity: sha512-0HnWEU8k+Wr7WdqPGMxtE5CilLg4OLONTNeLAgxdpkI+lBvnBPspIXz14nBVcM4AFEQ7VRXGXGsZbVSzxM/32g==}
@@ -5960,6 +6004,10 @@ packages:
resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
+ resolution: {integrity: sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==}
@@ -6783,6 +6831,9 @@ packages:
resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}
+
resolution: {integrity: sha512-epZuWb/6Q62L+nDHJc/hQAqf8pylsqgk3BpZXVBx1CDnr3nkrVNn73Uu1rXcFzkNcc+hkP3whuOg7JZYaQB65Q==}
engines: {node: '>= 16.0.0'}
@@ -7117,11 +7168,6 @@ packages:
engines: {node: '>=12'}
hasBin: true
- resolution: {integrity: sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==}
- engines: {node: '>=18'}
- hasBin: true
-
resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==}
engines: {node: '>=18'}
@@ -7276,8 +7322,8 @@ packages:
peerDependencies:
eslint: '>=8.0.0'
- resolution: {integrity: sha512-UKCXj090YGXYmVLfZ8yZh09RLPlMfhJFYRXGUL4i/IHal22PO7kNTwNSHw105THVJXTiKPxuj/dDbII3H2C+7w==}
+ resolution: {integrity: sha512-V6hY2a5B3P5gcfqz/pIATxIrlxMXZEzrNaPpMt1jb4ZFLxW5QAvdr9NsUv1s43JpPD4dBBMgJN80ufFLGo6M5w==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7286,8 +7332,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-W4PLB5+zRt+Ceewtwf2tobEPBF+Pvl5ycElRPeKT9VOpn6IAqk0i5JqCVu7mPvPruLFbUDlGaHK769aZhqLyjA==}
+ resolution: {integrity: sha512-epYuDQO5JT+8Rt/FCw8Fr/wJzk4Jtvd6hz30NpC/NwhX4PKqMVVLvUBLzPfKkVaU7PEtjJcYHMGmuEaWtqjhlQ==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7296,8 +7342,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-Xh1Pp6lvYDI8aOFDvtd1E6WzBE3QVk2cV48pmKQOWzzL25Tod/7kk4pOXoML1t1rqRQW8xcoL7UmrlR8IMQh+w==}
+ resolution: {integrity: sha512-f9cZAkeKInffgWFH6SW7I7ZJkVKfRMC8pKyIs0fa5xJsRy9vwetLhS0UdN9J+LJtOS0KtIzYw1H8QAokgkAF1w==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7312,8 +7358,8 @@ packages:
peerDependencies:
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0
- resolution: {integrity: sha512-eiudTnDwwVpOY6K2g2fsoklG3x4X7N0X4+wFM2AE0+qSy4TCCFic+H+NRi3T53nL0pbvNawHkjS8sRSRRzOG3A==}
+ resolution: {integrity: sha512-YD5ZPpNUnu83B+pCDNbBpjVzrOLaZK2cTGkMMj6tKYFi0RU5P50peI0kQchwKveCBdOghhh1UyuywOXHdpmPtA==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7327,8 +7373,8 @@ packages:
peerDependencies:
eslint: '>=8.40'
- resolution: {integrity: sha512-xu0QWvptg9zDaf/hfiJ02hTOd/soF10ww3h9wnJZ7ohbMclIA89ZRET6lXXXJNie3HrOLsB+HmOg/h/Rc7zL+A==}
+ resolution: {integrity: sha512-eiDZhwswA+42q2/2erzuwMiZPkOMcC0K5WyjwIDPbiOTG+uGjBX5vvrwqgsfCtfVsAquP0Te/ywXZ9fMOSzKhQ==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7337,8 +7383,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-4wEHGPdCY8yNl0AYcZWDdQ6QyX7lRmjoaM7CSw3v9ZEHLh2u8ttKl2JJpx5mRKFWP0JxQ8YvbgLW8MovDAIWmw==}
+ resolution: {integrity: sha512-We3GlXwymp0bm84OzqDZPiuBz/+9krgCXXSE1cOvrCFz3qfh9r8QHczfzTKFehHR2CMx7fDzWvwDlg1ot1x//w==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7436,8 +7482,8 @@ packages:
resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-m1mM33o6dBUjxl2qb6wv6nGNwCAsns1eKtaQ4l/NPHeTvhiUPbtdfMyktxN4B3fgHIgsYh1VT3V9txblpQHq+g==}
+ resolution: {integrity: sha512-KjeihdFqTPhOMXTt7StsDxriV4n66ueuF/jfPNC3j/lduHwr/ijDwJMsF+wyMJethgiKi5wniIE243vi07d3pg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
hasBin: true
peerDependencies:
@@ -7680,6 +7726,10 @@ packages:
resolution: {integrity: sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}
+ engines: {node: '>=6'}
+
resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}
engines: {node: '>= 0.4'}
@@ -7699,9 +7749,6 @@ packages:
resolution: {integrity: sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A==}
- resolution: {integrity: sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==}
-
resolution: {integrity: sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==}
engines: {node: '>= 14'}
@@ -8885,8 +8932,8 @@ packages:
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
- resolution: {integrity: sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==}
+ resolution: {integrity: sha512-zDAl/llz8Ue/EblwSYwdxGBYfj46IM1dhjVi8dyp9LQffoIGxJEAHj2oeZ4uNcgycSRcQ83CnfcZqEJzVDLcDw==}
engines: {node: ^18 || >=20}
hasBin: true
@@ -9860,11 +9907,41 @@ packages:
resolution: {integrity: sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ resolution: {integrity: sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
resolution: {integrity: sha512-vKpeHhI5OZvYn82kXOs1bC8aOXktGU5AmKAgaZS4F5JPburCtbmDPqE7Pzp+1kN4+Wb81LlF33VpGwWwtXem+w==}
peerDependencies:
react: 19.0.0
+ resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}
peerDependencies:
@@ -10061,6 +10138,9 @@ packages:
resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}
+ resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==}
+
resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==}
engines: {node: '>=0.4'}
@@ -10610,8 +10690,8 @@ packages:
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
- resolution: {integrity: sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==}
+ resolution: {integrity: sha512-4H8vUNGNjQ4V2EOoGw005+c+dGuPSnhpPBPHBtsZdGZBk/iJb4kguGlPWaZTZ3q5nMtFOEsY0nRDlh9PJyd6SQ==}
engines: {node: '>=18.0.0'}
hasBin: true
@@ -10806,6 +10886,26 @@ packages:
resolution: {integrity: sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
+ resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}
+ engines: {node: '>=10'}
+ peerDependencies:
+ '@types/react': ^19.0.8
+ react: 19.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+
resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==}
peerDependencies:
@@ -11187,49 +11287,49 @@ snapshots:
dependencies:
'@babel/runtime': 7.25.0
dependencies:
'@antfu/install-pkg': 1.0.0
'@clack/prompts': 0.10.0
- '@eslint-community/eslint-plugin-eslint-comments': 4.4.1([email protected]([email protected]))
+ '@eslint-community/eslint-plugin-eslint-comments': 4.4.1([email protected]([email protected]))
'@eslint/markdown': 6.2.2
- '@stylistic/eslint-plugin': 4.0.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/parser': 8.24.1([email protected]([email protected]))([email protected])
+ '@stylistic/eslint-plugin': 4.0.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.24.1([email protected]([email protected]))([email protected])
ansis: 3.15.0
cac: 6.7.14
- eslint: 9.20.1([email protected])
- eslint-config-flat-gitignore: 2.1.0([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
+ eslint-config-flat-gitignore: 2.1.0([email protected]([email protected]))
eslint-flat-config-utils: 2.0.1
- eslint-merge-processors: 2.0.0([email protected]([email protected]))
- eslint-plugin-antfu: 3.1.0([email protected]([email protected]))
- eslint-plugin-command: 3.1.0([email protected]([email protected]))
- eslint-plugin-import-x: 4.6.1([email protected]([email protected]))([email protected])
- eslint-plugin-jsdoc: 50.6.3([email protected]([email protected]))
- eslint-plugin-jsonc: 2.19.1([email protected]([email protected]))
- eslint-plugin-n: 17.15.1([email protected]([email protected]))
+ eslint-merge-processors: 2.0.0([email protected]([email protected]))
+ eslint-plugin-antfu: 3.1.0([email protected]([email protected]))
+ eslint-plugin-command: 3.1.0([email protected]([email protected]))
+ eslint-plugin-import-x: 4.6.1([email protected]([email protected]))([email protected])
+ eslint-plugin-jsdoc: 50.6.3([email protected]([email protected]))
+ eslint-plugin-jsonc: 2.19.1([email protected]([email protected]))
+ eslint-plugin-n: 17.15.1([email protected]([email protected]))
eslint-plugin-no-only-tests: 3.3.0
- eslint-plugin-perfectionist: 4.9.0([email protected]([email protected]))([email protected])
- eslint-plugin-regexp: 2.7.0([email protected]([email protected]))
- eslint-plugin-toml: 0.12.0([email protected]([email protected]))
- eslint-plugin-unicorn: 57.0.0([email protected]([email protected]))
- eslint-plugin-vue: 9.32.0([email protected]([email protected]))
- eslint-plugin-yml: 1.17.0([email protected]([email protected]))
- eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected]([email protected]))
+ eslint-plugin-perfectionist: 4.9.0([email protected]([email protected]))([email protected])
+ eslint-plugin-regexp: 2.7.0([email protected]([email protected]))
+ eslint-plugin-toml: 0.12.0([email protected]([email protected]))
+ eslint-plugin-unicorn: 57.0.0([email protected]([email protected]))
+ eslint-plugin-vue: 9.32.0([email protected]([email protected]))
+ eslint-plugin-yml: 1.17.0([email protected]([email protected]))
+ eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected]([email protected]))
globals: 15.15.0
jsonc-eslint-parser: 2.4.0
local-pkg: 1.0.0
parse-gitignore: 2.0.0
toml-eslint-parser: 0.10.0
- vue-eslint-parser: 9.4.3([email protected]([email protected]))
+ vue-eslint-parser: 9.4.3([email protected]([email protected]))
yaml-eslint-parser: 1.2.3
optionalDependencies:
- eslint-plugin-format: 1.0.1([email protected]([email protected]))
- eslint-plugin-react-hooks: 5.1.0([email protected]([email protected]))
- eslint-plugin-react-refresh: 0.4.19([email protected]([email protected]))
+ eslint-plugin-format: 1.0.1([email protected]([email protected]))
+ eslint-plugin-react-hooks: 5.1.0([email protected]([email protected]))
+ eslint-plugin-react-refresh: 0.4.19([email protected]([email protected]))
transitivePeerDependencies:
- '@eslint/json'
- '@typescript-eslint/utils'
@@ -11521,11 +11621,11 @@ snapshots:
picocolors: 1.1.1
sisteransi: 1.0.5
dependencies:
'@commitlint/format': 19.5.0
'@commitlint/lint': 19.7.1
- '@commitlint/load': 19.6.1(@types/[email protected])([email protected])
+ '@commitlint/load': 19.6.1(@types/[email protected])([email protected])
'@commitlint/read': 19.5.0
'@commitlint/types': 19.5.0
tinyexec: 0.3.2
@@ -11572,7 +11672,7 @@ snapshots:
'@commitlint/rules': 19.6.0
'@commitlint/types': 19.5.0
dependencies:
'@commitlint/config-validator': 19.5.0
'@commitlint/execute-rule': 19.5.0
@@ -11580,7 +11680,7 @@ snapshots:
'@commitlint/types': 19.5.0
chalk: 5.4.1
cosmiconfig: 9.0.0([email protected])
- cosmiconfig-typescript-loader: 6.1.0(@types/[email protected])([email protected]([email protected]))([email protected])
+ cosmiconfig-typescript-loader: 6.1.0(@types/[email protected])([email protected]([email protected]))([email protected])
lodash.isplainobject: 4.0.6
lodash.merge: 4.6.2
lodash.uniq: 4.5.0
@@ -11912,109 +12012,73 @@ snapshots:
esquery: 1.6.0
jsdoc-type-pratt-parser: 4.1.0
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
- '@esbuild/[email protected]':
+ '@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
@@ -12023,45 +12087,30 @@ snapshots:
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
@@ -12074,88 +12123,67 @@ snapshots:
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
- '@esbuild/[email protected]':
- optional: true
-
'@esbuild/[email protected]':
optional: true
'@esbuild/[email protected]':
optional: true
dependencies:
escape-string-regexp: 4.0.0
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
ignore: 5.3.2
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
eslint-visitor-keys: 3.4.3
'@eslint-community/[email protected]': {}
dependencies:
- '@eslint-react/eff': 1.26.2
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/typescript-estree': 8.24.0([email protected])
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/typescript-estree': 8.24.1([email protected])
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
transitivePeerDependencies:
@@ -12163,17 +12191,17 @@ snapshots:
- supports-color
- typescript
- dependencies:
- '@eslint-react/eff': 1.26.2
- '@eslint-react/shared': 1.26.2([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/type-utils': 8.24.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/eff': 1.27.0
+ '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
birecord: 0.1.1
ts-pattern: 5.6.2
transitivePeerDependencies:
@@ -12181,47 +12209,47 @@ snapshots:
- supports-color
- typescript
- '@eslint-react/[email protected]': {}
-
- dependencies:
- '@eslint-react/eff': 1.26.2
- '@eslint-react/shared': 1.26.2([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/type-utils': 8.24.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
- eslint-plugin-react-debug: 1.26.2([email protected]([email protected]))([email protected])
- eslint-plugin-react-dom: 1.26.2([email protected]([email protected]))([email protected])
- eslint-plugin-react-hooks-extra: 1.26.2([email protected]([email protected]))([email protected])
- eslint-plugin-react-naming-convention: 1.26.2([email protected]([email protected]))([email protected])
- eslint-plugin-react-web-api: 1.26.2([email protected]([email protected]))([email protected])
+ '@eslint-react/[email protected]': {}
+
+ dependencies:
+ '@eslint-react/eff': 1.27.0
+ '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
+ eslint-plugin-react-debug: 1.27.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-dom: 1.27.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-hooks-extra: 1.27.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-naming-convention: 1.27.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-web-api: 1.27.0([email protected]([email protected]))([email protected])
optionalDependencies:
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- ts-api-utils
dependencies:
- '@eslint-react/eff': 1.26.2
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
ts-pattern: 5.6.2
transitivePeerDependencies:
- eslint
- supports-color
- typescript
dependencies:
- '@eslint-react/eff': 1.26.2
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
picomatch: 4.0.2
ts-pattern: 5.6.2
transitivePeerDependencies:
@@ -12229,13 +12257,13 @@ snapshots:
- supports-color
- typescript
dependencies:
- '@eslint-react/eff': 1.26.2
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
transitivePeerDependencies:
@@ -12243,9 +12271,9 @@ snapshots:
- supports-color
- typescript
optionalDependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
'@eslint/[email protected]':
dependencies:
@@ -12263,7 +12291,11 @@ snapshots:
dependencies:
'@types/json-schema': 7.0.15
- '@eslint/[email protected]':
+ '@eslint/[email protected]':
+ dependencies:
+ '@types/json-schema': 7.0.15
+
+ '@eslint/[email protected]':
dependencies:
ajv: 6.12.6
debug: 4.4.0
@@ -12277,7 +12309,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@eslint/[email protected]': {}
+ '@eslint/[email protected]': {}
'@eslint/[email protected]':
dependencies:
@@ -12296,6 +12328,11 @@ snapshots:
'@eslint/core': 0.11.0
levn: 0.4.1
+ '@eslint/[email protected]':
+ dependencies:
+ '@eslint/core': 0.12.0
+ levn: 0.4.1
+
'@flatten-js/[email protected]': {}
'@floating-ui/[email protected]':
@@ -12404,23 +12441,23 @@ snapshots:
'@types/react': 19.0.8
react: 19.0.0
- '@microsoft/[email protected](@types/[email protected])':
+ '@microsoft/[email protected](@types/[email protected])':
dependencies:
'@microsoft/tsdoc': 0.15.1
'@microsoft/tsdoc-config': 0.17.1
- '@rushstack/node-core-library': 5.10.2(@types/[email protected])
+ '@rushstack/node-core-library': 5.10.2(@types/[email protected])
transitivePeerDependencies:
- '@types/node'
- '@microsoft/[email protected](@types/[email protected])':
+ '@microsoft/[email protected](@types/[email protected])':
dependencies:
- '@microsoft/api-extractor-model': 7.30.2(@types/[email protected])
+ '@microsoft/api-extractor-model': 7.30.2(@types/[email protected])
'@microsoft/tsdoc': 0.15.1
'@microsoft/tsdoc-config': 0.17.1
- '@rushstack/node-core-library': 5.10.2(@types/[email protected])
+ '@rushstack/node-core-library': 5.10.2(@types/[email protected])
'@rushstack/rig-package': 0.5.3
- '@rushstack/terminal': 0.14.5(@types/[email protected])
- '@rushstack/ts-command-line': 4.23.3(@types/[email protected])
+ '@rushstack/terminal': 0.14.5(@types/[email protected])
+ '@rushstack/ts-command-line': 4.23.3(@types/[email protected])
lodash: 4.17.21
minimatch: 3.0.8
resolve: 1.22.10
@@ -12558,6 +12595,185 @@ snapshots:
'@protobufjs/[email protected]': {}
+ '@radix-ui/[email protected]': {}
+
+ dependencies:
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
+ dependencies:
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ '@radix-ui/primitive': 1.1.1
+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-escape-keydown': 1.1.0(@types/[email protected])([email protected])
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
+ dependencies:
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
+ dependencies:
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ '@radix-ui/primitive': 1.1.1
+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])
+ '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])
+ aria-hidden: 1.2.4
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ react-remove-scroll: 2.6.3(@types/[email protected])([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
+ dependencies:
+ '@floating-ui/react-dom': 2.1.2([email protected]([email protected]))([email protected])
+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-rect': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])
+ '@radix-ui/rect': 1.1.0
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
+ dependencies:
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
+ dependencies:
+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
+ dependencies:
+ '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])
+ react: 19.0.0
+ react-dom: 19.0.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+ '@types/react-dom': 19.0.3(@types/[email protected])
+
+ dependencies:
+ '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ '@radix-ui/rect': 1.1.0
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])
+ react: 19.0.0
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ '@radix-ui/[email protected]': {}
+
dependencies:
'@ant-design/fast-color': 2.0.6
@@ -12684,7 +12900,7 @@ snapshots:
'@rollup/[email protected]':
optional: true
- '@rushstack/[email protected](@types/[email protected])':
+ '@rushstack/[email protected](@types/[email protected])':
dependencies:
ajv: 8.13.0
ajv-draft-04: 1.0.0([email protected])
@@ -12695,23 +12911,23 @@ snapshots:
resolve: 1.22.10
semver: 7.5.4
optionalDependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
'@rushstack/[email protected]':
dependencies:
resolve: 1.22.10
strip-json-comments: 3.1.1
- '@rushstack/[email protected](@types/[email protected])':
+ '@rushstack/[email protected](@types/[email protected])':
dependencies:
- '@rushstack/node-core-library': 5.10.2(@types/[email protected])
+ '@rushstack/node-core-library': 5.10.2(@types/[email protected])
supports-color: 8.1.1
optionalDependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
- '@rushstack/[email protected](@types/[email protected])':
+ '@rushstack/[email protected](@types/[email protected])':
dependencies:
- '@rushstack/terminal': 0.14.5(@types/[email protected])
+ '@rushstack/terminal': 0.14.5(@types/[email protected])
'@types/argparse': 1.0.38
argparse: 1.0.10
string-argv: 0.3.2
@@ -12807,10 +13023,10 @@ snapshots:
storybook: 8.5.8([email protected])
ts-dedent: 2.2.0
dependencies:
'@storybook/node-logger': 8.1.6
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
@@ -12821,10 +13037,10 @@ snapshots:
memoizerific: 1.11.3
storybook: 8.5.8([email protected])
dependencies:
- '@swc/core': 1.7.5
+ '@swc/core': 1.10.18
transitivePeerDependencies:
- '@swc/helpers'
- webpack
@@ -12839,7 +13055,7 @@ snapshots:
react: 19.0.0
react-dom: 19.0.0([email protected])
dependencies:
'@storybook/core-webpack': 8.5.8([email protected]([email protected]))
'@types/semver': 7.5.8
@@ -12847,23 +13063,23 @@ snapshots:
case-sensitive-paths-webpack-plugin: 2.4.0
cjs-module-lexer: 1.4.3
constants-browserify: 1.0.0
es-module-lexer: 1.6.0
- fork-ts-checker-webpack-plugin: 8.0.0([email protected])([email protected](@swc/[email protected])([email protected]))
- html-webpack-plugin: 5.6.3([email protected](@swc/[email protected])([email protected]))
+ fork-ts-checker-webpack-plugin: 8.0.0([email protected])([email protected](@swc/[email protected])([email protected]))
+ html-webpack-plugin: 5.6.3([email protected](@swc/[email protected])([email protected]))
magic-string: 0.30.17
path-browserify: 1.0.1
process: 0.11.10
semver: 7.7.1
storybook: 8.5.8([email protected])
ts-dedent: 2.2.0
url: 0.11.4
util: 0.12.5
util-deprecate: 1.0.2
- webpack: 5.98.0(@swc/[email protected])([email protected])
- webpack-dev-middleware: 6.1.3([email protected](@swc/[email protected])([email protected]))
+ webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack-dev-middleware: 6.1.3([email protected](@swc/[email protected])([email protected]))
webpack-hot-middleware: 2.26.1
webpack-virtual-modules: 0.6.2
optionalDependencies:
@@ -12932,11 +13148,11 @@ snapshots:
'@storybook/[email protected]': {}
dependencies:
'@storybook/core-webpack': 8.5.8([email protected]([email protected]))
- '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0([email protected])([email protected](@swc/[email protected])([email protected]))
+ '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0([email protected])([email protected](@swc/[email protected])([email protected]))
'@types/semver': 7.5.8
find-up: 5.0.0
magic-string: 0.30.17
@@ -12947,7 +13163,7 @@ snapshots:
semver: 7.7.1
storybook: 8.5.8([email protected])
tsconfig-paths: 4.2.0
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
optionalDependencies:
typescript: 5.7.3
transitivePeerDependencies:
@@ -12962,7 +13178,7 @@ snapshots:
dependencies:
storybook: 8.5.8([email protected])
dependencies:
debug: 4.4.0
endent: 2.1.0
@@ -12972,7 +13188,7 @@ snapshots:
react-docgen-typescript: 2.2.2([email protected])
tslib: 2.8.1
typescript: 5.7.3
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
transitivePeerDependencies:
- supports-color
@@ -12982,10 +13198,10 @@ snapshots:
react-dom: 19.0.0([email protected])
storybook: 8.5.8([email protected])
dependencies:
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -13036,10 +13252,10 @@ snapshots:
dependencies:
storybook: 8.5.8([email protected])
dependencies:
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
eslint-visitor-keys: 4.2.0
espree: 10.3.0
estraverse: 5.3.0
@@ -13048,55 +13264,55 @@ snapshots:
- supports-color
- typescript
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
optional: true
dependencies:
'@swc/counter': 0.1.3
- '@swc/types': 0.1.12
+ '@swc/types': 0.1.17
optionalDependencies:
- '@swc/core-darwin-arm64': 1.7.5
- '@swc/core-darwin-x64': 1.7.5
- '@swc/core-linux-arm-gnueabihf': 1.7.5
- '@swc/core-linux-arm64-gnu': 1.7.5
- '@swc/core-linux-arm64-musl': 1.7.5
- '@swc/core-linux-x64-gnu': 1.7.5
- '@swc/core-linux-x64-musl': 1.7.5
- '@swc/core-win32-arm64-msvc': 1.7.5
- '@swc/core-win32-ia32-msvc': 1.7.5
- '@swc/core-win32-x64-msvc': 1.7.5
+ '@swc/core-darwin-arm64': 1.10.18
+ '@swc/core-darwin-x64': 1.10.18
+ '@swc/core-linux-arm-gnueabihf': 1.10.18
+ '@swc/core-linux-arm64-gnu': 1.10.18
+ '@swc/core-linux-arm64-musl': 1.10.18
+ '@swc/core-linux-x64-gnu': 1.10.18
+ '@swc/core-linux-x64-musl': 1.10.18
+ '@swc/core-win32-arm64-msvc': 1.10.18
+ '@swc/core-win32-ia32-msvc': 1.10.18
+ '@swc/core-win32-x64-msvc': 1.10.18
'@swc/[email protected]': {}
dependencies:
'@swc/counter': 0.1.3
@@ -13164,7 +13380,7 @@ snapshots:
dependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
'@types/[email protected]': {}
@@ -13216,7 +13432,7 @@ snapshots:
dependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
'@types/[email protected]': {}
@@ -13238,7 +13454,7 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
undici-types: 6.20.0
@@ -13282,7 +13498,7 @@ snapshots:
dependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
'@types/[email protected]': {}
@@ -13290,15 +13506,15 @@ snapshots:
'@types/[email protected]': {}
dependencies:
'@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/parser': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.24.1([email protected]([email protected]))([email protected])
'@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
'@typescript-eslint/visitor-keys': 8.24.1
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
graphemer: 1.4.0
ignore: 5.3.2
natural-compare: 1.4.0
@@ -13307,68 +13523,36 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
'@typescript-eslint/scope-manager': 8.24.1
'@typescript-eslint/types': 8.24.1
'@typescript-eslint/typescript-estree': 8.24.1([email protected])
'@typescript-eslint/visitor-keys': 8.24.1
debug: 4.4.0
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
- dependencies:
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/visitor-keys': 8.24.0
-
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.24.1
'@typescript-eslint/visitor-keys': 8.24.1
- dependencies:
- '@typescript-eslint/typescript-estree': 8.24.0([email protected])
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
- debug: 4.4.0
- eslint: 9.20.1([email protected])
- ts-api-utils: 2.0.1([email protected])
- typescript: 5.7.3
- transitivePeerDependencies:
- - supports-color
-
dependencies:
'@typescript-eslint/typescript-estree': 8.24.1([email protected])
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
debug: 4.4.0
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
ts-api-utils: 2.0.1([email protected])
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]': {}
-
'@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]([email protected])':
- dependencies:
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/visitor-keys': 8.24.0
- debug: 4.4.0
- fast-glob: 3.3.3
- is-glob: 4.0.3
- minimatch: 9.0.5
- semver: 7.7.1
- ts-api-utils: 2.0.1([email protected])
- typescript: 5.7.3
- transitivePeerDependencies:
- - supports-color
-
'@typescript-eslint/[email protected]([email protected])':
dependencies:
'@typescript-eslint/types': 8.24.1
@@ -13383,40 +13567,22 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/typescript-estree': 8.24.0([email protected])
- eslint: 9.20.1([email protected])
- typescript: 5.7.3
- transitivePeerDependencies:
- - supports-color
-
- dependencies:
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
'@typescript-eslint/scope-manager': 8.24.1
'@typescript-eslint/types': 8.24.1
'@typescript-eslint/typescript-estree': 8.24.1([email protected])
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
typescript: 5.7.3
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]':
- dependencies:
- '@typescript-eslint/types': 8.24.0
- eslint-visitor-keys: 4.2.0
-
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.24.1
eslint-visitor-keys: 4.2.0
- '@univerjs/[email protected]': {}
-
'@univerjs/[email protected]': {}
@@ -13429,23 +13595,28 @@ snapshots:
'@grpc/grpc-js': 1.10.9
rxjs: 7.8.1
+ dependencies:
+ '@grpc/grpc-js': 1.10.9
+ rxjs: 7.8.2
+
dependencies:
'@babel/core': 7.26.0
'@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/[email protected])
'@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/[email protected])
'@types/babel__core': 7.20.5
react-refresh: 0.14.2
transitivePeerDependencies:
- supports-color
dependencies:
vue: 3.4.38([email protected])
dependencies:
'@istanbuljs/schema': 0.1.3
debug: 4.4.0
@@ -13457,17 +13628,17 @@ snapshots:
magicast: 0.3.5
test-exclude: 7.0.1
tinyrainbow: 2.0.0
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
optionalDependencies:
typescript: 5.7.3
'@vitest/[email protected]':
dependencies:
@@ -13483,13 +13654,13 @@ snapshots:
chai: 5.2.0
tinyrainbow: 2.0.0
dependencies:
'@vitest/spy': 3.0.6
estree-walker: 3.0.3
magic-string: 0.30.17
optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -13876,6 +14047,10 @@ snapshots:
+ dependencies:
+ tslib: 2.8.1
+
dependencies:
dequal: 2.0.3
@@ -14441,9 +14616,9 @@ snapshots:
dependencies:
browserslist: 4.24.4
dependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
cosmiconfig: 9.0.0([email protected])
jiti: 2.4.2
typescript: 5.7.3
@@ -14489,7 +14664,7 @@ snapshots:
postcss-selector-parser: 7.1.0
postcss-value-parser: 4.2.0
dependencies:
icss-utils: 5.1.0([email protected])
postcss: 8.5.3
@@ -14500,9 +14675,9 @@ snapshots:
postcss-value-parser: 4.2.0
semver: 7.7.1
optionalDependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
icss-utils: 5.1.0([email protected])
postcss: 8.5.3
@@ -14513,7 +14688,7 @@ snapshots:
postcss-value-parser: 4.2.0
semver: 7.6.3
optionalDependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
@@ -14696,6 +14871,8 @@ snapshots:
+
dependencies:
address: 2.0.3
@@ -14985,17 +15162,17 @@ snapshots:
optional: true
dependencies:
chalk: 4.1.2
del: 6.1.1
- esbuild: 0.24.2
+ esbuild: 0.25.0
dependencies:
chalk: 4.1.2
chokidar: 3.6.0
- esbuild: 0.24.2
+ esbuild: 0.25.0
fs-extra: 10.1.0
globby: 11.1.0
@@ -15059,33 +15236,6 @@ snapshots:
esbuild-windows-64: 0.14.54
esbuild-windows-arm64: 0.14.54
- optionalDependencies:
- '@esbuild/aix-ppc64': 0.23.1
- '@esbuild/android-arm': 0.23.1
- '@esbuild/android-arm64': 0.23.1
- '@esbuild/android-x64': 0.23.1
- '@esbuild/darwin-arm64': 0.23.1
- '@esbuild/darwin-x64': 0.23.1
- '@esbuild/freebsd-arm64': 0.23.1
- '@esbuild/freebsd-x64': 0.23.1
- '@esbuild/linux-arm': 0.23.1
- '@esbuild/linux-arm64': 0.23.1
- '@esbuild/linux-ia32': 0.23.1
- '@esbuild/linux-loong64': 0.23.1
- '@esbuild/linux-mips64el': 0.23.1
- '@esbuild/linux-ppc64': 0.23.1
- '@esbuild/linux-riscv64': 0.23.1
- '@esbuild/linux-s390x': 0.23.1
- '@esbuild/linux-x64': 0.23.1
- '@esbuild/netbsd-x64': 0.23.1
- '@esbuild/openbsd-arm64': 0.23.1
- '@esbuild/openbsd-x64': 0.23.1
- '@esbuild/sunos-x64': 0.23.1
- '@esbuild/win32-arm64': 0.23.1
- '@esbuild/win32-ia32': 0.23.1
- '@esbuild/win32-x64': 0.23.1
-
optionalDependencies:
'@esbuild/aix-ppc64': 0.24.2
@@ -15160,28 +15310,28 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
semver: 7.7.1
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
semver: 7.7.1
dependencies:
- '@eslint/compat': 1.2.6([email protected]([email protected]))
- eslint: 9.20.1([email protected])
+ '@eslint/compat': 1.2.6([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
dependencies:
pathe: 2.0.3
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
prettier-linter-helpers: 1.0.0
@@ -15192,58 +15342,58 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
esquery: 1.6.0
jsonc-eslint-parser: 2.4.0
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
dependencies:
'@es-joy/jsdoccomment': 0.50.0
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
dependencies:
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.1
- eslint: 9.20.1([email protected])
- eslint-compat-utils: 0.5.1([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
+ eslint-compat-utils: 0.5.1([email protected]([email protected]))
dependencies:
'@dprint/formatter': 0.3.0
'@dprint/markdown': 0.17.8
'@dprint/toml': 0.6.4
- eslint: 9.20.1([email protected])
- eslint-formatting-reporter: 0.0.0([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
+ eslint-formatting-reporter: 0.0.0([email protected]([email protected]))
eslint-parser-plain: 0.1.1
prettier: 3.4.2
synckit: 0.9.2
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
dependencies:
'@types/doctrine': 0.0.9
'@typescript-eslint/scope-manager': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
debug: 4.4.0
doctrine: 3.0.0
enhanced-resolve: 5.18.1
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
eslint-import-resolver-node: 0.3.9
get-tsconfig: 4.10.0
is-glob: 4.0.3
@@ -15255,14 +15405,14 @@ snapshots:
- supports-color
- typescript
dependencies:
'@es-joy/jsdoccomment': 0.49.0
are-docs-informative: 0.0.2
comment-parser: 1.4.1
debug: 4.4.0
escape-string-regexp: 4.0.0
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
espree: 10.3.0
esquery: 1.6.0
parse-imports: 2.2.1
@@ -15272,12 +15422,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
- eslint: 9.20.1([email protected])
- eslint-compat-utils: 0.6.4([email protected]([email protected]))
- eslint-json-compat-utils: 0.2.1([email protected]([email protected]))([email protected])
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
+ eslint-compat-utils: 0.6.4([email protected]([email protected]))
+ eslint-json-compat-utils: 0.2.1([email protected]([email protected]))([email protected])
espree: 9.6.1
graphemer: 1.4.0
jsonc-eslint-parser: 2.4.0
@@ -15286,53 +15436,53 @@ snapshots:
transitivePeerDependencies:
- '@eslint/json'
dependencies:
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
enhanced-resolve: 5.18.1
- eslint: 9.20.1([email protected])
- eslint-plugin-es-x: 7.8.0([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
+ eslint-plugin-es-x: 7.8.0([email protected]([email protected]))
get-tsconfig: 4.10.0
globals: 15.15.0
ignore: 5.3.2
minimatch: 9.0.5
semver: 7.7.1
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
requireindex: 1.2.0
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
requireindex: 1.2.0
dependencies:
'@typescript-eslint/types': 8.24.1
- '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
natural-orderby: 5.0.0
transitivePeerDependencies:
- supports-color
- typescript
- dependencies:
- '@eslint-react/core': 1.26.2([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.26.2
- '@eslint-react/shared': 1.26.2([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/type-utils': 8.24.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
+ dependencies:
+ '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
optionalDependencies:
@@ -15340,19 +15490,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.26.2([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.26.2
- '@eslint-react/shared': 1.26.2([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
compare-versions: 6.1.1
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
optionalDependencies:
@@ -15360,19 +15510,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.26.2([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.26.2
- '@eslint-react/shared': 1.26.2([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/type-utils': 8.24.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
+ dependencies:
+ '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
optionalDependencies:
@@ -15380,22 +15530,22 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
dependencies:
- '@eslint-react/core': 1.26.2([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.26.2
- '@eslint-react/shared': 1.26.2([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/type-utils': 8.24.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
+ '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
optionalDependencies:
@@ -15403,22 +15553,22 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
dependencies:
- '@eslint-react/core': 1.26.2([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.26.2
- '@eslint-react/shared': 1.26.2([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
+ '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
optionalDependencies:
@@ -15426,21 +15576,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.26.2([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.26.2
- '@eslint-react/shared': 1.26.2([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.24.0
- '@typescript-eslint/type-utils': 8.24.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.24.0
- '@typescript-eslint/utils': 8.24.0([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.27.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.27.0
+ '@eslint-react/shared': 1.27.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.24.1
+ '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.24.1
+ '@typescript-eslint/utils': 8.24.1([email protected]([email protected]))([email protected])
compare-versions: 6.1.1
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.6.2
optionalDependencies:
@@ -15449,7 +15599,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
array-includes: 3.1.8
array.prototype.findlast: 1.2.5
@@ -15457,7 +15607,7 @@ snapshots:
array.prototype.tosorted: 1.1.4
doctrine: 2.1.0
es-iterator-helpers: 1.2.1
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
estraverse: 5.3.0
hasown: 2.0.2
jsx-ast-utils: 3.3.5
@@ -15471,40 +15621,40 @@ snapshots:
string.prototype.matchall: 4.0.12
string.prototype.repeat: 1.0.0
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
tailwindcss: 3.4.17
dependencies:
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.1
comment-parser: 1.4.1
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
jsdoc-type-pratt-parser: 4.1.0
refa: 0.12.1
regexp-ast-analysis: 0.7.1
scslre: 0.3.0
dependencies:
debug: 4.4.0
- eslint: 9.20.1([email protected])
- eslint-compat-utils: 0.6.4([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
+ eslint-compat-utils: 0.6.4([email protected]([email protected]))
lodash: 4.17.21
toml-eslint-parser: 0.10.0
transitivePeerDependencies:
- supports-color
dependencies:
'@babel/helper-validator-identifier': 7.25.9
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
ci-info: 4.1.0
clean-regexp: 1.0.0
core-js-compat: 3.40.0
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
esquery: 1.6.0
globals: 15.15.0
indent-string: 5.0.0
@@ -15517,41 +15667,41 @@ snapshots:
semver: 7.7.1
strip-indent: 4.0.0
dependencies:
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
optionalDependencies:
dependencies:
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
- eslint: 9.20.1([email protected])
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
globals: 13.24.0
natural-compare: 1.4.0
nth-check: 2.1.1
postcss-selector-parser: 6.1.2
semver: 7.7.1
- vue-eslint-parser: 9.4.3([email protected]([email protected]))
+ vue-eslint-parser: 9.4.3([email protected]([email protected]))
xml-name-validator: 4.0.0
transitivePeerDependencies:
- supports-color
dependencies:
debug: 4.4.0
escape-string-regexp: 4.0.0
- eslint: 9.20.1([email protected])
- eslint-compat-utils: 0.6.4([email protected]([email protected]))
+ eslint: 9.21.0([email protected])
+ eslint-compat-utils: 0.6.4([email protected]([email protected]))
natural-compare: 1.4.0
yaml-eslint-parser: 1.2.3
transitivePeerDependencies:
- supports-color
dependencies:
'@vue/compiler-sfc': 3.4.38
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
dependencies:
@@ -15579,15 +15729,15 @@ snapshots:
dependencies:
- '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.4.1([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.1
'@eslint/config-array': 0.19.2
- '@eslint/core': 0.11.0
- '@eslint/eslintrc': 3.2.0
- '@eslint/js': 9.20.0
- '@eslint/plugin-kit': 0.2.6
+ '@eslint/core': 0.12.0
+ '@eslint/eslintrc': 3.3.0
+ '@eslint/js': 9.21.0
+ '@eslint/plugin-kit': 0.2.7
'@humanfs/node': 0.16.6
'@humanwhocodes/module-importer': 1.0.1
'@humanwhocodes/retry': 0.4.2
@@ -15797,7 +15947,7 @@ snapshots:
cross-spawn: 7.0.6
signal-exit: 4.1.0
dependencies:
'@babel/code-frame': 7.26.2
chalk: 4.1.2
@@ -15812,7 +15962,7 @@ snapshots:
semver: 7.7.1
tapable: 2.2.1
typescript: 5.7.3
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
@@ -15911,6 +16061,8 @@ snapshots:
hasown: 2.0.2
math-intrinsics: 1.1.0
+
dependencies:
dunder-proto: 1.0.1
@@ -15930,10 +16082,6 @@ snapshots:
dependencies:
resolve-pkg-maps: 1.0.0
- dependencies:
- resolve-pkg-maps: 1.0.0
-
dependencies:
basic-ftp: 5.0.5
@@ -16130,7 +16278,7 @@ snapshots:
relateurl: 0.2.7
terser: 5.39.0
dependencies:
'@types/html-minifier-terser': 6.1.0
html-minifier-terser: 6.1.0
@@ -16138,7 +16286,7 @@ snapshots:
pretty-error: 4.0.0
tapable: 2.2.1
optionalDependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
@@ -16236,7 +16384,7 @@ snapshots:
mute-stream: 1.0.0
ora: 5.4.1
run-async: 3.0.0
- rxjs: 7.8.1
+ rxjs: 7.8.2
string-width: 4.2.3
strip-ansi: 6.0.1
wrap-ansi: 6.2.0
@@ -16347,10 +16495,10 @@ snapshots:
dependencies:
is-extglob: 2.1.1
dependencies:
- '@typescript-eslint/type-utils': 8.24.0([email protected]([email protected]))([email protected])
- eslint: 9.20.1([email protected])
+ '@typescript-eslint/type-utils': 8.24.1([email protected]([email protected]))([email protected])
+ eslint: 9.21.0([email protected])
ts-api-utils: 2.0.1([email protected])
ts-declaration-location: 1.0.5([email protected])
typescript: 5.7.3
@@ -16570,7 +16718,7 @@ snapshots:
dependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
merge-stream: 2.0.0
supports-color: 8.1.1
@@ -16678,11 +16826,11 @@ snapshots:
dependencies:
package-json: 10.0.1
dependencies:
less: 4.2.2
optionalDependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
@@ -17302,7 +17450,7 @@ snapshots:
@@ -17815,14 +17963,14 @@ snapshots:
optionalDependencies:
postcss: 8.4.49
dependencies:
cosmiconfig: 9.0.0([email protected])
jiti: 1.21.6
postcss: 8.5.3
semver: 7.6.3
optionalDependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
transitivePeerDependencies:
- typescript
@@ -18059,7 +18207,7 @@ snapshots:
'@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
long: 5.3.1
@@ -18313,26 +18461,26 @@ snapshots:
dependencies:
dnd-core: 16.0.1
dependencies:
dnd-core: 16.0.1
dnd-multi-backend: 8.1.2([email protected])
react: 19.0.0
- react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
+ react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
react-dom: 19.0.0([email protected])
dependencies:
react: 19.0.0
- react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
+ react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
dependencies:
'@react-dnd/invariant': 4.0.2
dnd-core: 16.0.1
dependencies:
'@react-dnd/invariant': 4.0.2
'@react-dnd/shallowequal': 4.0.2
@@ -18341,7 +18489,7 @@ snapshots:
hoist-non-react-statics: 3.3.2
react: 19.0.0
optionalDependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
'@types/react': 19.0.8
@@ -18403,7 +18551,7 @@ snapshots:
dependencies:
classnames: 2.5.1
immutability-helper: 3.1.1
@@ -18411,9 +18559,9 @@ snapshots:
prop-types: 15.8.1
rdndmb-html5-to-touch: 8.1.2([email protected])
react: 19.0.0
- react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
+ react-dnd: 16.0.1(@types/[email protected])(@types/[email protected])([email protected])
react-dnd-html5-backend: 16.0.1
react-dnd-touch-backend: 16.0.1
uuid: 9.0.1
transitivePeerDependencies:
@@ -18425,6 +18573,25 @@ snapshots:
+ dependencies:
+ react: 19.0.0
+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])
+ tslib: 2.8.1
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ react: 19.0.0
+ react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])
+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])
+ tslib: 2.8.1
+ use-callback-ref: 1.3.3(@types/[email protected])([email protected])
+ use-sidecar: 1.1.3(@types/[email protected])([email protected])
+ optionalDependencies:
+ '@types/react': 19.0.8
+
dependencies:
prop-types: 15.8.1
@@ -18433,6 +18600,14 @@ snapshots:
transitivePeerDependencies:
- react-dom
+ dependencies:
+ get-nonce: 1.0.1
+ react: 19.0.0
+ tslib: 2.8.1
+ optionalDependencies:
+ '@types/react': 19.0.8
+
dependencies:
'@babel/runtime': 7.26.0
@@ -18687,6 +18862,10 @@ snapshots:
dependencies:
tslib: 2.8.1
+ dependencies:
+ tslib: 2.8.1
+
dependencies:
call-bind: 1.0.8
@@ -18940,15 +19119,15 @@ snapshots:
dependencies:
'@babel/runtime': 7.24.7
- '@swc/core': 1.7.5
+ '@swc/core': 1.10.18
deepmerge: 4.3.1
optionalDependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
@@ -19068,13 +19247,13 @@ snapshots:
dependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
@@ -19100,16 +19279,16 @@ snapshots:
dependencies:
- '@swc/core': 1.7.5
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ '@swc/core': 1.10.18
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
- '@swc/core': 1.7.5
+ '@swc/core': 1.10.18
'@swc/counter': 0.1.3
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
@@ -19161,16 +19340,16 @@ snapshots:
dependencies:
'@jridgewell/trace-mapping': 0.3.25
jest-worker: 27.5.1
schema-utils: 4.3.0
serialize-javascript: 6.0.2
terser: 5.39.0
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
optionalDependencies:
- '@swc/core': 1.7.5
+ '@swc/core': 1.10.18
esbuild: 0.25.0
@@ -19276,10 +19455,10 @@ snapshots:
dependencies:
- esbuild: 0.23.1
- get-tsconfig: 4.8.1
+ esbuild: 0.25.0
+ get-tsconfig: 4.10.0
optionalDependencies:
fsevents: 2.3.3
@@ -19473,6 +19652,21 @@ snapshots:
punycode: 1.4.1
qs: 6.14.0
+ dependencies:
+ react: 19.0.0
+ tslib: 2.8.1
+ optionalDependencies:
+ '@types/react': 19.0.8
+
+ dependencies:
+ detect-node-es: 1.1.0
+ react: 19.0.0
+ tslib: 2.8.1
+ optionalDependencies:
+ '@types/react': 19.0.8
+
dependencies:
react: 19.0.0
@@ -19505,13 +19699,13 @@ snapshots:
dependencies:
cac: 6.7.14
debug: 4.4.0
es-module-lexer: 1.6.0
pathe: 2.0.3
transitivePeerDependencies:
- '@types/node'
- jiti
@@ -19526,9 +19720,9 @@ snapshots:
- tsx
- yaml
dependencies:
- '@microsoft/api-extractor': 7.49.1(@types/[email protected])
+ '@microsoft/api-extractor': 7.49.1(@types/[email protected])
'@rollup/pluginutils': 5.1.4([email protected])
'@volar/typescript': 2.4.11
'@vue/language-core': 2.2.0([email protected])
@@ -19539,7 +19733,7 @@ snapshots:
magic-string: 0.30.17
typescript: 5.7.3
optionalDependencies:
transitivePeerDependencies:
- '@types/node'
- rollup
@@ -19551,25 +19745,25 @@ snapshots:
'@types/node': 14.18.63
fs-extra: 11.3.0
dependencies:
esbuild: 0.24.2
postcss: 8.5.3
rollup: 4.34.8
optionalDependencies:
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
fsevents: 2.3.3
jiti: 2.4.2
less: 4.2.2
sass: 1.77.5
terser: 5.39.0
- tsx: 4.19.2
+ tsx: 4.19.3
yaml: 2.7.0
dependencies:
'@vitest/expect': 3.0.6
'@vitest/pretty-format': 3.0.6
'@vitest/runner': 3.0.6
'@vitest/snapshot': 3.0.6
@@ -19585,12 +19779,12 @@ snapshots:
tinyexec: 0.3.2
tinypool: 1.0.2
tinyrainbow: 2.0.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.12
- '@types/node': 22.13.4
+ '@types/node': 22.13.5
happy-dom: 15.0.0
jsdom: 24.1.1
transitivePeerDependencies:
@@ -19609,10 +19803,10 @@ snapshots:
dependencies:
debug: 4.4.0
- eslint: 9.20.1([email protected])
+ eslint: 9.21.0([email protected])
eslint-scope: 7.2.2
eslint-visitor-keys: 3.4.3
espree: 9.6.1
@@ -19654,7 +19848,7 @@ snapshots:
dependencies:
colorette: 2.0.20
memfs: 3.5.3
@@ -19662,7 +19856,7 @@ snapshots:
range-parser: 1.2.1
schema-utils: 4.3.0
optionalDependencies:
- webpack: 5.98.0(@swc/[email protected])([email protected])
+ webpack: 5.98.0(@swc/[email protected])([email protected])
dependencies:
@@ -19674,7 +19868,7 @@ snapshots:
dependencies:
'@types/eslint-scope': 3.7.7
'@types/estree': 1.0.6
@@ -19696,7 +19890,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 4.3.0
tapable: 2.2.1
watchpack: 2.4.2
webpack-sources: 3.2.3
transitivePeerDependencies: