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.

refactor(*): migrate styles from LESS to Tailwind CSS (#5137)

白熱27d89556c1d1
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 0edfb1a40c..bfcd780a3c 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -198,7 +198,6 @@
"jsonc",
"yaml",
"toml",
- "less",
"css"
],
diff --git a/common/shared/package.json b/common/shared/package.json
index 71cd67cfc7..72a0b3a46f 100644
--- a/common/shared/package.json
+++ b/common/shared/package.json
@@ -24,10 +24,11 @@
"univer-cli": "bin/index.ts"
},
"dependencies": {
- "@typescript-eslint/parser": "^8.31.1",
+ "@typescript-eslint/parser": "^8.32.0",
+ "@univerjs/themes": "workspace:*",
"@vitejs/plugin-react": "^4.4.1",
"@vitejs/plugin-vue": "^5.2.3",
- "@vitest/coverage-istanbul": "^3.1.2",
+ "@vitest/coverage-istanbul": "^3.1.3",
"autoprefixer": "^10.4.21",
"eslint-plugin-readable-tailwind": "^1.9.1",
"fs-extra": "^11.3.0",
@@ -35,13 +36,13 @@
"javascript-obfuscator": "^4.1.1",
"postcss-preset-env": "^10.1.6",
"sort-keys": "^5.1.0",
- "tailwind-scrollbar": "^3.1.0",
+ "tailwind-scrollbar": "^4.0.2",
"tailwindcss": "^3.4.17",
"tailwindcss-rem-to-px": "^0.1.1",
- "vite": "^6.3.4",
+ "vite": "^6.3.5",
"vite-plugin-dts": "^4.5.3",
"vite-plugin-external": "^6.2.1",
- "vitest": "^3.1.2"
+ "vitest": "^3.1.3"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
diff --git a/common/shared/tailwind/tailwind.config.ts b/common/shared/tailwind/tailwind.config.ts
index 1208cb2460..3b8a8f9c3f 100644
--- a/common/shared/tailwind/tailwind.config.ts
+++ b/common/shared/tailwind/tailwind.config.ts
@@ -15,6 +15,7 @@
*/
import type { Config } from 'tailwindcss';
+import { defaultTheme } from '@univerjs/themes';
import scrollbar from 'tailwind-scrollbar';
import remToPx from 'tailwindcss-rem-to-px';
@@ -26,140 +27,7 @@ const config: Omit<Config, 'content'> = {
},
theme: {
extend: {
- colors: {
- primary: {
- 50: '#F3F5FF',
- 100: '#E9EDFF',
- 200: '#D2DAFA',
- 300: '#BAC6F8',
- 400: '#6280F9',
- 500: '#466AF7',
- 600: '#2C53F1',
- 700: '#143EE3',
- 800: '#083AD1',
- 900: '#1033BF',
- },
- gray: {
- 50: '#F9FAFB',
- 100: '#EEEFF1',
- 200: '#E3E5EA',
- 300: '#A8B0BD',
- 400: '#7D8698',
- 500: '#4E5565',
- 600: '#31363F',
- 700: '#272A2F',
- 800: '#1F2124',
- 900: '#1B1C1F',
- },
- blue: {
- 50: '#EBF5FF',
- 100: '#E1EFFE',
- 200: '#C3DDFD',
- 300: '#A4CAFE',
- 400: '#76A9FA',
- 500: '#3F83F8',
- 600: '#1C64F2',
- 700: '#1A56DB',
- 800: '#1E429F',
- 900: '#233876',
- },
- red: {
- 50: '#FDF2F2',
- 100: '#FDE8E8',
- 200: '#FBD5D5',
- 300: '#F8B4B4',
- 400: '#F98080',
- 500: '#F05252',
- 600: '#E02424',
- 700: '#C81E1E',
- 800: '#9B1C1C',
- 900: '#771D1D',
- },
- orange: {
- 50: '#FFF8F1',
- 100: '#FEECDC',
- 200: '#FCD9BD',
- 300: '#FDBA8C',
- 400: '#FF8A4C',
- 500: '#FF5A1F',
- 600: '#D03801',
- 700: '#B43403',
- 800: '#8A2C0D',
- 900: '#771D1D',
- },
- yellow: {
- 50: '#FDFCEA',
- 100: '#FFF4B9',
- 200: '#FCDC6A',
- 300: '#FAC815',
- 400: '#F1B312',
- 500: '#D49D0F',
- 600: '#AB7F0E',
- 700: '#9A6D15',
- 800: '#725213',
- 900: '#634312',
- },
- green: {
- 50: '#F3FAF7',
- 100: '#DEF7EC',
- 200: '#BCF0DA',
- 300: '#84E1BC',
- 400: '#31C48D',
- 500: '#0DA471',
- 600: '#057A55',
- 700: '#046C4E',
- 800: '#03543F',
- 900: '#014737',
- },
- jiqing: {
- 50: '#EDFAFA',
- 100: '#D5F5F6',
- 200: '#AFECEF',
- 300: '#7EDCE2',
- 400: '#16BDCA',
- 500: '#0694A2',
- 600: '#047481',
- 700: '#036672',
- 800: '#05505C',
- 900: '#014451',
- },
- indigo: {
- 50: '#F3F5FF',
- 100: '#E9EDFF',
- 200: '#D2DAFA',
- 300: '#BAC6F8',
- 400: '#6280F9',
- 500: '#466AF7',
- 600: '#2C53F1',
- 700: '#143EE3',
- 800: '#083AD1',
- 900: '#1033BF',
- },
- purple: {
- 50: '#F6F5FF',
- 100: '#EDEBFE',
- 200: '#DCD7FE',
- 300: '#CABFFD',
- 400: '#AC94FA',
- 500: '#9061F9',
- 600: '#7E3AF2',
- 700: '#6C2BD9',
- 800: '#5521B5',
- 900: '#4A1D96',
- },
- pink: {
- 50: '#FDF2F8',
- 100: '#FCE8F3',
- 200: '#FAD1E8',
- 300: '#F8B4D9',
- 400: '#F17EB8',
- 500: '#E74694',
- 600: '#D61F69',
- 700: '#BF125D',
- 800: '#99154B',
- 900: '#751A3D',
- },
- },
+ colors: defaultTheme,
boxShadow: {
sm: '0px 1px 2px 0px rgba(30, 40, 77, 0.08)',
md: '0px 1px 6px -2px rgba(30, 40, 77, 0.08), 0px 2px 6px -1px rgba(30, 40, 77, 0.10)',
diff --git a/common/storybook/.storybook/preview.tsx b/common/storybook/.storybook/preview.tsx
index c224bbea8a..90ccc8aece 100644
--- a/common/storybook/.storybook/preview.tsx
+++ b/common/storybook/.storybook/preview.tsx
@@ -40,7 +40,7 @@ import {
ThemeService,
UniverInstanceService,
} from '@univerjs/core';
-import { ConfigProvider, defaultTheme, greenTheme, themeInstance } from '@univerjs/design';
+import { ConfigProvider } from '@univerjs/design';
import enUS from '@univerjs/design/locale/en-US';
import zhCN from '@univerjs/design/locale/zh-CN';
import { DesktopLocalStorageService, RediContext } from '@univerjs/ui';
@@ -49,8 +49,8 @@ import React, { useMemo } from 'react';
import './global.css';
export const themes: Record<string, Record<string, string>> = {
- default: defaultTheme,
- green: greenTheme,
+ // default: defaultTheme,
+ // green: greenTheme,
};
const preview: Preview = {
@@ -104,7 +104,7 @@ const preview: Preview = {
},
decorators: [(Story, context) => {
- themeInstance.setTheme(document.body, themes[context.globals.theme]);
+ // themeInstance.setTheme(document.body, themes[context.globals.theme]);
const designLocale = context.globals.i18n === LocaleType.ZH_CN ? zhCN.design : enUS.design;
if (context.globals.darkMode === 'dark') {
diff --git a/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png b/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png
index 94a5378fec..a9389860d6 100644
Binary files a/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png and b/e2e/visual-comparison/docs/docs-visual-comparison.spec.ts-snapshots/default-doc-ci-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-switching-render-unit.spec.ts-snapshots/switching-render-unit-ci-chromium-linux.png
index b30552dc06..2d9e6d0fbe 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/dark-mode-ci-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/dark-mode-ci-chromium-linux.png
index f14f5c930e..07ce346a6f 100644
Binary files a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/dark-mode-ci-chromium-linux.png and b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/dark-mode-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 e789059066..e7bdfa5d9f 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/src/docs-uniscript/main.ts b/examples/src/docs-uniscript/main.ts
index 19ee4b345c..ce4f227084 100644
--- a/examples/src/docs-uniscript/main.ts
+++ b/examples/src/docs-uniscript/main.ts
@@ -15,7 +15,6 @@
*/
import { LocaleType, LogLevel, Univer, UniverInstanceType } from '@univerjs/core';
-import { defaultTheme } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';
@@ -32,7 +31,6 @@ import '../global.css';
// univer
const univer = new Univer({
- theme: defaultTheme,
locale: LocaleType.ZH_CN,
locales: {
[LocaleType.ZH_CN]: zhCN,
diff --git a/examples/src/docs/main.ts b/examples/src/docs/main.ts
index f4b1521f41..fd60e4dda0 100644
--- a/examples/src/docs/main.ts
+++ b/examples/src/docs/main.ts
@@ -17,7 +17,6 @@
import { LocaleType, LogLevel, Univer, UniverInstanceType, UserManagerService } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
-import { defaultTheme } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsDrawingUIPlugin } from '@univerjs/docs-drawing-ui';
import { UniverDocsHyperLinkUIPlugin } from '@univerjs/docs-hyper-link-ui';
@@ -38,7 +37,6 @@ const IS_E2E: boolean = !!process.env.IS_E2E;
// univer
const univer = new Univer({
- theme: defaultTheme,
locale: LocaleType.ZH_CN,
locales: {
[LocaleType.ZH_CN]: zhCN,
diff --git a/examples/src/mobile-s/main.ts b/examples/src/mobile-s/main.ts
index 86ed8981a0..2696978f83 100644
--- a/examples/src/mobile-s/main.ts
+++ b/examples/src/mobile-s/main.ts
@@ -16,7 +16,6 @@
import type { FUniver } from '@univerjs/core/facade';
import { LocaleType, LogLevel, Univer, UniverInstanceType, UserManagerService } from '@univerjs/core';
-import { defaultTheme } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';
@@ -39,7 +38,6 @@ import '../global.css';
// univer
const univer = new Univer({
- theme: defaultTheme,
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: enUS,
diff --git a/examples/src/sheets-multi-units/main.ts b/examples/src/sheets-multi-units/main.ts
index 470d06366c..7a0009cac7 100644
--- a/examples/src/sheets-multi-units/main.ts
+++ b/examples/src/sheets-multi-units/main.ts
@@ -16,7 +16,6 @@
import { CellValueType, LocaleType, LogLevel, Univer, UserManagerService } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
-import { defaultTheme } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsDrawingUIPlugin } from '@univerjs/docs-drawing-ui';
import { UniverDocsMentionUIPlugin } from '@univerjs/docs-mention-ui';
@@ -78,7 +77,6 @@ export const mockUser = {
// univer
const univer = new Univer({
- theme: defaultTheme,
locale: LocaleType.ZH_CN,
locales: {
[LocaleType.ZH_CN]: zhCN,
diff --git a/examples/src/sheets-multi/main.tsx b/examples/src/sheets-multi/main.tsx
index 344a15dafb..243b1023a6 100644
--- a/examples/src/sheets-multi/main.tsx
+++ b/examples/src/sheets-multi/main.tsx
@@ -15,8 +15,7 @@
*/
import { LocaleType, LogLevel, Tools, Univer, UniverInstanceType } from '@univerjs/core';
-import { defaultTheme, render } from '@univerjs/design';
-
+import { render } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';
@@ -29,7 +28,7 @@ import { UniverSheetsNumfmtPlugin } from '@univerjs/sheets-numfmt';
import { UniverSheetsNumfmtUIPlugin } from '@univerjs/sheets-numfmt-ui';
import { UniverSheetsUIPlugin } from '@univerjs/sheets-ui';
import { UniverUIPlugin } from '@univerjs/ui';
-import React, { useEffect } from 'react';
+import { useEffect } from 'react';
import { Mosaic, MosaicWindow } from 'react-mosaic-component';
import { enUS, faIR, frFR, ruRU, zhCN } from '../locales';
@@ -40,7 +39,6 @@ import '../global.css';
function factory(id: string) {
return function createUniverOnContainer() {
const univer = new Univer({
- theme: defaultTheme,
locale: LocaleType.ZH_CN,
locales: {
[LocaleType.ZH_CN]: zhCN,
diff --git a/examples/src/sheets-uniscript/main.ts b/examples/src/sheets-uniscript/main.ts
index a026d97959..4b93646345 100644
--- a/examples/src/sheets-uniscript/main.ts
+++ b/examples/src/sheets-uniscript/main.ts
@@ -16,7 +16,6 @@
import { LocaleType, LogLevel, Univer, UniverInstanceType } from '@univerjs/core';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
-import { defaultTheme } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';
@@ -35,7 +34,6 @@ import '../global.css';
// univer
const univer = new Univer({
- theme: defaultTheme,
locale: LocaleType.ZH_CN,
locales: {
[LocaleType.ZH_CN]: zhCN,
diff --git a/examples/src/sheets/main.ts b/examples/src/sheets/main.ts
index bded80ba8b..5ddb3d26d4 100644
--- a/examples/src/sheets/main.ts
+++ b/examples/src/sheets/main.ts
@@ -17,7 +17,6 @@
import { LocaleType, LogLevel, Univer, UniverInstanceType, UserManagerService } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
-import { defaultTheme } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
import { UniverFormulaEnginePlugin } from '@univerjs/engine-formula';
@@ -89,8 +88,6 @@ export const mockUser = {
function createNewInstance() {
// univer
const univer = new Univer({
- theme: defaultTheme,
- locale: LocaleType.ZH_CN,
locales: {
[LocaleType.ZH_CN]: zhCN,
[LocaleType.EN_US]: enUS,
diff --git a/examples/src/slides/main.ts b/examples/src/slides/main.ts
index cae5d4617b..5e2c091d60 100644
--- a/examples/src/slides/main.ts
+++ b/examples/src/slides/main.ts
@@ -15,7 +15,6 @@
*/
import { LocaleType, Univer, UniverInstanceType } from '@univerjs/core';
-import { greenTheme } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsUIPlugin } from '@univerjs/docs-ui';
import { UniverDrawingPlugin } from '@univerjs/drawing';
@@ -32,7 +31,6 @@ import '../global.css';
// univer
const univer = new Univer({
- theme: greenTheme,
locale: LocaleType.ZH_CN,
locales: {
[LocaleType.ZH_CN]: zhCN,
diff --git a/examples/src/uni/main.ts b/examples/src/uni/main.ts
index 56266cf4e7..b09e66e16b 100644
--- a/examples/src/uni/main.ts
+++ b/examples/src/uni/main.ts
@@ -17,7 +17,6 @@
import { Injector, LocaleType, LogLevel, Univer, UniverInstanceType } from '@univerjs/core';
import { FUniver } from '@univerjs/core/facade';
import { UniverDebuggerPlugin } from '@univerjs/debugger';
-import { defaultTheme } from '@univerjs/design';
import { UniverDocsPlugin } from '@univerjs/docs';
import { UniverDocsDrawingUIPlugin } from '@univerjs/docs-drawing-ui';
import { DocUIController, UniverDocsUIPlugin } from '@univerjs/docs-ui';
@@ -53,7 +52,6 @@ const LOAD_LAZY_PLUGINS_TIMEOUT = 4_000;
// univer
const univer = new Univer({
- theme: defaultTheme,
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: enUS,
diff --git a/package.json b/package.json
index 8020fb5431..9a2f4ab6d5 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"type": "module",
"version": "0.7.0-beta.0",
"private": true,
- "packageManager": "[email protected]",
+ "packageManager": "[email protected]",
"author": "DreamNum Co., Ltd. <[email protected]>",
"license": "Apache-2.0",
"funding": {
@@ -48,7 +48,7 @@
"@antfu/eslint-config": "4.12.0",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
- "@eslint-react/eslint-plugin": "^1.48.5",
+ "@eslint-react/eslint-plugin": "^1.49.0",
"@playwright/test": "^1.52.0",
"@release-it-plugins/workspaces": "^4.2.0",
"@release-it/conventional-changelog": "^9.0.4",
@@ -60,7 +60,7 @@
"@univerjs-infra/shared": "workspace:*",
"@univerjs/design": "workspace:*",
"@vitejs/plugin-react": "^4.4.1",
- "eslint": "9.25.1",
+ "eslint": "9.26.0",
"eslint-plugin-format": "^1.0.1",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jsdoc": "^50.6.11",
@@ -72,7 +72,7 @@
"fs-extra": "^11.3.0",
"husky": "^9.1.7",
"lint-staged": "^15.5.1",
- "posthog-node": "^4.15.0",
+ "posthog-node": "^4.17.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"release-it": "^17.11.0",
@@ -80,7 +80,7 @@
"tsx": "^4.19.4",
"turbo": "^2.5.2",
"typescript": "^5.8.3",
- "vitest": "^3.1.2"
+ "vitest": "^3.1.3"
},
"pnpm": {
"onlyBuiltDependencies": [
diff --git a/packages-experimental/action-recorder/package.json b/packages-experimental/action-recorder/package.json
index ad0f3f7d81..a84c4d9a7a 100644
--- a/packages-experimental/action-recorder/package.json
+++ b/packages-experimental/action-recorder/package.json
@@ -80,7 +80,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages-experimental/debugger/package.json b/packages-experimental/debugger/package.json
index 2354700032..db18fde58a 100644
--- a/packages-experimental/debugger/package.json
+++ b/packages-experimental/debugger/package.json
@@ -72,6 +72,7 @@
"@univerjs/mockdata": "workspace:*",
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-drawing-ui": "workspace:*",
+ "@univerjs/themes": "workspace:*",
"@univerjs/ui": "workspace:*",
"@univerjs/watermark": "workspace:*"
},
@@ -85,8 +86,8 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2",
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3",
"vue": "^3.5.13"
}
}
diff --git a/packages-experimental/debugger/src/commands/operations/theme.operation.ts b/packages-experimental/debugger/src/commands/operations/theme.operation.ts
index 7b72976e8c..4784b35f48 100644
--- a/packages-experimental/debugger/src/commands/operations/theme.operation.ts
+++ b/packages-experimental/debugger/src/commands/operations/theme.operation.ts
@@ -14,11 +14,12 @@
* limitations under the License.
*/
-import type { IAccessor, ICommand, IStyleSheet } from '@univerjs/core';
+import type { IAccessor, ICommand } from '@univerjs/core';
+import type { Theme } from '@univerjs/themes';
import { CommandType, ThemeService } from '@univerjs/core';
export interface IThemeCommandParams {
- value?: IStyleSheet;
+ value?: Theme;
}
export const ThemeOperation: ICommand = {
diff --git a/packages-experimental/debugger/src/controllers/menu.ts b/packages-experimental/debugger/src/controllers/menu.ts
index e02edec9fb..cf93c7e795 100644
--- a/packages-experimental/debugger/src/controllers/menu.ts
+++ b/packages-experimental/debugger/src/controllers/menu.ts
@@ -17,9 +17,9 @@
import type { IAccessor } from '@univerjs/core';
import type { IMenuButtonItem, IMenuSelectorItem } from '@univerjs/ui';
import { LocaleType } from '@univerjs/core';
-import { defaultTheme, greenTheme } from '@univerjs/design';
+import { defaultTheme, greenTheme } from '@univerjs/themes';
+// import { defaultTheme } from '@univerjs/themes';
import { MenuItemType } from '@univerjs/ui';
-
import { CreateFloatDomCommand } from '../commands/commands/float-dom.command';
import { CreateEmptySheetCommand, DisposeCurrentUnitCommand, DisposeUniverCommand, LoadSheetSnapshotCommand } from '../commands/commands/unit.command';
import { ShowCellContentOperation } from '../commands/operations/cell.operation';
diff --git a/packages-experimental/sheets-source-binding/package.json b/packages-experimental/sheets-source-binding/package.json
index e57b53f0b7..f5b881e162 100644
--- a/packages-experimental/sheets-source-binding/package.json
+++ b/packages-experimental/sheets-source-binding/package.json
@@ -77,7 +77,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages-experimental/uni-docs-ui/package.json b/packages-experimental/uni-docs-ui/package.json
index 72076fff79..6f92f1851d 100644
--- a/packages-experimental/uni-docs-ui/package.json
+++ b/packages-experimental/uni-docs-ui/package.json
@@ -73,7 +73,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages-experimental/uni-formula-ui/package.json b/packages-experimental/uni-formula-ui/package.json
index d4e701a1d1..79cc4687c6 100644
--- a/packages-experimental/uni-formula-ui/package.json
+++ b/packages-experimental/uni-formula-ui/package.json
@@ -85,7 +85,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages-experimental/uni-formula/package.json b/packages-experimental/uni-formula/package.json
index fe81c9a4ca..4f28aef93f 100644
--- a/packages-experimental/uni-formula/package.json
+++ b/packages-experimental/uni-formula/package.json
@@ -61,7 +61,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages-experimental/uni-sheets-ui/package.json b/packages-experimental/uni-sheets-ui/package.json
index 4aafdb03c8..c3c64176b6 100644
--- a/packages-experimental/uni-sheets-ui/package.json
+++ b/packages-experimental/uni-sheets-ui/package.json
@@ -78,7 +78,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages-experimental/uni-slides-ui/package.json b/packages-experimental/uni-slides-ui/package.json
index 5c802c88ff..17b9a64b07 100644
--- a/packages-experimental/uni-slides-ui/package.json
+++ b/packages-experimental/uni-slides-ui/package.json
@@ -74,7 +74,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages-experimental/uni-slides-ui/src/views/UniSlideSideBar.tsx b/packages-experimental/uni-slides-ui/src/views/UniSlideSideBar.tsx
index 9d03bf6bb0..8343a6084b 100644
--- a/packages-experimental/uni-slides-ui/src/views/UniSlideSideBar.tsx
+++ b/packages-experimental/uni-slides-ui/src/views/UniSlideSideBar.tsx
@@ -132,8 +132,7 @@ export function UniSlideSideBar() {
univer-relative univer-mt-4 univer-flex univer-h-8 univer-cursor-pointer univer-items-center
univer-justify-center univer-rounded-lg univer-border-0 univer-bg-transparent univer-px-1
univer-text-primary-500
- before:absolute before:left-0 before:top-0 before:h-[1px] before:content-['']
- before:univer-bg-gray-200
+ before:absolute before:left-0 before:top-0 before:h-px before:content-[''] before:univer-bg-gray-200
hover:univer-bg-gray-100
`}
onClick={handleAppendSlide}
diff --git a/packages-experimental/uniui/package.json b/packages-experimental/uniui/package.json
index 53c43f3bee..5555e9c7b4 100644
--- a/packages-experimental/uniui/package.json
+++ b/packages-experimental/uniui/package.json
@@ -69,17 +69,18 @@
"@univerjs/sheets": "workspace:*",
"@univerjs/sheets-ui": "workspace:*",
"@univerjs/ui": "workspace:*",
- "@xyflow/react": "^12.5.5"
+ "@xyflow/react": "^12.6.0"
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
+ "@univerjs/themes": "workspace:*",
"postcss": "^8.5.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages-experimental/uniui/src/views/uni-controls/UniControls.tsx b/packages-experimental/uniui/src/views/uni-controls/UniControls.tsx
index 27d2f6392d..2abc1cef02 100644
--- a/packages-experimental/uniui/src/views/uni-controls/UniControls.tsx
+++ b/packages-experimental/uniui/src/views/uni-controls/UniControls.tsx
@@ -185,7 +185,7 @@ export const UniControls = ({ zoom, onItemClick }: { zoom: number; onItemClick?:
<a
className={clsx(
`
- univer-h-[28px] univer-w-[55px] univer-cursor-pointer univer-rounded univer-text-center
+ univer-h-7 univer-w-[55px] univer-cursor-pointer univer-rounded univer-text-center
univer-text-xs univer-leading-loose univer-text-gray-700 univer-no-underline
univer-transition-all univer-duration-200
group-data-[open=true]:univer-bg-gray-200
diff --git a/packages-experimental/uniui/src/views/uni-toolbar/UniFloatToolbar.tsx b/packages-experimental/uniui/src/views/uni-toolbar/UniFloatToolbar.tsx
index 008ef4c3ba..7962b5f8bb 100644
--- a/packages-experimental/uniui/src/views/uni-toolbar/UniFloatToolbar.tsx
+++ b/packages-experimental/uniui/src/views/uni-toolbar/UniFloatToolbar.tsx
@@ -111,7 +111,7 @@ export const UniFloatingToolbar = React.forwardRef<IFloatingToolbarRef, { node:
});
export function UniDiv() {
- return <div className="univer-h-6 univer-w-[1px] univer-bg-gray-100" />;
+ return <div className="univer-h-6 univer-w-px univer-bg-gray-100" />;
}
export function UnitName({ unitId }: { unitId: string }) {
diff --git a/packages-experimental/uniui/src/views/workbench/UniWorkbench.tsx b/packages-experimental/uniui/src/views/workbench/UniWorkbench.tsx
index 313b4bc0c7..bea28c2581 100644
--- a/packages-experimental/uniui/src/views/workbench/UniWorkbench.tsx
+++ b/packages-experimental/uniui/src/views/workbench/UniWorkbench.tsx
@@ -25,7 +25,7 @@ import type {
} from '@xyflow/react';
import type { IFloatingToolbarRef } from '../uni-toolbar/UniFloatToolbar';
import { debounce, ICommandService, IContextService, IUniverInstanceService, LocaleService, ThemeService } from '@univerjs/core';
-import { clsx, ConfigContext, ConfigProvider, defaultTheme, themeInstance } from '@univerjs/design';
+import { clsx, ConfigContext, ConfigProvider } from '@univerjs/design';
import { IRenderManagerService } from '@univerjs/engine-render';
import { MenuSingle } from '@univerjs/icons';
import {
@@ -45,7 +45,7 @@ import {
ReactFlowProvider,
useNodesState,
} from '@xyflow/react';
-import React, { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
+import { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
import { createPortal } from 'react-dom';
import { UniFocusUnitOperation } from '../../commands/operations/uni-focus-unit.operation';
import { FlowManagerService } from '../../services/flow/flow-manager.service';
@@ -91,12 +91,6 @@ export function UniWorkbench(props: IUniWorkbenchProps) {
const focusedUnit = useObservable(instanceService.focused$);
- useEffect(() => {
- if (!themeService.getCurrentTheme()) {
- themeService.setTheme(defaultTheme);
- }
- }, []);
-
useEffect(() => {
if (contentRef.current) {
onRendered?.(contentRef.current);
@@ -129,10 +123,6 @@ export function UniWorkbench(props: IUniWorkbenchProps) {
localeService.localeChanged$.subscribe(() => {
setLocale(localeService.getLocales() as unknown as ILocale);
}),
- themeService.currentTheme$.subscribe((theme) => {
- themeInstance.setTheme(mountContainer, theme);
- portalContainer && themeInstance.setTheme(portalContainer, theme);
- }),
];
return () => {
diff --git a/packages/core/package.json b/packages/core/package.json
index 854258aace..80d6c779e0 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -74,6 +74,7 @@
},
"dependencies": {
"@univerjs/protocol": "0.1.45",
+ "@univerjs/themes": "workspace:*",
"@wendellhu/redi": "0.18.0",
"async-lock": "^1.4.1",
"dayjs": "^1.11.13",
@@ -94,7 +95,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index 6f0c2b1e08..d75456efe1 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -124,7 +124,7 @@ export { IResourceLoaderService } from './services/resource-loader/type';
export { ResourceManagerService } from './services/resource-manager/resource-manager.service';
export type { IResourceHook, IResources } from './services/resource-manager/type';
export { IResourceManagerService } from './services/resource-manager/type';
-export { type IStyleSheet, ThemeService } from './services/theme/theme.service';
+export { ThemeService } from './services/theme/theme.service';
// #region sheet
diff --git a/packages/core/src/services/theme/theme.service.ts b/packages/core/src/services/theme/theme.service.ts
index d19482e134..1e03f76d82 100644
--- a/packages/core/src/services/theme/theme.service.ts
+++ b/packages/core/src/services/theme/theme.service.ts
@@ -15,23 +15,20 @@
*/
import type { Observable } from 'rxjs';
-import type { Nullable } from '../../shared/types';
-
+import { defaultTheme } from '@univerjs/themes';
import { BehaviorSubject } from 'rxjs';
import { Disposable, toDisposable } from '../../shared/lifecycle';
-export interface IStyleSheet {
- [key: string]: string;
-}
+export type Theme = typeof defaultTheme;
export class ThemeService extends Disposable {
private readonly _darkMode$ = new BehaviorSubject<boolean>(false);
readonly darkMode$: Observable<boolean> = this._darkMode$.asObservable();
get darkMode(): boolean { return this._darkMode$.getValue(); }
- private _currentTheme: Nullable<IStyleSheet>;
- private readonly _currentTheme$ = new BehaviorSubject<IStyleSheet>({});
- readonly currentTheme$: Observable<IStyleSheet> = this._currentTheme$.asObservable();
+ private _currentTheme: Theme = defaultTheme;
+ private readonly _currentTheme$ = new BehaviorSubject<Theme>(this._currentTheme);
+ readonly currentTheme$: Observable<Theme> = this._currentTheme$.asObservable();
constructor() {
super();
@@ -42,15 +39,11 @@ export class ThemeService extends Disposable {
}));
}
- getCurrentTheme(): IStyleSheet {
- if (!this._currentTheme) {
- throw new Error('[ThemeService]: current theme is not set!');
- }
-
+ getCurrentTheme(): Theme {
return this._currentTheme;
}
- setTheme(theme: IStyleSheet): void {
+ setTheme(theme: Theme): void {
this._currentTheme = theme;
this._currentTheme$.next(theme);
}
diff --git a/packages/core/src/univer.ts b/packages/core/src/univer.ts
index b46551a43c..bbad1ec0dc 100644
--- a/packages/core/src/univer.ts
+++ b/packages/core/src/univer.ts
@@ -14,12 +14,12 @@
* limitations under the License.
*/
+import type { Theme } from '@univerjs/themes';
import type { Dependency, IDisposable } from './common/di';
import type { UnitModel, UnitType } from './common/unit';
import type { LogLevel } from './services/log/log.service';
import type { DependencyOverride } from './services/plugin/plugin-override';
import type { Plugin, PluginCtor } from './services/plugin/plugin.service';
-import type { IStyleSheet } from './services/theme/theme.service';
import type { ILocales } from './shared';
import type { IWorkbookData } from './sheets/typedef';
import type { LocaleType } from './types/enum/locale-type';
@@ -56,7 +56,7 @@ import { Workbook } from './sheets/workbook';
import { SlideDataModel } from './slides/slide-model';
export interface IUniverConfig {
- theme: IStyleSheet;
+ theme?: Theme;
locale: LocaleType;
locales: ILocales;
logLevel: LogLevel;
diff --git a/packages/data-validation/package.json b/packages/data-validation/package.json
index 02646986d1..1d9f5b5493 100644
--- a/packages/data-validation/package.json
+++ b/packages/data-validation/package.json
@@ -70,7 +70,7 @@
"@univerjs/sheets": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/design/README.md b/packages/design/README.md
index 54420b5e68..e542aa38e8 100644
--- a/packages/design/README.md
+++ b/packages/design/README.md
@@ -32,21 +32,6 @@ pnpm add @univerjs/design
This package contains CSS and has the highest priority. Please import it before importing any other Univer style files.
-### Built-in themes
-
-The package provides two built-in themes: `defaultTheme` and `greenTheme`. You can import them directly and use them in your application.
-
-```typescript
-import { defaultTheme } from '@univerjs/design';
-// import { greenTheme } from '@univerjs/design';
-
-// Use the default theme
-new Univer({
- theme: defaultTheme,
- // theme: greenTheme,
-});
-```
-
<!-- Links -->
[npm-version-shield]: https://img.shields.io/npm/v/@univerjs/design?style=flat-square
[npm-version-link]: https://npmjs.com/package/@univerjs/design
diff --git a/packages/design/package.json b/packages/design/package.json
index 2d51a935de..776c46a82a 100644
--- a/packages/design/package.json
+++ b/packages/design/package.json
@@ -68,14 +68,15 @@
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"dependencies": {
- "@radix-ui/react-dialog": "^1.1.11",
- "@radix-ui/react-dropdown-menu": "^2.1.12",
- "@radix-ui/react-popover": "^1.1.11",
- "@radix-ui/react-separator": "^1.1.4",
- "@radix-ui/react-slot": "^1.2.0",
- "@radix-ui/react-tooltip": "^1.2.4",
+ "@radix-ui/react-dialog": "^1.1.13",
+ "@radix-ui/react-dropdown-menu": "^2.1.14",
+ "@radix-ui/react-popover": "^1.1.13",
+ "@radix-ui/react-separator": "^1.1.6",
+ "@radix-ui/react-slot": "^1.2.2",
+ "@radix-ui/react-tooltip": "^1.2.6",
"@rc-component/trigger": "^2.2.6",
"@univerjs/icons": "^0.3.24",
+ "@univerjs/themes": "workspace:*",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.13",
@@ -95,14 +96,13 @@
"@types/react-transition-group": "^4.4.12",
"@univerjs-infra/shared": "workspace:*",
"@univerjs/core": "workspace:*",
- "less": "^4.3.0",
"postcss": "^8.5.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/design/src/components/button/index.module.less b/packages/design/src/components/button/index.module.less
deleted file mode 100644
index 4cc4d2b5ab..0000000000
--- a/packages/design/src/components/button/index.module.less
+++ /dev/null
@@ -1,118 +0,0 @@
-.button {
- cursor: pointer;
- user-select: none;
-
- position: relative;
-
- display: inline-block;
-
- line-height: 1;
- text-align: center;
- white-space: nowrap;
-
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-base);
-
- transition: all 0.15s;
-
- &[disabled] {
- cursor: not-allowed;
- color: rgb(var(--grey-300));
- }
-
- /** type */
- &-default {
- font-weight: 400;
- color: rgb(var(--text-color));
- background-color: rgb(var(--bg-color-secondary));
-
- &[disabled] {
- &:hover {
- color: rgb(var(--grey-300));
- border-color: rgb(var(--border-color));
- }
- }
-
- &:hover {
- color: rgb(var(--primary-color));
- border-color: rgb(var(--primary-color));
- }
- }
-
- &-primary {
- font-weight: 500;
- color: rgb(var(--color-white));
- background-color: rgb(var(--primary-color));
- border-color: rgb(var(--primary-color));
-
- &[disabled] {
- background-color: rgb(var(--bg-color-secondary));
- border-color: rgb(var(--border-color));
-
- &:hover {
- color: rgb(var(--grey-300));
- background-color: rgb(var(--bg-color-secondary));
- border-color: rgb(var(--border-color));
- }
- }
-
- &:hover {
- color: rgb(var(--color-white));
- background-color: rgb(var(--primary-color-hover));
- border-color: rgb(var(--primary-color-hover));
- }
- }
-
- &-text {
- color: rgb(var(--text-color));
- background-color: transparent;
- border-color: transparent;
-
- &[disabled] {
- &:hover {
- background-color: transparent;
- }
- }
-
- &:hover {
- background-color: rgb(var(--bg-color-hover));
- }
- }
-
- &-link {
- color: rgb(var(--primary-color));
- background-color: transparent;
- border-color: transparent;
-
- &[disabled] {
- &:hover {
- background-color: transparent;
- }
- }
-
- &:hover {
- background-color: rgb(var(--bg-color-hover));
- }
- }
-
- /** size */
- &-small {
- padding: 6px 8px;
- font-size: var(--font-size-sm);
- }
-
- &-middle {
- padding: 8px 12px;
- font-size: var(--font-size-base);
- }
-
- &-large {
- padding: 10px 20px;
- font-size: var(--font-size-base);
- }
-
- /** block */
- &-block {
- width: 100%;
- }
-}
diff --git a/packages/design/src/components/date-picker/DatePanel.tsx b/packages/design/src/components/date-picker/DatePanel.tsx
index 69002587e8..0ac636e9a4 100644
--- a/packages/design/src/components/date-picker/DatePanel.tsx
+++ b/packages/design/src/components/date-picker/DatePanel.tsx
@@ -20,7 +20,7 @@ import { PickerPanel } from 'rc-picker';
import generateConfig from 'rc-picker/lib/generate/dayjs';
import { useContext } from 'react';
import { ConfigContext } from '../config-provider';
-import styles from './index.module.less';
+import styles from './index.module.css';
export type IDatePanelProps = Omit<BasePickerPanelProps<dayjs.Dayjs>, 'prefixCls' | 'locale' | 'generateConfig'> & {
multiple?: boolean;
diff --git a/packages/design/src/components/date-picker/DatePicker.tsx b/packages/design/src/components/date-picker/DatePicker.tsx
index 4802431a84..96f2b41774 100644
--- a/packages/design/src/components/date-picker/DatePicker.tsx
+++ b/packages/design/src/components/date-picker/DatePicker.tsx
@@ -19,9 +19,9 @@ import type { PickerProps } from 'rc-picker';
import { CalendarSingle } from '@univerjs/icons';
import RcPicker from 'rc-picker';
import generateConfig from 'rc-picker/lib/generate/dayjs';
-import React, { useContext } from 'react';
+import { useContext } from 'react';
import { ConfigContext } from '../config-provider/ConfigProvider';
-import styles from './index.module.less';
+import styles from './index.module.css';
export interface IDatePickerProps extends Omit<PickerProps<dayjs.Dayjs>, 'value' | 'onChange' | 'locale' | 'generateConfig' | 'prefixCls'> {
/**
diff --git a/packages/design/src/components/date-picker/index.module.css b/packages/design/src/components/date-picker/index.module.css
new file mode 100644
index 0000000000..2654f26d85
--- /dev/null
+++ b/packages/design/src/components/date-picker/index.module.css
@@ -0,0 +1,307 @@
+.date-picker {
+ position: relative;
+ width: 200px;
+ height: 32px;
+ border-radius: 4px;
+ box-sizing: border-box;
+ display: inline-flex;
+ @apply univer-bg-white univer-border univer-border-solid univer-border-gray-200;
+}
+
+.date-picker-rtl {
+ direction: rtl;
+}
+
+.date-picker-invalid {
+ box-shadow: 0 0 2px red;
+}
+
+.date-picker-panel {
+ display: inline-block;
+ vertical-align: top;
+}
+
+.date-picker-panel-focused {
+ border-color: blue;
+}
+
+.date-picker-panel-rtl {
+ direction: rtl;
+}
+
+.date-picker-suffix-icon {
+ position: absolute;
+ top: 50%;
+ right: 0;
+ bottom: 0;
+ display: flex;
+ align-items: center;
+ padding: 0 8px;
+ transform: translateY(-50%);
+ cursor: pointer;
+ @apply univer-text-gray-600;
+}
+
+.date-picker-decade-panel,
+.date-picker-year-panel,
+.date-picker-month-panel,
+.date-picker-week-panel,
+.date-picker-date-panel,
+.date-picker-time-panel {
+ display: flex;
+ flex-direction: column;
+}
+
+.date-picker-decade-panel table,
+.date-picker-year-panel table,
+.date-picker-month-panel table,
+.date-picker-week-panel table,
+.date-picker-date-panel table,
+.date-picker-time-panel table {
+ text-align: center;
+ border-collapse: collapse;
+}
+
+/* Header */
+.date-picker-header {
+ margin-bottom: 12px;
+ display: flex;
+ align-items: center;
+}
+
+.date-picker-header > * {
+ flex: none;
+}
+
+.date-picker-header-view {
+ height: 16px;
+ flex: auto;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ gap: 8px;
+}
+
+.date-picker-header-view > button {
+ padding: 0;
+ border: 0;
+ background-color: transparent;
+ cursor: pointer;
+}
+
+.date-picker-header-super-prev-btn,
+.date-picker-header-super-next-btn,
+.date-picker-header-prev-btn,
+.date-picker-header-next-btn {
+ width: 16px;
+ height: 16px;
+ padding: 0;
+ line-height: 16px;
+ font-size: 16px;
+ border: none;
+ background-color: transparent;
+ cursor: pointer;
+}
+
+/* Content */
+.date-picker-cell {
+ color: #aaa;
+}
+
+.date-picker-cell-disabled {
+ opacity: 0.2;
+}
+
+.date-picker-cell-inner {
+ display: inline-block;
+ box-sizing: border-box;
+ width: 100%;
+ height: 24px;
+ margin: 0;
+ padding: 0;
+ font-size: 12px;
+ line-height: 24px;
+ background: transparent;
+ border: 0;
+ border-radius: 4px;
+ outline: none;
+ cursor: pointer;
+ transition: background 0.3s;
+}
+
+.date-picker-cell-in-view {
+ color: #333;
+}
+
+.date-picker-cell-in-range > .date-picker-cell-inner {
+ background: rgba(0, 0, 255, 0.05);
+}
+
+.date-picker-cell-hover > .date-picker-cell-inner {
+ @apply univer-bg-gray-100;
+}
+
+.date-picker-cell-range-hover-start::after,
+.date-picker-cell-range-hover-end::after,
+.date-picker-cell-range-hover::after {
+ position: absolute;
+ top: 3px;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ border: 1px solid green;
+ border-right: 0;
+ border-left: 0;
+ content: '';
+ pointer-events: none;
+}
+
+.date-picker-cell-range-hover-start::after {
+ border-left: 1px solid green !important;
+}
+
+.date-picker-cell-range-hover-end::after {
+ border-right: 1px solid green !important;
+}
+
+.date-picker-cell-today > .date-picker-cell-inner {
+ @apply univer-border univer-border-solid univer-border-primary-600;
+}
+
+.date-picker-cell-range-start > .date-picker-cell-inner,
+.date-picker-cell-range-end > .date-picker-cell-inner,
+.date-picker-cell-selected > .date-picker-cell-inner {
+ color: #fff;
+ @apply univer-bg-primary-600;
+}
+
+/* Preset */
+.date-picker-presets {
+ background: #ccccff;
+}
+
+.date-picker-presets ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+/* Now Button */
+.date-picker-now {
+ padding-top: 12px;
+}
+
+.date-picker-now-btn {
+ font-size: 13px;
+ cursor: pointer;
+ @apply univer-text-primary-600;
+}
+
+/* Footer */
+.date-picker-footer,
+.date-picker-picker-footer {
+ margin-top: 12px;
+ @apply univer-border-0 univer-border-t univer-border-solid univer-border-t-gray-200;
+}
+
+/* Clear Button */
+.date-picker-clear {
+ position: absolute;
+ top: 7px;
+ right: 8px;
+ cursor: pointer;
+}
+
+.date-picker-clear-btn {
+ width: 16px;
+ height: 16px;
+ text-align: center;
+ line-height: 16px;
+ border-radius: 50%;
+ display: block;
+ @apply univer-bg-gray-500;
+}
+
+.date-picker-clear-btn::before {
+ content: '×';
+ position: absolute;
+ top: -1px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ color: white;
+ font-size: 16px;
+ line-height: 16px;
+}
+
+/* Dropdown */
+.date-picker-dropdown {
+ position: absolute;
+ pointer-events: none;
+}
+
+.date-picker-dropdown-range {
+ padding: 10px 0;
+}
+
+.date-picker-dropdown-hidden {
+ display: none;
+}
+
+/* Range Picker */
+.date-picker-range {
+ position: relative;
+ display: inline-flex;
+}
+
+.date-picker-range-wrapper {
+ display: flex;
+}
+
+.date-picker-active-bar {
+ bottom: 0;
+ height: 3px;
+ background: green;
+ opacity: 0;
+ transition: all 0.3s;
+ pointer-events: none;
+}
+
+.date-picker-focused .date-picker-active-bar {
+ opacity: 1;
+}
+
+/* Panel Container */
+.date-picker-panel-container {
+ display: inline-block;
+ vertical-align: top;
+ transition: margin 0.3s;
+ pointer-events: all;
+}
+
+.date-picker-panel-layout {
+ display: flex;
+ flex-wrap: nowrap;
+ align-items: stretch;
+ overflow: hidden;
+ @apply univer-bg-white univer-border univer-border-solid univer-border-gray-200 univer-rounded univer-shadow univer-p-4;
+}
+
+/* Input */
+.date-picker-input {
+ position: relative;
+ display: inline-flex;
+ width: 100%;
+}
+
+.date-picker-input > input {
+ width: 100%;
+ padding-left: 12px;
+ border: none;
+ border-radius: 4px;
+ box-sizing: border-box;
+}
+
+.date-picker-input > input:focus {
+ outline: none;
+}
diff --git a/packages/design/src/components/date-picker/index.module.less b/packages/design/src/components/date-picker/index.module.less
deleted file mode 100644
index 76539170c0..0000000000
--- a/packages/design/src/components/date-picker/index.module.less
+++ /dev/null
@@ -1,682 +0,0 @@
-@prefix-cls: date-picker;
-
-@background-color: rgb(var(--bg-color-secondary));
-
-@input-placeholder-color: hsv(0, 0, 75%);
-
-@time-panel-padding-total: 180px;
-// @time-panel-padding-top: 90px;
-@time-panel-padding-top: 0;
-
-@cell-size: 24px;
-
-.placeholder(@color: @input-placeholder-color) {
- // Firefox
- &::-moz-placeholder {
- opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
- }
-
- &::placeholder {
- color: @color;
- }
-
- &:placeholder-shown {
- text-overflow: ellipsis;
- }
-}
-
-.@{prefix-cls} {
- position: relative;
- width: 200px;
- height: 32px;
- border: 1px solid rgb(var(--border-color));
- border-radius: 4px;
- box-sizing: border-box;
- display: inline-flex;
-
- &-rtl {
- direction: rtl;
- }
-
- &-focused {
- // border: 1px solid rgb(var(--primary-color));
- }
- &-invalid {
- box-shadow: 0 0 2px red;
- }
- &-panel {
- display: inline-block;
- vertical-align: top;
-
- &-focused {
- border-color: blue;
- }
-
- &-rtl {
- direction: rtl;
- }
- }
-
- &-suffix-icon {
- position: absolute;
- top: 50%;
- right: 0;
- bottom: 0;
- display: flex;
- align-items: center;
- padding: 0 8px;
- color: rgb(var(--text-color-secondary));
- transform: translateY(-50%);
- cursor: pointer;
- }
-
- // ===================== Shared Panel =====================
- &-decade-panel,
- &-year-panel,
- &-month-panel,
- &-week-panel,
- &-date-panel,
- &-time-panel {
- display: flex;
- flex-direction: column;
-
- table {
- text-align: center;
- border-collapse: collapse;
- }
- }
-
- // Header
- &-header {
- margin-bottom: var(--margin-base);
- display: flex;
- align-items: center;
-
- > * {
- flex: none;
- }
-
- &-view {
- height: 16px;
- flex: auto;
- display: flex;
- justify-content: center;
- align-items: center;
- gap: var(--margin-xs);
-
- > button {
- padding: 0;
- border: 0;
- background-color: transparent;
- cursor: pointer;
- }
- }
-
- .btn () {
- width: 16px;
- height: 16px;
- padding: 0;
- line-height: 16px;
- font-size: var(--font-size-lg);
- border: none;
- background-color: transparent;
- cursor: pointer;
- }
-
- &-super {
- &-prev,
- &-next {
- &-btn {
- .btn();
- }
- }
- }
-
- &-prev,
- &-next {
- &-btn {
- .btn();
- }
- }
- }
-
- // Content
- &-cell {
- color: #aaa;
-
- &-disabled {
- opacity: 0.2;
- }
-
- &-inner {
- display: inline-block;
- box-sizing: border-box;
- width: 100%;
- height: @cell-size;
- margin: 0;
- padding: 0;
- font-size: 12px;
- line-height: @cell-size;
- background: transparent;
- border: 0;
- border-radius: var(--border-radius-base);
- outline: none;
- cursor: pointer;
- transition: background 0.3s;
- }
-
- &-in-view {
- color: #333;
- }
-
- &-in-range > &-inner {
- background: fade(blue, 5%);
- }
-
- &-hover > &-inner {
- background: rgb(var(--bg-color));
- }
-
- &-range-hover-start,
- &-range-hover-end,
- &-range-hover {
- position: relative;
- &::after {
- position: absolute;
- top: 3px;
- right: 0;
- bottom: 0;
- left: 0;
- border: 1px solid green;
- border-right: 0;
- border-left: 0;
- content: '';
- pointer-events: none;
- }
- }
-
- &-range-hover-start::after {
- border-left: 1px solid green !important;
- }
- &-range-hover-end::after {
- border-right: 1px solid green !important;
- }
-
- &-today > &-inner {
- border: 1px solid rgb(var(--primary-color));
- }
- &-range-start > &-inner,
- &-range-end > &-inner,
- &-selected > &-inner {
- // TODO:
- // background: fade(blue, 20%);
- color: #fff;
- background: rgb(var(--primary-color));
- }
- }
-
- // Preset
- &-presets {
- background: #ccccff;
-
- ul {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- }
-
- &-now {
- padding-top: var(--padding-base);
-
- &-btn {
- font-size: var(--font-size-xs);
- color: rgb(var(--primary-color));
- cursor: pointer;
- }
- }
-
- &-footer,
- &-picker-footer {
- margin-top: var(--margin-sm);
- border-top: 1px solid rgb(var(--border-color));
- }
-
- &-ranges {
- margin: 0;
- padding: 0;
- overflow: hidden;
- list-style: none;
-
- > li {
- text-align: center;
- display: block;
- }
- }
-
- &-ok {
- float: right;
- }
-
- &-decade-panel {
- .@{prefix-cls}-content {
- tbody {
- display: grid;
- gap: 20px;
- }
- }
-
- .@{prefix-cls}-cell-inner {
- width: 78px;
- height: 24px;
- }
- }
-
- // ================== Year & Month Panel ==================
- &-year-panel,
- &-month-panel {
- .@{prefix-cls}-content {
- tbody {
- display: grid;
- gap: 20px;
- }
- }
- .@{prefix-cls}-cell-inner {
- width: 48px;
- height: 24px;
- }
- }
-
- // ====================== Week Panel ======================
- &-week-panel {
- &-row {
- &:hover {
- .@{prefix-cls}-cell {
- background: red;
- }
- }
-
- &-selected {
- .@{prefix-cls}-cell {
- background: rgba(0, 0, 255, 0.3);
- }
- }
-
- &-range {
- &-hover {
- .@{prefix-cls}-cell {
- background: rgba(0, 255, 0, 0.1);
- }
- }
-
- &-start,
- &-end {
- .@{prefix-cls}-cell {
- background: rgba(0, 255, 0, 0.3);
- }
- }
- }
- }
-
- .@{prefix-cls}-cell,
- .@{prefix-cls}-cell-inner {
- width: @cell-size;
- }
-
- .@{prefix-cls}-cell-week {
- color: #999;
- font-weight: bold;
- font-size: 12px;
- }
-
- .@{prefix-cls}-cell:hover > .@{prefix-cls}-cell-inner,
- .@{prefix-cls}-cell-selected > .@{prefix-cls}-cell-inner {
- background: transparent;
- }
- }
-
- // ====================== Date Panel ======================
- &-date-panel {
- .@{prefix-cls}-cell-inner {
- width: @cell-size;
- height: @cell-size;
- font-size: var(--font-size-xs);
- }
- }
-
- // ====================== Time Panel ======================
- &-time-panel {
- width: auto;
-
- .@{prefix-cls}-content {
- position: relative;
- display: flex;
- max-height: 200px;
-
- // &::after {
- // position: absolute;
- // top: @time-panel-padding-top;
- // right: -5px;
- // left: -5px;
- // height: 20px;
- // background: rgba(255, 0, 0, 0.05);
- // content: '';
- // pointer-events: none;
- // }
- }
-
- // &-column-holder {
- // display: flex;
- // flex-direction: column;
- // text-align: center;
- // }
-
- &-column-title {
- font-size: 14px;
- line-height: @cell-size;
- }
-
- &-column {
- flex: auto;
- width: 50px;
- margin: 0;
- // padding: 0 0 180px 0;
- padding: @time-panel-padding-top 0 (@time-panel-padding-total - @time-panel-padding-top);
- overflow-x: hidden;
- overflow-y: hidden;
- font-size: 12px;
- text-align: left;
- list-style: none;
- transition: background 0.3s;
-
- &-active {
- background: rgba(0, 0, 255, 0.1);
- }
-
- &:hover {
- overflow-y: auto;
- }
-
- > li {
- width: 50px;
- margin: 0;
- padding: 0;
- cursor: pointer;
-
- &.@{prefix-cls}-time-panel-cell {
- &-disabled {
- opacity: 0.5;
- }
-
- &-selected {
- background: rgba(0, 0, 255, 0.5);
- }
- }
-
- .@{prefix-cls}-time-panel-cell-inner {
- display: block;
- width: 100%;
- height: @cell-size;
- margin: 0;
- // padding: 0 0 0 12px;
- color: #333;
- line-height: @cell-size;
- text-align: center;
-
- .@{prefix-cls}-panel-rtl & {
- padding: 0 12px 0 0;
- text-align: right;
- }
- }
- }
- }
- }
-
- // ====================== Date Time =======================
- &-datetime-panel {
- display: flex;
-
- .@{prefix-cls}-time-panel {
- border-left: 1px solid #999;
- }
-
- .@{prefix-cls}-date-panel,
- .@{prefix-cls}-time-panel {
- transition: opacity 0.3s;
- }
-
- // Keyboard
- &-active {
- .@{prefix-cls}-date-panel,
- .@{prefix-cls}-time-panel {
- opacity: 0.3;
-
- &-active {
- opacity: 1;
- }
- }
- }
- }
-
- // ======================== Input =========================
- &-input {
- position: relative;
- display: inline-flex;
- width: 100%;
-
- .@{prefix-cls}-rtl & {
- text-align: right;
- }
-
- &-active {
- > input {
- background: rgba(0, 0, 255, 0.05);
- }
- }
-
- > input {
- width: 100%;
- padding-left: 12px;
- border: none;
- border-radius: var(--border-radius-base);
- box-sizing: border-box;
- .placeholder();
- &:focus {
- outline: none;
- }
- }
-
- &-placeholder {
- > input {
- color: @input-placeholder-color;
- }
- }
- }
-
- &-clear {
- position: absolute;
- top: 7px;
- right: 8px;
- cursor: pointer;
-
- .@{prefix-cls}-rtl & {
- right: auto;
- left: 4px;
- }
-
- &-btn {
- width: 16px;
- height: 16px;
- text-align: center;
- line-height: 16px;
- background-color: rgb(var(--grey-500));
- border-radius: 50%;
- display: block;
-
- &::before {
- content: '×';
- position: absolute;
- top: -1px;
- left: 0;
- right: 0;
- bottom: 0;
- color: white;
- font-size: 16px;
- line-height: 16px;
- }
- }
- }
-
- // ======================= Dropdown =======================
- &-dropdown {
- position: absolute;
- pointer-events: none;
-
- &-range {
- padding: 10px 0;
- }
-
- &-hidden {
- display: none;
- }
-
- // Panel
- @arrow-size: 10px;
-
- &-placement-topLeft,
- &-placement-topRight {
- .@{prefix-cls}-range-arrow {
- bottom: (@arrow-size / 2 + 1px);
- transform: rotate(135deg);
- }
- }
- &-placement-bottomLeft,
- &-placement-bottomright {
- .@{prefix-cls}-range-arrow {
- top: (@arrow-size / 2 + 1px);
- transform: rotate(-45deg);
- }
- }
-
- .@{prefix-cls}-range-arrow {
- position: absolute;
- left: @arrow-size;
- z-index: 1;
- width: @arrow-size;
- height: @arrow-size;
- margin-left: 10px;
- transition: all 0.3s;
-
- .@{prefix-cls}-dropdown-rtl& {
- right: @arrow-size;
- left: auto;
- margin-right: 10px;
- margin-left: 0;
- }
-
- &::before,
- &::after {
- position: absolute;
- top: 50%;
- left: 50%;
- box-sizing: border-box;
- transform: translate(-50%, -50%);
- content: '';
-
- .@{prefix-cls}-dropdown-rtl& {
- right: 50%;
- left: auto;
- transform: translate(50%, -50%);
- }
- }
-
- &::before {
- width: @arrow-size;
- height: @arrow-size;
- border: (@arrow-size / 2) solid blue;
- border-color: blue blue transparent transparent;
- }
- &::after {
- width: @arrow-size - 2px;
- height: @arrow-size - 2px;
- border: (@arrow-size - 2px) / 2 solid blue;
- border-color: @background-color @background-color transparent transparent;
- }
- }
- }
-
- // ========================================================
- // = Range Picker =
- // ========================================================
- &-range {
- position: relative;
- display: inline-flex;
-
- &-wrapper {
- display: flex;
- }
-
- .@{prefix-cls}-active-bar {
- bottom: 0;
- height: 3px;
- background: green;
- opacity: 0;
- transition: all 0.3s;
- pointer-events: none;
- }
-
- &.@{prefix-cls}-focused {
- .@{prefix-cls}-active-bar {
- opacity: 1;
- }
- }
- }
-
- &-panel-container {
- display: inline-block;
- vertical-align: top;
- transition: margin 0.3s;
- pointer-events: all;
- }
-
- &-panel-layout {
- padding: var(--padding-lg);
- background: rgb(var(--bg-color-secondary));
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-lg);
- box-shadow: var(--box-shadow-base);
- display: flex;
- flex-wrap: nowrap;
- align-items: stretch;
- overflow: hidden;
- }
-
- // ========================================================
- // = Overflow =
- // ========================================================
- &-selector {
- width: 100%;
- }
-
- &-selection-overflow {
- display: flex;
- flex-wrap: wrap;
- box-sizing: border-box;
- width: 100%;
- border: 1px solid green;
-
- &-item {
- flex: none;
- max-width: 100%;
- }
- }
-
- &-selection-item {
- border: 1px solid blue;
- }
-
- &-multiple-input {
- width: 10px;
- opacity: 0.1;
- }
-}
diff --git a/packages/design/src/components/date-range-picker/DateRangePicker.stories.tsx b/packages/design/src/components/date-range-picker/DateRangePicker.stories.tsx
index 02ee04d329..2b2aaed8a0 100644
--- a/packages/design/src/components/date-range-picker/DateRangePicker.stories.tsx
+++ b/packages/design/src/components/date-range-picker/DateRangePicker.stories.tsx
@@ -18,7 +18,7 @@ import type { Meta } from '@storybook/react';
import type { NoUndefinedRangeValueType } from 'rc-picker/lib/PickerInput/RangePicker';
import { dayjs } from '@univerjs/core';
-import React, { useState } from 'react';
+import { useState } from 'react';
import { DateRangePicker } from './DateRangePicker';
const meta: Meta<typeof DateRangePicker> = {
diff --git a/packages/design/src/components/date-range-picker/DateRangePicker.tsx b/packages/design/src/components/date-range-picker/DateRangePicker.tsx
index 0fc0efd4f2..1dd4c99899 100644
--- a/packages/design/src/components/date-range-picker/DateRangePicker.tsx
+++ b/packages/design/src/components/date-range-picker/DateRangePicker.tsx
@@ -19,9 +19,9 @@ import type { NoUndefinedRangeValueType, RangePickerProps } from 'rc-picker/lib/
import { CalendarSingle, GuideSingle } from '@univerjs/icons';
import { RangePicker } from 'rc-picker';
import generateConfig from 'rc-picker/lib/generate/dayjs';
-import React, { useContext } from 'react';
+import { useContext } from 'react';
import { ConfigContext } from '../config-provider/ConfigProvider';
-import styles from './index.module.less';
+import styles from './index.module.css';
export interface IDateRangePickerProps extends Omit<RangePickerProps<dayjs.Dayjs>, 'value' | 'onChange' | 'locale' | 'generateConfig' | 'prefixCls'> {
/**
diff --git a/packages/design/src/components/date-range-picker/index.module.css b/packages/design/src/components/date-range-picker/index.module.css
new file mode 100644
index 0000000000..dda0127e54
--- /dev/null
+++ b/packages/design/src/components/date-range-picker/index.module.css
@@ -0,0 +1,277 @@
+.date-range-picker {
+ position: relative;
+ width: 280px;
+ height: 32px;
+ border-radius: 4px;
+ box-sizing: border-box;
+ display: inline-flex;
+ @apply univer-border univer-border-solid univer-border-gray-200;
+}
+
+.date-range-picker-rtl {
+ direction: rtl;
+}
+
+.date-range-picker-invalid {
+ box-shadow: 0 0 2px red;
+}
+
+.date-range-picker-panel {
+ display: inline-block;
+ vertical-align: top;
+}
+
+.date-range-picker-panel-focused {
+ border-color: blue;
+}
+
+.date-range-picker-panel-rtl {
+ direction: rtl;
+}
+
+.date-range-picker-suffix-icon {
+ position: absolute;
+ top: 50%;
+ right: 0;
+ bottom: 0;
+ display: flex;
+ align-items: center;
+ padding: 0 8px;
+ transform: translateY(-50%);
+ cursor: pointer;
+ @apply univer-text-gray-600;
+}
+
+/* Shared Panels */
+.date-range-picker-decade-panel,
+.date-range-picker-year-panel,
+.date-range-picker-month-panel,
+.date-range-picker-week-panel,
+.date-range-picker-date-panel,
+.date-range-picker-time-panel {
+ display: flex;
+ flex-direction: column;
+}
+
+.date-range-picker-decade-panel table,
+.date-range-picker-year-panel table,
+.date-range-picker-month-panel table,
+.date-range-picker-week-panel table,
+.date-range-picker-date-panel table,
+.date-range-picker-time-panel table {
+ text-align: center;
+ border-collapse: collapse;
+}
+
+/* Header */
+.date-range-picker-header {
+ margin-bottom: 12px;
+ display: flex;
+ align-items: center;
+}
+
+.date-range-picker-header > * {
+ flex: none;
+}
+
+.date-range-picker-header-view {
+ height: 16px;
+ flex: auto;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ gap: 8px;
+}
+
+.date-range-picker-header-view > button {
+ padding: 0;
+ border: 0;
+ background-color: transparent;
+ cursor: pointer;
+}
+
+.date-range-picker-header-super-prev-btn,
+.date-range-picker-header-super-next-btn,
+.date-range-picker-header-prev-btn,
+.date-range-picker-header-next-btn {
+ width: 16px;
+ height: 16px;
+ padding: 0;
+ line-height: 16px;
+ font-size: 16px;
+ border: none;
+ background-color: transparent;
+ cursor: pointer;
+}
+
+/* Content */
+.date-range-picker-cell {
+ color: #aaa;
+}
+
+.date-range-picker-cell-disabled {
+ opacity: 0.2;
+}
+
+.date-range-picker-cell-inner {
+ display: inline-block;
+ box-sizing: border-box;
+ width: 100%;
+ height: 24px;
+ margin: 0;
+ padding: 0;
+ font-size: 12px;
+ line-height: 24px;
+ background: transparent;
+ border: 0;
+ border-radius: 4px;
+ outline: none;
+ cursor: pointer;
+ transition: background 0.3s;
+}
+
+.date-range-picker-cell-in-view {
+ color: #333;
+}
+
+.date-range-picker-cell-in-range > .date-range-picker-cell-inner {
+ background: rgba(0, 0, 255, 0.05);
+}
+
+.date-range-picker-cell-hover > .date-range-picker-cell-inner {
+ @apply univer-bg-gray-100;
+}
+
+.date-range-picker-cell-range-hover-start::after,
+.date-range-picker-cell-range-hover-end::after,
+.date-range-picker-cell-range-hover::after {
+ position: absolute;
+ top: 3px;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ border: 1px solid green;
+ border-right: 0;
+ border-left: 0;
+ content: '';
+ pointer-events: none;
+}
+
+.date-range-picker-cell-range-hover-start::after {
+ border-left: 1px solid green !important;
+}
+
+.date-range-picker-cell-range-hover-end::after {
+ border-right: 1px solid green !important;
+}
+
+.date-range-picker-cell-today > .date-range-picker-cell-inner {
+ @apply univer-border univer-border-solid univer-border-primary-600;
+}
+
+.date-range-picker-cell-range-start > .date-range-picker-cell-inner,
+.date-range-picker-cell-range-end > .date-range-picker-cell-inner,
+.date-range-picker-cell-selected > .date-range-picker-cell-inner {
+ color: #fff;
+ @apply univer-bg-primary-600;
+}
+
+/* Preset */
+.date-range-picker-presets {
+ background: #ccccff;
+}
+
+.date-range-picker-presets ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+/* Now Button */
+.date-range-picker-now {
+ padding-top: 12px;
+}
+
+.date-range-picker-now-btn {
+ font-size: 13px;
+ cursor: pointer;
+ @apply univer-text-primary-600;
+}
+
+/* Footer */
+.date-range-picker-footer,
+.date-range-picker-picker-footer {
+ margin-top: 12px;
+ @apply univer-border-0 univer-border-t univer-border-solid univer-border-t-gray-200;
+}
+
+/* Dropdown */
+.date-range-picker-dropdown {
+ position: absolute;
+ pointer-events: none;
+}
+
+.date-range-picker-dropdown-range {
+ padding: 10px 0;
+}
+
+.date-range-picker-dropdown-hidden {
+ display: none;
+}
+
+/* Range Picker */
+.date-range-picker-range {
+ position: relative;
+ display: inline-flex;
+}
+
+.date-range-picker-range-wrapper {
+ display: flex;
+}
+
+.date-range-picker-active-bar {
+ bottom: 0;
+ height: 3px;
+ opacity: 0;
+ transition: all 0.3s;
+ pointer-events: none;
+ @apply univer-bg-primary-600;
+}
+
+.date-range-picker-focused .date-range-picker-active-bar {
+ opacity: 1;
+}
+
+.date-range-picker-panel-container {
+ display: inline-block;
+ vertical-align: top;
+ transition: margin 0.3s;
+ pointer-events: all;
+}
+
+.date-range-picker-panel-layout {
+ display: flex;
+ flex-wrap: nowrap;
+ align-items: stretch;
+ overflow: hidden;
+ @apply univer-bg-white univer-border univer-border-solid univer-border-gray-200 univer-rounded univer-shadow univer-p-4;
+}
+
+/* Input */
+.date-range-picker-input {
+ position: relative;
+ display: inline-flex;
+ width: 100%;
+}
+
+.date-range-picker-input > input {
+ width: 100%;
+ padding-left: 12px;
+ border: none;
+ border-radius: 4px;
+ box-sizing: border-box;
+}
+
+.date-range-picker-input > input:focus {
+ outline: none;
+}
diff --git a/packages/design/src/components/date-range-picker/index.module.less b/packages/design/src/components/date-range-picker/index.module.less
deleted file mode 100644
index 032447bce2..0000000000
--- a/packages/design/src/components/date-range-picker/index.module.less
+++ /dev/null
@@ -1,689 +0,0 @@
-@prefix-cls: date-range-picker;
-
-@background-color: rgb(var(--bg-color-secondary));
-
-@input-placeholder-color: hsv(0, 0, 75%);
-
-@time-panel-padding-total: 180px;
-// @time-panel-padding-top: 90px;
-@time-panel-padding-top: 0;
-
-@cell-size: 24px;
-
-.placeholder(@color: @input-placeholder-color) {
- // Firefox
- &::-moz-placeholder {
- opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
- }
-
- &::placeholder {
- color: @color;
- }
-
- &:placeholder-shown {
- text-overflow: ellipsis;
- }
-}
-
-.@{prefix-cls} {
- position: relative;
- width: 280px;
- height: 32px;
- border: 1px solid rgb(var(--border-color));
- border-radius: 4px;
- box-sizing: border-box;
- display: inline-flex;
-
- &-rtl {
- direction: rtl;
- }
-
- &-focused {
- // border: 1px solid rgb(var(--primary-color));
- }
- &-invalid {
- box-shadow: 0 0 2px red;
- }
- &-panel {
- display: inline-block;
- vertical-align: top;
-
- &-focused {
- border-color: blue;
- }
-
- &-rtl {
- direction: rtl;
- }
- }
-
- &-suffix-icon {
- position: absolute;
- top: 50%;
- right: 0;
- bottom: 0;
- display: flex;
- align-items: center;
- padding: 0 8px;
- color: rgb(var(--text-color-secondary));
- transform: translateY(-50%);
- cursor: pointer;
- }
-
- // ===================== Shared Panel =====================
- &-decade-panel,
- &-year-panel,
- &-month-panel,
- &-week-panel,
- &-date-panel,
- &-time-panel {
- display: flex;
- flex-direction: column;
-
- table {
- text-align: center;
- border-collapse: collapse;
- }
- }
-
- // Header
- &-header {
- margin-bottom: var(--margin-base);
- display: flex;
- align-items: center;
-
- > * {
- flex: none;
- }
-
- &-view {
- height: 16px;
- flex: auto;
- display: flex;
- justify-content: center;
- align-items: center;
- gap: var(--margin-xs);
-
- > button {
- padding: 0;
- border: 0;
- background-color: transparent;
- cursor: pointer;
- }
- }
-
- .btn () {
- width: 16px;
- height: 16px;
- padding: 0;
- line-height: 16px;
- font-size: var(--font-size-lg);
- border: none;
- background-color: transparent;
- cursor: pointer;
- }
-
- &-super {
- &-prev,
- &-next {
- &-btn {
- .btn();
- }
- }
- }
-
- &-prev,
- &-next {
- &-btn {
- .btn();
- }
- }
- }
-
- // Content
- &-cell {
- color: #aaa;
-
- &-disabled {
- opacity: 0.2;
- }
-
- &-inner {
- display: inline-block;
- box-sizing: border-box;
- width: 100%;
- height: @cell-size;
- margin: 0;
- padding: 0;
- font-size: 12px;
- line-height: @cell-size;
- background: transparent;
- border: 0;
- border-radius: var(--border-radius-base);
- outline: none;
- cursor: pointer;
- transition: background 0.3s;
- }
-
- &-in-view {
- color: #333;
- }
-
- &-in-range > &-inner {
- background: fade(blue, 5%);
- }
-
- &-hover > &-inner {
- background: rgb(var(--bg-color));
- }
-
- &-range-hover-start,
- &-range-hover-end,
- &-range-hover {
- position: relative;
- &::after {
- position: absolute;
- top: 3px;
- right: 0;
- bottom: 0;
- left: 0;
- border: 1px solid green;
- border-right: 0;
- border-left: 0;
- content: '';
- pointer-events: none;
- }
- }
-
- &-range-hover-start::after {
- border-left: 1px solid green !important;
- }
- &-range-hover-end::after {
- border-right: 1px solid green !important;
- }
-
- &-today > &-inner {
- border: 1px solid rgb(var(--primary-color));
- }
- &-range-start > &-inner,
- &-range-end > &-inner,
- &-selected > &-inner {
- // TODO:
- // background: fade(blue, 20%);
- color: #fff;
- background: rgb(var(--primary-color));
- }
- }
-
- // Preset
- &-presets {
- background: #ccccff;
-
- ul {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- }
-
- &-now {
- padding-top: var(--padding-base);
-
- &-btn {
- font-size: var(--font-size-xs);
- color: rgb(var(--primary-color));
- cursor: pointer;
- }
- }
-
- &-footer,
- &-picker-footer {
- margin-top: var(--margin-sm);
- border-top: 1px solid rgb(var(--border-color));
- }
-
- &-ranges {
- margin: 0;
- padding: 0;
- overflow: hidden;
- list-style: none;
-
- > li {
- text-align: center;
- display: block;
- }
- }
-
- &-ok {
- float: right;
- }
-
- &-decade-panel {
- .@{prefix-cls}-content {
- tbody {
- display: grid;
- gap: 20px;
- }
- }
-
- .@{prefix-cls}-cell-inner {
- width: 78px;
- height: 24px;
- }
- }
-
- // ================== Year & Month Panel ==================
- &-year-panel,
- &-month-panel {
- .@{prefix-cls}-content {
- tbody {
- display: grid;
- gap: 20px;
- }
- }
- .@{prefix-cls}-cell-inner {
- width: 48px;
- height: 24px;
- }
- }
-
- // ====================== Week Panel ======================
- &-week-panel {
- &-row {
- &:hover {
- .@{prefix-cls}-cell {
- background: red;
- }
- }
-
- &-selected {
- .@{prefix-cls}-cell {
- background: rgba(0, 0, 255, 0.3);
- }
- }
-
- &-range {
- &-hover {
- .@{prefix-cls}-cell {
- background: rgba(0, 255, 0, 0.1);
- }
- }
-
- &-start,
- &-end {
- .@{prefix-cls}-cell {
- background: rgba(0, 255, 0, 0.3);
- }
- }
- }
- }
-
- .@{prefix-cls}-cell,
- .@{prefix-cls}-cell-inner {
- width: @cell-size;
- }
-
- .@{prefix-cls}-cell-week {
- color: #999;
- font-weight: bold;
- font-size: 12px;
- }
-
- .@{prefix-cls}-cell:hover > .@{prefix-cls}-cell-inner,
- .@{prefix-cls}-cell-selected > .@{prefix-cls}-cell-inner {
- background: transparent;
- }
- }
-
- // ====================== Date Panel ======================
- &-date-panel {
- .@{prefix-cls}-cell-inner {
- width: @cell-size;
- height: @cell-size;
- font-size: var(--font-size-xs);
- }
- }
-
- // ====================== Time Panel ======================
- &-time-panel {
- width: auto;
-
- .@{prefix-cls}-content {
- position: relative;
- display: flex;
- max-height: 200px;
-
- // &::after {
- // position: absolute;
- // top: @time-panel-padding-top;
- // right: -5px;
- // left: -5px;
- // height: 20px;
- // background: rgba(255, 0, 0, 0.05);
- // content: '';
- // pointer-events: none;
- // }
- }
-
- // &-column-holder {
- // display: flex;
- // flex-direction: column;
- // text-align: center;
- // }
-
- &-column-title {
- font-size: 14px;
- line-height: @cell-size;
- }
-
- &-column {
- flex: auto;
- width: 50px;
- margin: 0;
- // padding: 0 0 180px 0;
- padding: @time-panel-padding-top 0 (@time-panel-padding-total - @time-panel-padding-top);
- overflow-x: hidden;
- overflow-y: hidden;
- font-size: 12px;
- text-align: left;
- list-style: none;
- transition: background 0.3s;
-
- &-active {
- background: rgba(0, 0, 255, 0.1);
- }
-
- &:hover {
- overflow-y: auto;
- }
-
- > li {
- width: 50px;
- margin: 0;
- padding: 0;
- cursor: pointer;
-
- &.@{prefix-cls}-time-panel-cell {
- &-disabled {
- opacity: 0.5;
- }
-
- &-selected {
- background: rgba(0, 0, 255, 0.5);
- }
- }
-
- .@{prefix-cls}-time-panel-cell-inner {
- display: block;
- width: 100%;
- height: @cell-size;
- margin: 0;
- // padding: 0 0 0 12px;
- color: #333;
- line-height: @cell-size;
- text-align: center;
-
- .@{prefix-cls}-panel-rtl & {
- padding: 0 12px 0 0;
- text-align: right;
- }
- }
- }
- }
- }
-
- // ====================== Date Time =======================
- &-datetime-panel {
- display: flex;
-
- .@{prefix-cls}-time-panel {
- border-left: 1px solid #999;
- }
-
- .@{prefix-cls}-date-panel,
- .@{prefix-cls}-time-panel {
- transition: opacity 0.3s;
- }
-
- // Keyboard
- &-active {
- .@{prefix-cls}-date-panel,
- .@{prefix-cls}-time-panel {
- opacity: 0.3;
-
- &-active {
- opacity: 1;
- }
- }
- }
- }
-
- // ======================== Input =========================
- &-input {
- position: relative;
- display: inline-flex;
- width: 100%;
-
- .@{prefix-cls}-rtl & {
- text-align: right;
- }
-
- &-active {
- > input {
- background: rgba(0, 0, 255, 0.05);
- }
- }
-
- > input {
- width: 100%;
- padding-left: 12px;
- border: none;
- border-radius: var(--border-radius-base);
- box-sizing: border-box;
- .placeholder();
- &:focus {
- outline: none;
- }
- }
-
- &-placeholder {
- > input {
- color: @input-placeholder-color;
- }
- }
- }
-
- &-clear {
- position: absolute;
- top: 7px;
- right: 8px;
- cursor: pointer;
-
- .@{prefix-cls}-rtl & {
- right: auto;
- left: 4px;
- }
-
- &-btn {
- width: 16px;
- height: 16px;
- text-align: center;
- line-height: 16px;
- background-color: rgb(var(--grey-500));
- border-radius: 50%;
- display: block;
-
- &::before {
- content: '×';
- position: absolute;
- top: -1px;
- left: 0;
- right: 0;
- bottom: 0;
- color: white;
- font-size: 16px;
- line-height: 16px;
- }
- }
- }
-
- // ======================= Dropdown =======================
- &-dropdown {
- position: absolute;
- pointer-events: none;
-
- &-range {
- padding: 10px 0;
- }
-
- &-hidden {
- display: none;
- }
-
- // Panel
- @arrow-size: 10px;
-
- &-placement-topLeft,
- &-placement-topRight {
- .@{prefix-cls}-range-arrow {
- bottom: (@arrow-size / 2 + 1px);
- transform: rotate(135deg);
- }
- }
- &-placement-bottomLeft,
- &-placement-bottomright {
- .@{prefix-cls}-range-arrow {
- top: (@arrow-size / 2 + 1px);
- transform: rotate(-45deg);
- }
- }
-
- .@{prefix-cls}-range-arrow {
- position: absolute;
- left: @arrow-size;
- z-index: 1;
- width: @arrow-size;
- height: @arrow-size;
- margin-left: 10px;
- transition: all 0.3s;
-
- .@{prefix-cls}-dropdown-rtl& {
- right: @arrow-size;
- left: auto;
- margin-right: 10px;
- margin-left: 0;
- }
-
- &::before,
- &::after {
- position: absolute;
- top: 50%;
- left: 50%;
- box-sizing: border-box;
- transform: translate(-50%, -50%);
- content: '';
-
- .@{prefix-cls}-dropdown-rtl& {
- right: 50%;
- left: auto;
- transform: translate(50%, -50%);
- }
- }
-
- &::before {
- width: @arrow-size;
- height: @arrow-size;
- border: (@arrow-size / 2) solid blue;
- border-color: blue blue transparent transparent;
- }
- &::after {
- width: @arrow-size - 2px;
- height: @arrow-size - 2px;
- border: (@arrow-size - 2px) / 2 solid blue;
- border-color: @background-color @background-color transparent transparent;
- }
- }
- }
-
- // ========================================================
- // = Range Picker =
- // ========================================================
- &-range {
- position: relative;
- display: inline-flex;
-
- &-wrapper {
- display: flex;
- }
-
- .@{prefix-cls}-active-bar {
- bottom: 0;
- height: 3px;
- background: rgb(var(--primary-color));
- opacity: 0;
- transition: all 0.3s;
- pointer-events: none;
- }
-
- &.@{prefix-cls}-focused {
- .@{prefix-cls}-active-bar {
- opacity: 1;
- }
- }
-
- &-separator {
- height: 100%;
- color: rgb(var(--text-color-tertiary));
- display: inline-flex;
- align-items: center;
- }
- }
-
- &-panel-container {
- display: inline-block;
- vertical-align: top;
- transition: margin 0.3s;
- pointer-events: all;
- }
-
- &-panel-layout {
- padding: var(--padding-lg);
- background: rgb(var(--bg-color-secondary));
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-lg);
- box-shadow: var(--box-shadow-base);
- display: flex;
- flex-wrap: nowrap;
- align-items: stretch;
- overflow: hidden;
- }
-
- // ========================================================
- // = Overflow =
- // ========================================================
- &-selector {
- width: 100%;
- }
-
- &-selection-overflow {
- display: flex;
- flex-wrap: wrap;
- box-sizing: border-box;
- width: 100%;
- border: 1px solid green;
-
- &-item {
- flex: none;
- max-width: 100%;
- }
- }
-
- &-selection-item {
- border: 1px solid blue;
- }
-
- &-multiple-input {
- width: 10px;
- opacity: 0.1;
- }
-}
diff --git a/packages/design/src/components/dropdown-legacy/DropdownLegacy.tsx b/packages/design/src/components/dropdown-legacy/DropdownLegacy.tsx
index fd8159634a..d6183d0b0e 100644
--- a/packages/design/src/components/dropdown-legacy/DropdownLegacy.tsx
+++ b/packages/design/src/components/dropdown-legacy/DropdownLegacy.tsx
@@ -16,11 +16,11 @@
import type { ActionType, AlignType } from '@rc-component/trigger';
import type Placements from 'rc-dropdown/lib/placements';
+import type { ReactElement } from 'react';
import RcDropdown from 'rc-dropdown';
-import React, { useContext } from 'react';
-
+import { useContext } from 'react';
import { ConfigContext } from '../config-provider/ConfigProvider';
-import styles from './index.module.less';
+import styles from './index.module.css';
export interface IDropdownLegacyProps {
/** Semantic DOM class */
@@ -29,7 +29,7 @@ export interface IDropdownLegacyProps {
/**
* The dropdown content
*/
- children: React.ReactElement;
+ children: ReactElement;
/**
* Whether the dropdown is visible
diff --git a/packages/design/src/components/dropdown-legacy/index.module.css b/packages/design/src/components/dropdown-legacy/index.module.css
new file mode 100644
index 0000000000..0d077ffeca
--- /dev/null
+++ b/packages/design/src/components/dropdown-legacy/index.module.css
@@ -0,0 +1,122 @@
+.dropdown {
+ position: absolute;
+ z-index: 1070;
+ top: -9999px;
+ left: -9999px;
+ display: block;
+}
+
+.dropdown-hidden {
+ display: none;
+}
+
+.dropdown-slide-up-enter,
+.dropdown-slide-up-appear {
+ transform-origin: 0 0;
+ display: block !important;
+ animation-duration: 0.15s;
+ animation-fill-mode: both;
+ opacity: 0;
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
+}
+
+.dropdown-slide-up-leave {
+ transform-origin: 0 0;
+ display: block !important;
+ animation-duration: 0.15s;
+ animation-fill-mode: both;
+ opacity: 1;
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
+}
+
+.dropdown-slide-up-enter.dropdown-slide-up-enter-active.dropdown-placement-bottomLeft,
+.dropdown-slide-up-appear.dropdown-slide-up-appear-active.dropdown-placement-bottomLeft,
+.dropdown-slide-up-enter.dropdown-slide-up-enter-active.dropdown-placement-bottomCenter,
+.dropdown-slide-up-appear.dropdown-slide-up-appear-active.dropdown-placement-bottomCenter,
+.dropdown-slide-up-enter.dropdown-slide-up-enter-active.dropdown-placement-bottomRight,
+.dropdown-slide-up-appear.dropdown-slide-up-appear-active.dropdown-placement-bottomRight {
+ animation-name: dropdown-slide-up-in;
+ animation-play-state: running;
+}
+
+.dropdown-slide-up-enter.dropdown-slide-up-enter-active.dropdown-placement-topLeft,
+.dropdown-slide-up-appear.dropdown-slide-up-appear-active.dropdown-placement-topLeft,
+.dropdown-slide-up-enter.dropdown-slide-up-enter-active.dropdown-placement-topCenter,
+.dropdown-slide-up-appear.dropdown-slide-up-appear-active.dropdown-placement-topCenter,
+.dropdown-slide-up-enter.dropdown-slide-up-enter-active.dropdown-placement-topRight,
+.dropdown-slide-up-appear.dropdown-slide-up-appear-active.dropdown-placement-topRight {
+ animation-name: dropdown-slide-down-in;
+ animation-play-state: running;
+}
+
+.dropdown-slide-up-leave.dropdown-slide-up-leave-active.dropdown-placement-bottomLeft,
+.dropdown-slide-up-leave.dropdown-slide-up-leave-active.dropdown-placement-bottomCenter,
+.dropdown-slide-up-leave.dropdown-slide-up-leave-active.dropdown-placement-bottomRight {
+ animation-name: dropdown-slide-up-out;
+ animation-play-state: running;
+}
+
+.dropdown-slide-up-leave.dropdown-slide-up-leave-active.dropdown-placement-topLeft,
+.dropdown-slide-up-leave.dropdown-slide-up-leave-active.dropdown-placement-topCenter,
+.dropdown-slide-up-leave.dropdown-slide-up-leave-active.dropdown-placement-topRight {
+ animation-name: dropdown-slide-down-out;
+ animation-play-state: running;
+}
+
+@keyframes dropdown-slide-up-in {
+ 0% {
+ transform-origin: 0% 0%;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+
+ 100% {
+ transform-origin: 0% 0%;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+}
+
+@keyframes dropdown-slide-up-out {
+ 0% {
+ transform-origin: 0% 0%;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+
+ 100% {
+ transform-origin: 0% 0%;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+}
+
+@keyframes dropdown-slide-down-in {
+ 0% {
+ transform-origin: 0% 100%;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+
+ 100% {
+ transform-origin: 0% 100%;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+}
+
+@keyframes dropdown-slide-down-out {
+ 0% {
+ transform-origin: 0% 100%;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+
+ 100% {
+ transform-origin: 0% 100%;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+}
diff --git a/packages/design/src/components/dropdown-legacy/index.module.less b/packages/design/src/components/dropdown-legacy/index.module.less
deleted file mode 100644
index 83fdb95d86..0000000000
--- a/packages/design/src/components/dropdown-legacy/index.module.less
+++ /dev/null
@@ -1,126 +0,0 @@
-.dropdown {
- position: absolute;
- z-index: 1070;
- top: -9999px;
- left: -9999px;
-
- display: block;
-
- &-hidden {
- display: none;
- }
-
- .effect() {
- transform-origin: 0 0;
- display: block !important;
- animation-duration: 0.15s;
- animation-fill-mode: both;
- }
-
- &-slide-up-enter,
- &-slide-up-appear {
- .effect();
-
- opacity: 0;
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
- }
-
- &-slide-up-leave {
- .effect();
-
- opacity: 1;
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
- }
-
- &-slide-up-enter&-slide-up-enter-active&-placement-bottomLeft,
- &-slide-up-appear&-slide-up-appear-active&-placement-bottomLeft,
- &-slide-up-enter&-slide-up-enter-active&-placement-bottomCenter,
- &-slide-up-appear&-slide-up-appear-active&-placement-bottomCenter,
- &-slide-up-enter&-slide-up-enter-active&-placement-bottomRight,
- &-slide-up-appear&-slide-up-appear-active&-placement-bottomRight {
- animation-name: dropdown-slide-up-in;
- animation-play-state: running;
- }
-
- &-slide-up-enter&-slide-up-enter-active&-placement-topLeft,
- &-slide-up-appear&-slide-up-appear-active&-placement-topLeft,
- &-slide-up-enter&-slide-up-enter-active&-placement-topCenter,
- &-slide-up-appear&-slide-up-appear-active&-placement-topCenter,
- &-slide-up-enter&-slide-up-enter-active&-placement-topRight,
- &-slide-up-appear&-slide-up-appear-active&-placement-topRight {
- animation-name: dropdown-slide-down-in;
- animation-play-state: running;
- }
-
- &-slide-up-leave&-slide-up-leave-active&-placement-bottomLeft,
- &-slide-up-leave&-slide-up-leave-active&-placement-bottomCenter,
- &-slide-up-leave&-slide-up-leave-active&-placement-bottomRight {
- animation-name: dropdown-slide-up-out;
- animation-play-state: running;
- }
-
- &-slide-up-leave&-slide-up-leave-active&-placement-topLeft,
- &-slide-up-leave&-slide-up-leave-active&-placement-topCenter,
- &-slide-up-leave&-slide-up-leave-active&-placement-topRight {
- animation-name: dropdown-slide-down-out;
- animation-play-state: running;
- }
-
- @keyframes dropdown-slide-up-in {
- 0% {
- transform-origin: 0% 0%;
- transform: scaleY(0);
- opacity: 0;
- }
-
- 100% {
- transform-origin: 0% 0%;
- transform: scaleY(1);
- opacity: 1;
- }
- }
-
- @keyframes dropdown-slide-up-out {
- 0% {
- transform-origin: 0% 0%;
- transform: scaleY(1);
- opacity: 1;
- }
-
- 100% {
- transform-origin: 0% 0%;
- transform: scaleY(0);
- opacity: 0;
- }
- }
-
- @keyframes dropdown-slide-down-in {
- 0% {
- transform-origin: 0% 100%;
- transform: scaleY(0);
- opacity: 0;
- }
-
- 100% {
- transform-origin: 0% 100%;
- transform: scaleY(1);
- opacity: 1;
- }
- }
-
- @keyframes dropdown-slide-down-out {
- 0% {
- transform-origin: 0% 100%;
- transform: scaleY(1);
- opacity: 1;
- }
-
- 100% {
- transform-origin: 0% 100%;
- transform: scaleY(0);
- opacity: 0;
- }
- }
-}
diff --git a/packages/design/src/components/form-layout/FormLayout.tsx b/packages/design/src/components/form-layout/FormLayout.tsx
index 7103c105da..69f908d65b 100644
--- a/packages/design/src/components/form-layout/FormLayout.tsx
+++ b/packages/design/src/components/form-layout/FormLayout.tsx
@@ -14,21 +14,19 @@
* limitations under the License.
*/
-import type { PropsWithChildren } from 'react';
+import type { CSSProperties, PropsWithChildren, ReactNode } from 'react';
import { MoreUpSingle } from '@univerjs/icons';
-import React, { createContext, useContext, useState } from 'react';
+import { createContext, useState } from 'react';
import { clsx } from '../../helper/clsx';
-import styles from './index.module.less';
-
export interface IFormLayoutProps {
- label?: React.ReactNode;
- desc?: React.ReactNode;
- children?: React.ReactNode;
+ label?: ReactNode;
+ desc?: ReactNode;
+ children?: ReactNode;
- style?: React.CSSProperties;
+ style?: CSSProperties;
className?: string;
- contentStyle?: React.CSSProperties;
+ contentStyle?: CSSProperties;
error?: string;
collapsable?: boolean;
defaultCollapsed?: boolean;
@@ -39,22 +37,27 @@ const FormLayoutContext = createContext(false);
export const FormLayout = (props: IFormLayoutProps) => {
const { label, desc, children, style, className, error, contentStyle, collapsable = false, defaultCollapsed = false } = props;
const [collapsed, setCollapsed] = useState(defaultCollapsed);
- const isInner = useContext(FormLayoutContext);
return (
<FormLayoutContext.Provider value>
- <div className={clsx(styles.formLayout, isInner ? styles.formLayoutInner : '', className)} style={style}>
+ <div data-u-comp="form-layout" className={clsx('univer-mb-3 univer-flex univer-flex-col', className)} style={style}>
{label && (
- <div style={{ cursor: collapsable ? 'pointer' : 'default' }} className={styles.formLayoutLabel} onClick={() => setCollapsed(!collapsed)}>
+ <div
+ className={clsx(`
+ univer-mb-2 univer-flex univer-min-h-3.5 univer-items-center univer-text-sm
+ univer-text-gray-900
+ `, {
+ 'univer-cursor-pointer': collapsable,
+ })}
+ onClick={() => setCollapsed(!collapsed)}
+ >
{label}
{collapsable
? (
<MoreUpSingle
- style={{
- marginLeft: 4,
- transform: collapsed ? 'rotate(180deg)' : 'rotate(0deg)',
- transition: 'transform 0.3s',
- }}
+ className={clsx('univer-ml-1 univer-transition-transform', {
+ 'univer-rotate-180': collapsed,
+ })}
/>
)
: null}
@@ -64,14 +67,24 @@ export const FormLayout = (props: IFormLayoutProps) => {
? null
: (
<>
- {desc && <div className={styles.formLayoutDesc}>{desc}</div>}
+ {desc && <div className="univer-mt-1 univer-text-[13px] univer-text-gray-600">{desc}</div>}
{children
? (
- <div style={contentStyle} className={clsx(styles.formLayoutContent, error ? styles.formLayoutContentError : '')}>
+ <div
+ className={clsx(`
+ [&_[data-u-comp=input]]:univer-w-full
+ [&_[data-u-comp=select]]:univer-w-full
+ last:univer-mb-0
+ `, {
+ '[&_[data-u-comp=input]]:univer-border-red-500': error,
+ '[&_[data-u-comp=select]]:univer-border-red-500': error,
+ })}
+ style={contentStyle}
+ >
{children}
{error
? (
- <div className={styles.formLayoutError}>
+ <div className="univer-mt-1 univer-text-xs univer-text-red-500">
{error}
</div>
)
@@ -94,7 +107,13 @@ export type IFormDualColumnLayoutProps = PropsWithChildren;
*/
export const FormDualColumnLayout = (props: IFormDualColumnLayoutProps) => {
return (
- <div className={styles.formDualColumnLayout}>
+ <div
+ className={`
+ univer-flex univer-justify-between
+ [&_[data-u-comp=form-layout]]:univer-max-w-[calc(50%-8px)] [&_[data-u-comp=form-layout]]:univer-shrink
+ [&_[data-u-comp=form-layout]]:univer-grow
+ `}
+ >
{props.children}
</div>
);
diff --git a/packages/design/src/components/form-layout/index.module.less b/packages/design/src/components/form-layout/index.module.less
deleted file mode 100644
index ea071574c6..0000000000
--- a/packages/design/src/components/form-layout/index.module.less
+++ /dev/null
@@ -1,65 +0,0 @@
-.form-layout {
- display: flex;
- flex-direction: column;
- margin-bottom: var(--margin-sm);
-
- &-label {
- font-size: var(--font-size-sm);
- min-height: var(--font-size-sm);
- color: rgba(var(--color-black));
- margin-bottom: var(--margin-xs);
- display: flex;
- align-items: center;
- }
-
- &-desc {
- margin-top: var(--margin-xxs);
- font-size: var(--font-size-xs);
- color: rgba(var(--grey-500));
- }
-
- &-content {
- .input-affix-wrapper {
- width: 100%;
- }
-
- .select {
- width: 100%;
- }
-
- .range-selector {
- width: 100% !important;
- }
-
- :last-child {
- margin-bottom: 0;
- }
- }
-
- &-content-error {
- .input-affix-wrapper {
- border: 1px solid rgba(var(--red-400));
- }
-
- .select-single:not(.select-customize-input) .select-selector {
- border: 1px solid rgba(var(--red-400));
- }
- }
-
- &-error {
- color: rgba(var(--red-400));
- font-size: var(--font-size-xxs);
- margin-top: var(--margin-xxs);
- }
-}
-
-.form-dual-column-layout {
- display: flex;
- justify-content: space-between;
-
- .form-layout {
- flex-grow: 1;
- flex-shrink: 1;
- max-width: calc(50% - 8px);
- }
-}
diff --git a/packages/design/src/components/input/Input.tsx b/packages/design/src/components/input/Input.tsx
index 3b48817203..d29d77e1ee 100644
--- a/packages/design/src/components/input/Input.tsx
+++ b/packages/design/src/components/input/Input.tsx
@@ -118,6 +118,7 @@ export const Input = forwardRef<HTMLInputElement, IInputProps>(
return (
<div
+ data-u-comp="input"
className={clsx(
'univer-relative univer-inline-flex univer-w-full univer-items-center univer-rounded-md',
disabled && 'univer-cursor-not-allowed',
diff --git a/packages/design/src/components/input/index.module.less b/packages/design/src/components/input/index.module.less
deleted file mode 100644
index 20f634a4c7..0000000000
--- a/packages/design/src/components/input/index.module.less
+++ /dev/null
@@ -1,128 +0,0 @@
-.input {
- box-sizing: border-box;
- width: 100%;
- color: rgb(var(--text-color));
-
- &::selection {
- color: rgb(var(--color-white));
- background-color: rgb(var(--primary-color));
- }
-
- // &-out-of-range {
- // color: rgb(var(--error-color));
- // }
-
- &-affix-wrapper {
- position: relative;
-
- overflow: hidden;
-
- box-sizing: border-box;
-
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-base);
-
- transition: all 0.15s;
-
- &-small {
- height: 24px;
- display: inline-flex;
- align-items: center;
- padding: 0 10px;
- font-size: var(--font-size-sm);
- }
-
- &-middle {
- height: 28px;
- display: inline-flex;
- align-items: center;
- padding: 0 10px;
- font-size: var(--font-size-sm);
- }
-
- &-large {
- height: 32px;
- display: inline-flex;
- align-items: center;
- padding: 0 10px;
- font-size: var(--font-size-sm);
- }
-
- &:hover,
- &:focus-within {
- border-color: rgb(var(--primary-color));
- }
-
- &-disabled {
- cursor: not-allowed;
- border-color: rgb(var(--border-color));
-
- &:hover {
- border-color: rgb(var(--border-color));
- }
- }
-
- input {
- padding: 0;
- border: none;
- outline: none;
-
- background-color: rgb(var(--bg-color-secondary));
-
- &[disabled] {
- cursor: inherit;
- color: rgb(var(--grey-200));
- background-color: rgb(var(--bg-color-secondary));
- }
- }
- }
-
- &-suffix {
- position: absolute;
- top: 0;
- right: 2px;
-
- display: flex;
- align-items: center;
-
- height: 100%;
- padding: 0 var(--padding-sm);
-
- background-color: rgb(var(--bg-color-secondary));
- }
-
- &-not-allow-clear {
- .input-suffix {
- padding: 0;
- }
- }
-
- &-clear-icon {
- cursor: pointer;
- display: inline-flex;
- align-items: center;
-
- &-hidden {
- display: none;
- }
- }
-
- &-slot-container {
- position: relative;
- display: flex;
-
- > span {
- width: 100%;
- }
- }
-
- &-slot {
- position: absolute;
- top: 0;
- right: 8px;
-
- display: inline-flex;
-
- height: 100%;
- }
-}
diff --git a/packages/design/src/components/menu/Menu.tsx b/packages/design/src/components/menu/Menu.tsx
index 46426db705..c9beb58cd5 100644
--- a/packages/design/src/components/menu/Menu.tsx
+++ b/packages/design/src/components/menu/Menu.tsx
@@ -20,7 +20,7 @@ import React, { useContext } from 'react';
import { clsx } from '../../helper/clsx';
import { ConfigContext } from '../config-provider/ConfigProvider';
import { Tooltip } from '../tooltip';
-import styles from './index.module.less';
+import styles from './index.module.css';
/** @deprecated */
export const Menu = React.forwardRef<MenuRef, MenuProps & { wrapperClass?: string }>((props, ref) => {
@@ -76,16 +76,16 @@ export function TinyMenuGroup({ items }: ITinyMenuGroupProps) {
const ele = (
<div
key={item.key}
- onClick={() => item.onClick()}
className={`
- univer-flex univer-h-6 univer-w-6 univer-cursor-pointer univer-items-center
- univer-justify-center univer-rounded-md
- hover:univer-bg-[#EEEFF1]
- ${item.active ? 'univer-bg-[#EEEFF1]' : ''}
+ univer-flex univer-size-6 univer-cursor-pointer univer-items-center univer-justify-center
+ univer-rounded-md
+ hover:univer-bg-gray-50
+ ${item.active ? 'univer-bg-gray-50' : ''}
${item.className}
`}
+ onClick={() => item.onClick()}
>
- <item.Icon className="univer-h-4 univer-w-4 univer-text-[#181C2A]" />
+ <item.Icon className="univer-size-4 univer-text-gray-900" />
</div>
);
return item.tooltip
diff --git a/packages/design/src/components/menu/index.module.css b/packages/design/src/components/menu/index.module.css
new file mode 100644
index 0000000000..7e02a211db
--- /dev/null
+++ b/packages/design/src/components/menu/index.module.css
@@ -0,0 +1,304 @@
+.menu {
+ @apply univer-m-0 univer-py-1 univer-px-2 univer-text-sm univer-list-none univer-rounded-md univer-box-border univer-shadow-md univer-border-solid univer-border univer-border-gray-200 univer-min-w-52 univer-max-w-52 univer-bg-white;
+}
+
+.menu-vertical {
+ display: grid;
+}
+
+.menu-hidden,
+.menu-submenu-hidden {
+ display: none;
+}
+
+.menu-item-group {
+ @apply univer-py-1;
+}
+
+.menu-item-group:not(:last-child) {
+ border-bottom: 1px solid #e3e5ea;
+}
+
+.menu-item-group-list {
+ display: grid;
+ margin: 0;
+ padding: 0;
+ @apply univer-gap-1;
+}
+
+.menu-item-group-title {
+ font-weight: 600;
+ line-height: 1.5em;
+ padding: 4px;
+ padding-top: 6px;
+ @apply univer-text-gray-600 univer-text-xs univer-px-2;
+}
+
+.menu-item-group-title:empty {
+ display: none;
+}
+
+.menu-item-active,
+.menu-submenu-active {
+ @apply univer-bg-gray-50 univer-rounded-md;
+}
+
+.menu-item-selected {
+ transform: translateZ(0);
+ @apply univer-bg-gray-50 univer-rounded-md;
+}
+
+.menu-submenu-selected {
+ @apply univer-bg-gray-50 univer-rounded-md;
+}
+
+.menu > li.menu-submenu {
+ padding: 0;
+}
+
+.menu-horizontal-sub,
+.menu-vertical-sub,
+.menu-vertical-left-sub,
+.menu-vertical-right-sub {
+ min-width: 160px;
+ margin-top: 0;
+}
+
+.menu-item {
+ display: flex;
+ align-items: center;
+ min-height: 32px;
+ line-height: 1.5em;
+ @apply univer-rounded-md univer-text-sm univer-text-gray-900 univer-px-2 univer-gap-3;
+}
+
+.menu-item:hover {
+ @apply univer-bg-gray-50;
+}
+
+.menu-item .icon {
+ @apply univer-text-gray-600;
+}
+
+.menu-item,
+.menu-submenu {
+ cursor: pointer;
+ position: relative;
+ box-sizing: border-box;
+ margin: 0;
+ white-space: nowrap;
+ list-style: none;
+}
+
+.menu-item.menu-item-disabled,
+.menu-submenu.menu-submenu-disabled {
+ cursor: not-allowed;
+ @apply !univer-text-gray-400;
+}
+
+.menu-submenu-popup {
+ position: absolute;
+ z-index: 1070;
+}
+
+.menu-submenu-popup .submenu-title-wrapper {
+ @apply univer-pr-5;
+}
+
+.menu-submenu-title {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ height: 100%;
+ min-height: 32px;
+ line-height: 1.5em;
+ @apply univer-text-gray-900 univer-text-sm univer-px-2;
+}
+
+.menu-submenu-title-more-icon,
+.menu-item-more-icon {
+ @apply univer-text-gray-400 univer-text-sm univer-ml-2;
+}
+
+.menu-horizontal {
+ overflow: hidden;
+ white-space: nowrap;
+ border: none;
+ border-bottom: 1px solid #e3e5ea;
+ box-shadow: none;
+}
+
+.menu-horizontal > .menu-item,
+.menu-horizontal > .menu-submenu > .menu-submenu-title {
+ padding: 15px 20px;
+}
+
+.menu-horizontal > .menu-submenu,
+.menu-horizontal > .menu-item {
+ display: inline-block;
+ vertical-align: bottom;
+ border-bottom: 2px solid transparent;
+}
+
+.menu-vertical,
+.menu-vertical-left,
+.menu-vertical-right,
+.menu-inline {
+ width: 100%;
+}
+
+.menu-vertical > .menu-item,
+.menu-vertical > .menu-submenu > .menu-submenu-title,
+.menu-vertical-left > .menu-item,
+.menu-vertical-left > .menu-submenu > .menu-submenu-title,
+.menu-vertical-right > .menu-item,
+.menu-vertical-right > .menu-submenu > .menu-submenu-title,
+.menu-inline > .menu-item,
+.menu-inline > .menu-submenu > .menu-submenu-title {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ box-sizing: border-box;
+ width: 100%;
+ min-height: 28px;
+ @apply univer-p-1;
+}
+
+.menu-vertical .menu-submenu-arrow,
+.menu-vertical-left .menu-submenu-arrow,
+.menu-vertical-right .menu-submenu-arrow,
+.menu-inline .menu-submenu-arrow {
+ position: absolute;
+ right: 16px;
+ display: inline-block;
+ font-size: inherit;
+ line-height: 1.5em;
+ text-align: center;
+ text-transform: none;
+ text-rendering: auto;
+ vertical-align: baseline;
+}
+
+.menu-sub-inline {
+ padding: 0;
+ border: none;
+ border-radius: 0;
+ box-shadow: none;
+}
+
+.menu-sub-inline > .menu-item,
+.menu-sub-inline > .menu-submenu > .menu-submenu-title {
+ padding-top: 8px;
+ padding-right: 0;
+ padding-bottom: 8px;
+}
+
+.menu-open-slide-up-enter,
+.menu-open-slide-up-appear {
+ opacity: 0;
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
+ transform-origin: 0 0;
+ animation-duration: 0.3s;
+ animation-fill-mode: both;
+}
+
+.menu-open-slide-up-leave {
+ opacity: 1;
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
+ transform-origin: 0 0;
+ animation-duration: 0.3s;
+ animation-fill-mode: both;
+}
+
+.menu-open-slide-up-enter.menu-open-slide-up-enter-active,
+.menu-open-slide-up-appear.menu-open-slide-up-appear-active {
+ animation-name: menu-open-slide-up-in;
+ animation-play-state: running;
+}
+
+.menu-open-slide-up-leave.menu-open-slide-up-leave-active {
+ animation-name: menu-open-slide-up-out;
+ animation-play-state: running;
+}
+
+@keyframes menu-open-slide-up-in {
+ 0% {
+ transform-origin: 0% 0%;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+
+ 100% {
+ transform-origin: 0% 0%;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+}
+
+@keyframes menu-open-slide-up-out {
+ 0% {
+ transform-origin: 0% 0%;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+
+ 100% {
+ transform-origin: 0% 0%;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+}
+
+.menu-open-zoom-enter,
+.menu-open-zoom-appear {
+ opacity: 0;
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
+ transform-origin: 0 0;
+ animation-duration: 0.3s;
+ animation-fill-mode: both;
+}
+
+.menu-open-zoom-leave {
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
+ transform-origin: 0 0;
+ animation-duration: 0.3s;
+ animation-fill-mode: both;
+}
+
+.menu-open-zoom-enter.menu-open-zoom-enter-active,
+.menu-open-zoom-appear.menu-open-zoom-appear-active {
+ animation-name: menu-open-zoom-in;
+ animation-play-state: running;
+}
+
+.menu-open-zoom-leave.menu-open-zoom-leave-active {
+ animation-name: menu-open-zoom-out;
+ animation-play-state: running;
+}
+
+@keyframes menu-open-zoom-in {
+ 0% {
+ transform: scale(0, 0);
+ opacity: 0;
+ }
+
+ 100% {
+ transform: scale(1, 1);
+ opacity: 1;
+ }
+}
+
+@keyframes menu-open-zoom-out {
+ 0% {
+ transform: scale(1, 1);
+ }
+
+ 100% {
+ transform: scale(0, 0);
+ opacity: 0;
+ }
+}
diff --git a/packages/design/src/components/menu/index.module.less b/packages/design/src/components/menu/index.module.less
deleted file mode 100644
index 0da3988e28..0000000000
--- a/packages/design/src/components/menu/index.module.less
+++ /dev/null
@@ -1,334 +0,0 @@
-.menu {
- box-sizing: border-box;
- margin: 0;
- padding: var(--padding-xs) var(--padding-sm);
-
- font-size: var(--font-size-xs);
- list-style: none;
-
- background-color: rgb(var(--bg-color-secondary));
- border-radius: var(--border-radius-xl);
- outline: none;
- box-shadow: var(--box-shadow-lg);
- border: 1px solid rgb(var(--border-color));
- min-width: 212px;
-
- &-vertical {
- display: grid;
- }
-
- &-hidden,
- &-submenu-hidden {
- display: none;
- }
-
- &-item {
- &-group {
- padding: var(--padding-xs) 0;
-
- &:not(:last-child) {
- border-bottom: 1px solid rgb(var(--border-color));
- }
- }
- }
-
- &-item-group-list {
- display: grid;
- gap: var(--margin-xxs);
- margin: 0;
- padding: 0;
- }
-
- &-item-group-title {
- padding: 0 var(--padding-sm);
- color: rgb(var(--grey-500));
- font-size: var(--font-size-xxs);
- font-weight: 600;
- line-height: 1.5em;
- padding: 4px;
- padding-top: 6px;
- }
-
- &-item-group-title:empty {
- display: none;
- }
-
- &-item-active,
- &-submenu-active {
- background-color: rgb(var(--bg-color-hover-light));
- border-radius: var(--border-radius-lg);
- }
-
- &-item-selected {
- // fix chrome render bug
- transform: translateZ(0);
- background-color: rgb(var(--bg-color-hover-light));
- border-radius: var(--border-radius-lg);
- }
-
- &-submenu-selected {
- background-color: rgb(var(--bg-color-hover-light));
- border-radius: var(--border-radius-lg);
- }
-
- & > li&-submenu {
- padding: 0;
- }
-
- &-horizontal&-sub,
- &-vertical&-sub,
- &-vertical-left&-sub,
- &-vertical-right&-sub {
- min-width: 160px;
- margin-top: 0;
- }
-
- &-item {
- display: flex;
- gap: var(--margin-sm);
- align-items: center;
- padding: 0 var(--padding-sm);
- min-height: 32px;
- color: rgb(var(--text-color));
- font-size: var(--font-size-sm);
- line-height: 1.5em;
- border-radius: var(--border-radius-lg);
-
- &:hover {
- background-color: rgb(var(--bg-color-hover-light));
- }
-
- .icon {
- color: rgb(var(--text-color-secondary));
- }
- }
-
- &-item,
- &-submenu {
- cursor: pointer;
- position: relative;
- box-sizing: border-box;
- margin: 0;
- white-space: nowrap;
- list-style: none;
-
- // Disabled state sets text to gray and nukes hover/tab effects
- &.menu-item-disabled,
- &.menu-submenu-disabled {
- color: rgb(var(--text-color-tertiary)) !important;
- cursor: not-allowed;
- }
- }
-
- &-submenu {
- &-popup {
- position: absolute;
- z-index: 1070;
-
- .submenu-title-wrapper {
- padding-right: var(--padding-xl);
- }
- }
-
- &-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: 100%;
- padding: 0 var(--padding-sm);
- min-height: 32px;
- color: rgb(var(--text-color));
- font-size: var(--font-size-sm);
- line-height: 1.5em;
- }
- }
-
- .menu-submenu-title,
- .menu-item {
- &-more-icon {
- margin-left: var(--margin-xs);
- font-size: var(--font-size-sm);
- color: rgb(var(--text-color-secondary));
- }
- }
-
- &-horizontal {
- overflow: hidden;
-
- white-space: nowrap;
-
- border: none;
- border-bottom: 1px solid rgb(var(--border-color));
- box-shadow: none;
-
- & > .menu-item,
- & > .menu-submenu > .menu-submenu-title {
- padding: 15px 20px;
- }
-
- & > .menu-submenu,
- & > .menu-item {
- display: inline-block;
- vertical-align: bottom;
- border-bottom: 2px solid transparent;
- }
- }
-
- &-vertical,
- &-vertical-left,
- &-vertical-right,
- &-inline {
- & > .menu-item,
- & > .menu-submenu > .menu-submenu-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
-
- box-sizing: border-box;
- width: 100%;
- min-height: 28px;
- padding: var(--padding-xs);
- }
-
- .menu-submenu-arrow {
- position: absolute;
- right: 16px;
-
- display: inline-block;
-
- font-size: inherit;
- line-height: 1.5em;
- text-align: center;
- text-transform: none;
- text-rendering: auto;
- vertical-align: baseline;
- }
- }
-
- &-sub&-inline {
- padding: 0;
- border: none;
- border-radius: 0;
- box-shadow: none;
-
- & > .menu-item,
- & > .menu-submenu > .menu-submenu-title {
- padding-top: 8px;
- padding-right: 0;
- padding-bottom: 8px;
- }
- }
-
- .effect() {
- transform-origin: 0 0;
- animation-duration: 0.3s;
- animation-fill-mode: both;
- }
-
- &-open {
- &-slide-up-enter,
- &-slide-up-appear {
- .effect();
-
- opacity: 0;
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
- }
-
- &-slide-up-leave {
- .effect();
-
- opacity: 1;
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
- }
-
- &-slide-up-enter&-slide-up-enter-active,
- &-slide-up-appear&-slide-up-appear-active {
- animation-name: menu-open-slide-up-in;
- animation-play-state: running;
- }
-
- &-slide-up-leave&-slide-up-leave-active {
- animation-name: menu-open-slide-up-out;
- animation-play-state: running;
- }
-
- @keyframes menu-open-slide-up-in {
- 0% {
- transform-origin: 0% 0%;
- transform: scaleY(0);
- opacity: 0;
- }
-
- 100% {
- transform-origin: 0% 0%;
- transform: scaleY(1);
- opacity: 1;
- }
- }
-
- @keyframes menu-open-slide-up-out {
- 0% {
- transform-origin: 0% 0%;
- transform: scaleY(1);
- opacity: 1;
- }
-
- 100% {
- transform-origin: 0% 0%;
- transform: scaleY(0);
- opacity: 0;
- }
- }
-
- &-zoom-enter,
- &-zoom-appear {
- opacity: 0;
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
- .effect();
- }
-
- &-zoom-leave {
- .effect();
-
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
- }
-
- &-zoom-enter&-zoom-enter-active,
- &-zoom-appear&-zoom-appear-active {
- animation-name: menu-open-zoom-in;
- animation-play-state: running;
- }
-
- &-zoom-leave&-zoom-leave-active {
- animation-name: menu-open-zoom-out;
- animation-play-state: running;
- }
-
- @keyframes menu-open-zoom-in {
- 0% {
- transform: scale(0, 0);
- opacity: 0;
- }
-
- 100% {
- transform: scale(1, 1);
- opacity: 1;
- }
- }
-
- @keyframes menu-open-zoom-out {
- 0% {
- transform: scale(1, 1);
- }
-
- 100% {
- transform: scale(0, 0);
- opacity: 0;
- }
- }
- }
-}
diff --git a/packages/design/src/components/popup/Popup.tsx b/packages/design/src/components/popup/Popup.tsx
index a332d5669c..f2adb2261c 100644
--- a/packages/design/src/components/popup/Popup.tsx
+++ b/packages/design/src/components/popup/Popup.tsx
@@ -14,15 +14,15 @@
* limitations under the License.
*/
-import React, { useContext, useEffect, useRef, useState } from 'react';
+import type { ReactElement } from 'react';
+import { useContext, useEffect, useRef, useState } from 'react';
import { createPortal } from 'react-dom';
import { CSSTransition } from 'react-transition-group';
-
import { ConfigContext } from '../config-provider/ConfigProvider';
-import styles from './index.module.less';
+import styles from './index.module.css';
export interface IPopupProps {
- children: React.ReactElement;
+ children: ReactElement;
/**
* whether popup is visible
diff --git a/packages/design/src/components/popup/index.module.css b/packages/design/src/components/popup/index.module.css
new file mode 100644
index 0000000000..7c1eac78e7
--- /dev/null
+++ b/packages/design/src/components/popup/index.module.css
@@ -0,0 +1,74 @@
+.popup {
+ position: fixed;
+ z-index: 1070;
+ top: -9999px;
+ left: -9999px;
+ border-radius: 6px;
+ overflow: hidden;
+ @apply univer-shadow;
+}
+
+.popup-enter {
+ transform-origin: 0 0;
+ animation-duration: 0.15s;
+ animation-fill-mode: both;
+ opacity: 0;
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
+}
+
+.popup-enter-active {
+ animation-name: popup-slide-up-in;
+ animation-play-state: running;
+}
+
+.popup-exit {
+ transform-origin: 0 0;
+ animation-duration: 0.15s;
+ animation-fill-mode: both;
+ opacity: 1;
+ animation-name: popup-slide-up-out;
+ animation-play-state: running;
+ animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
+}
+
+.popup-exit-active {
+ display: none;
+}
+
+@keyframes popup-slide-up-in {
+ 0% {
+ transform-origin: 0 0;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+
+ 100% {
+ transform-origin: 0 0;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+}
+
+@keyframes popup-slide-up-out {
+ 0% {
+ transform-origin: 0 0;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+
+ 100% {
+ transform-origin: 0 0;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+}
+
+.popup-mask {
+ position: fixed;
+ z-index: 1060;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+}
diff --git a/packages/design/src/components/popup/index.module.less b/packages/design/src/components/popup/index.module.less
deleted file mode 100644
index 110368cd06..0000000000
--- a/packages/design/src/components/popup/index.module.less
+++ /dev/null
@@ -1,79 +0,0 @@
-.popup {
- position: fixed;
- z-index: 1070;
- top: -9999px;
- left: -9999px;
- // background-color: rgb(var(--bg-color-secondary));
- border-radius: 6px;
- overflow: hidden;
- box-shadow: var(--box-shadow-base);
-
- &-enter {
- .effect();
-
- opacity: 0;
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
- }
-
- &-enter-active {
- animation-name: popup-slide-up-in;
- animation-play-state: running;
- }
-
- &-exit {
- .effect();
-
- opacity: 1;
- animation-name: popup-slide-up-out;
- animation-play-state: running;
- animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
- }
-
- &-exit-active {
- display: none;
- }
-
- .effect() {
- transform-origin: 0 0;
- animation-duration: 0.15s;
- animation-fill-mode: both;
- }
-
- @keyframes popup-slide-up-in {
- 0% {
- transform-origin: 0 0;
- transform: scaleY(0);
- opacity: 0;
- }
-
- 100% {
- transform-origin: 0 0;
- transform: scaleY(1);
- opacity: 1;
- }
- }
-
- @keyframes popup-slide-up-out {
- 0% {
- transform-origin: 0 0;
- transform: scaleY(1);
- opacity: 1;
- }
-
- 100% {
- transform-origin: 0 0;
- transform: scaleY(0);
- opacity: 0;
- }
- }
-}
-
-.popup-mask {
- position: fixed;
- z-index: 1060;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
-}
diff --git a/packages/design/src/components/segmented/index.module.less b/packages/design/src/components/segmented/index.module.less
deleted file mode 100644
index 82d82d0f4d..0000000000
--- a/packages/design/src/components/segmented/index.module.less
+++ /dev/null
@@ -1,115 +0,0 @@
-@segmented-prefix-cls: segmented;
-
-.segmented-disabled-item() {
- &,
- &:hover,
- &:focus {
- color: fade(#000, 25%);
- cursor: not-allowed;
- }
-}
-
-.segmented-item-selected() {
- background-color: white;
- box-shadow: 0px 4px 16px 0px rgba(var(--color-black), 0.08);
-}
-
-.@{segmented-prefix-cls} {
- display: inline-flex;
- padding: 2px;
- height: 32px;
- width: 100%;
- border-radius: 6px;
- background-color: rgb(var(--grey-50));
- box-sizing: border-box;
-
- &-group {
- position: relative;
- display: flex;
- align-items: stretch;
- justify-items: flex-start;
-
- width: 100%;
- border-radius: 2px;
- }
-
- &-item {
- position: relative;
- height: 100%;
- padding: 4px 10px;
- border-radius: 4px;
- height: 100%;
- flex: 1;
- flex-grow: 1;
- flex-shrink: 1;
- box-sizing: border-box;
-
- color: rgba(var(--color-black));
- text-align: center;
- overflow: hidden;
- text-overflow: ellipsis;
- cursor: pointer;
- font-size: 13px;
-
- &-selected {
- .segmented-item-selected();
- color: rgba(var(--color-black));
- }
-
- &:hover,
- &:focus {
- color: rgba(var(--color-black));
- }
-
- &-disabled {
- .segmented-disabled-item();
- }
-
- &-label {
- z-index: 2;
- line-height: 20px;
- }
-
- &-input {
- position: absolute;
- top: 0;
- left: 0;
-
- width: 0;
- height: 0;
- opacity: 0;
- pointer-events: none;
- }
- }
-
- // disabled styles
- &-disabled &-item,
- &-disabled &-item:hover,
- &-disabled &-item:focus {
- .segmented-disabled-item();
- }
-
- &-thumb {
- .segmented-item-selected();
-
- position: absolute;
- box-sizing: border-box;
- width: 0;
- height: 100%;
- border-radius: 4px;
- padding: 4px 0;
- }
-
- // transition effect when `enter-active`
- &-thumb-motion-appear-active,
- &-thumb-motion-enter-active {
- transition:
- transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
- width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
- will-change: transform, width;
- }
-
- &-rtl {
- direction: rtl;
- }
-}
diff --git a/packages/design/src/components/select/LegacySelect.tsx b/packages/design/src/components/select/LegacySelect.tsx
index 1b35d3be15..a0d1b3a14c 100644
--- a/packages/design/src/components/select/LegacySelect.tsx
+++ b/packages/design/src/components/select/LegacySelect.tsx
@@ -21,7 +21,7 @@ import RcSelect from 'rc-select';
import { useContext } from 'react';
import { clsx } from '../../helper/clsx';
import { ConfigContext } from '../config-provider/ConfigProvider';
-import styles from './index.module.less';
+import styles from './index.module.css';
/** @deprecated */
interface ILegacyOption {
diff --git a/packages/design/src/components/select/Select.tsx b/packages/design/src/components/select/Select.tsx
index 07cd37a3f0..2fd218efb0 100644
--- a/packages/design/src/components/select/Select.tsx
+++ b/packages/design/src/components/select/Select.tsx
@@ -154,6 +154,7 @@ export function Select(props: ISelectProps) {
onOpenChange={handleOpenChange}
>
<div
+ data-u-comp="select"
className={clsx(`
univer-box-border univer-inline-flex univer-h-8 univer-min-w-36 univer-cursor-pointer
univer-items-center univer-justify-between univer-gap-2 univer-rounded-lg univer-border
diff --git a/packages/design/src/components/select/index.module.css b/packages/design/src/components/select/index.module.css
new file mode 100644
index 0000000000..548afb6659
--- /dev/null
+++ b/packages/design/src/components/select/index.module.css
@@ -0,0 +1,323 @@
+.select {
+ position: relative;
+ display: inline-block;
+}
+
+.select-disabled,
+.select-disabled input {
+ cursor: not-allowed;
+}
+
+.select-disabled .select-selector {
+ opacity: 0.3;
+}
+
+.select-show-arrow.select-loading .select-arrow-icon::after {
+ transform: none;
+ box-sizing: border-box;
+ width: 12px;
+ height: 12px;
+ margin-top: 4px;
+ border-top-color: transparent;
+ border-bottom-color: transparent;
+ border-radius: 100%;
+ animation: select-loading-icon 0.5s infinite;
+ @apply univer-border-2 univer-border-solid univer-border-gray-200;
+}
+
+.select-selection-placeholder {
+ pointer-events: none;
+ opacity: 0.4;
+}
+
+.select-selection-search-input {
+ appearance: none;
+ @apply univer-text-gray-900 univer-text-sm;
+}
+
+.select-selection-search-input::-webkit-search-cancel-button {
+ display: none;
+ appearance: none;
+}
+
+.select-single .select-selector {
+ position: relative;
+ display: flex;
+ box-sizing: border-box;
+ height: 28px;
+ padding: 0 10px;
+ transition: all 0.15s;
+}
+
+.select-single .select-selection-search {
+ width: 100%;
+ line-height: 0;
+}
+
+.select-single .select-selection-search-input {
+ width: 100%;
+ height: 100%;
+}
+
+.select-single .select-selection-item,
+.select-single .select-selection-placeholder {
+ pointer-events: none;
+ position: absolute;
+ left: 0;
+ height: 100%;
+ width: 100%;
+ padding: 0 18px 0 10px;
+ box-sizing: border-box;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ line-height: 28px;
+ display: inline-block;
+ align-items: center;
+ @apply univer-text-sm;
+}
+
+.select-single:not(.select-customize-input) .select-selector {
+ @apply univer-border univer-border-solid univer-border-gray-200 univer-rounded;
+}
+
+.select-single:not(.select-customize-input) .select-selection-search-input {
+ width: 100%;
+ padding: 0;
+ border: none;
+ outline: none;
+}
+
+.select-multiple .select-selector {
+ display: flex;
+ flex-wrap: wrap;
+ @apply univer-border univer-border-solid univer-border-gray-200 univer-rounded;
+}
+
+.select-multiple .select-selection-item {
+ flex: none;
+ margin-right: 2px;
+ padding: 0 8px;
+ background: #bbb;
+ border-radius: 4px;
+}
+
+.select-multiple .select-selection-item-disabled {
+ cursor: not-allowed;
+ opacity: 0.5;
+}
+
+.select-multiple .select-selection-overflow {
+ display: flex;
+ flex-wrap: wrap;
+ width: 100%;
+}
+
+.select-multiple .select-selection-overflow-item {
+ flex: none;
+ max-width: 100%;
+}
+
+.select-multiple .select-selection-search {
+ position: relative;
+ max-width: 100%;
+}
+
+.select-multiple .select-selection-search-input,
+.select-multiple .select-selection-search-mirror {
+ box-sizing: border-box;
+ @apply univer-px-2 univer-py-1;
+}
+
+.select-multiple .select-selection-search-mirror {
+ position: none;
+ z-index: 999;
+ top: 0;
+ left: 0;
+ white-space: nowrap;
+ visibility: hidden;
+}
+
+.select-multiple .select-selection-search-input {
+ width: 100%;
+ padding: 0;
+ border: none;
+ outline: none;
+}
+
+.select-borderless:not(.select-customize-input) .select-selector {
+ border-color: transparent;
+}
+
+.select-borderless.select-focused .select-selector,
+.select-borderless:hover .select-selector {
+ border-color: transparent !important;
+}
+
+.select-allow-clear.select-multiple .select-selector {
+ padding-right: 20px;
+}
+
+.select-allow-clear .select-clear {
+ position: absolute;
+ top: 0;
+ right: 20px;
+}
+
+.select-show-arrow.select-multiple .select-selector {
+ padding-right: 20px;
+}
+
+.select-show-arrow .select-arrow {
+ pointer-events: none;
+ position: absolute;
+ top: 0;
+ display: flex;
+ align-items: center;
+ height: 100%;
+ @apply univer-text-gray-600 univer-text-xs univer-right-3;
+}
+
+.select-show-arrow .select-arrow-icon::after {
+ content: '';
+ transform: translateY(5px);
+ display: inline-block;
+ width: 0;
+ height: 0;
+ border: 5px solid transparent;
+ @apply univer-border-t-gray-200;
+}
+
+.select-focused .select-selector,
+.select:hover .select-selector {
+ @apply !univer-border-primary-600;
+}
+
+.select-dropdown {
+ position: absolute;
+ z-index: 1070;
+ @apply univer-bg-white univer-border univer-border-solid univer-border-gray-200 univer-rounded univer-shadow;
+}
+
+.select-dropdown-hidden {
+ display: none;
+}
+
+.select-item {
+ cursor: pointer;
+ @apply univer-py-2 univer-px-3 univer-text-sm;
+}
+
+.select-item-group {
+ padding: 0;
+}
+
+.select-item-group:not(:first-child) {
+ @apply univer-border-0 univer-border-t univer-border-t-gray-200 univer-border-solid;
+}
+
+.select-item-option {
+ position: relative;
+ transition: all 0.15s;
+}
+
+.select-item-option .select-item-option-state {
+ pointer-events: none;
+ position: absolute;
+ top: 4px;
+ right: 0;
+}
+
+.select-item-option-active {
+ background: #ddd;
+}
+
+.select-item-option-disabled {
+ @apply univer-text-gray-400;
+}
+
+.select-item-empty {
+ text-align: center;
+ @apply univer-text-gray-400 univer-text-sm univer-py-1;
+}
+
+.select-selection__choice-zoom {
+ transition: all 0.3s;
+}
+
+.select-selection__choice-zoom-appear {
+ transform: scale(0.5);
+ opacity: 0;
+}
+
+.select-selection__choice-zoom-appear-active {
+ transform: scale(1);
+ opacity: 1;
+}
+
+.select-selection__choice-zoom-leave {
+ transform: scale(1);
+ opacity: 1;
+}
+
+.select-selection__choice-zoom-leave-active {
+ transform: scale(0.5);
+ opacity: 0;
+}
+
+.select-dropdown-slide-up-enter,
+.select-dropdown-slide-up-appear {
+ transform-origin: 0 0;
+ animation-duration: 0.3s;
+ animation-fill-mode: both;
+ opacity: 0;
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
+}
+
+.select-dropdown-slide-up-leave {
+ transform-origin: 0 0;
+ animation-duration: 0.3s;
+ animation-fill-mode: both;
+ opacity: 1;
+ animation-play-state: paused;
+ animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
+}
+
+@keyframes select-dropdown-slide-up-in {
+ 0% {
+ transform-origin: 0% 0%;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+
+ 100% {
+ transform-origin: 0% 0%;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+}
+
+@keyframes select-dropdown-slide-up-out {
+ 0% {
+ transform-origin: 0% 0%;
+ transform: scaleY(1);
+ opacity: 1;
+ }
+
+ 100% {
+ transform-origin: 0% 0%;
+ transform: scaleY(0);
+ opacity: 0;
+ }
+}
+
+@keyframes select-loading-icon {
+ 0% {
+ transform: rotate(0);
+ }
+
+ 100% {
+ transform: rotate(360deg);
+ }
+}
diff --git a/packages/design/src/components/select/index.module.less b/packages/design/src/components/select/index.module.less
deleted file mode 100644
index 5990f6424b..0000000000
--- a/packages/design/src/components/select/index.module.less
+++ /dev/null
@@ -1,464 +0,0 @@
-@select-prefix: ~'select';
-
-.search-input-without-border() {
- .@{select-prefix}-selection-search-input {
- width: 100%;
- padding: 0;
- border: none;
- outline: none;
- }
-}
-
-.@{select-prefix} {
- position: relative;
- display: inline-block;
-
- &-disabled {
- &,
- & input {
- cursor: not-allowed;
- }
-
- .@{select-prefix}-selector {
- opacity: 0.3;
- }
- }
-
- &-show-arrow&-loading {
- .@{select-prefix}-arrow {
- &-icon::after {
- transform: none;
-
- box-sizing: border-box;
- width: 12px;
- height: 12px;
- margin-top: 4px;
-
- border: 2px solid rgb(var(--border-color));
- border-top-color: transparent;
- border-bottom-color: transparent;
- border-radius: 100%;
-
- animation: select-loading-icon 0.5s infinite;
- }
- }
- }
-
- // ============== Selector ===============
- .@{select-prefix}-selection-placeholder {
- pointer-events: none;
- opacity: 0.4;
- }
-
- // ============== Search ===============
- .@{select-prefix}-selection-search-input {
- font-size: var(--font-size-sm);
- color: rgb(var(--text-color));
- appearance: none;
-
- &::-webkit-search-cancel-button {
- display: none;
- appearance: none;
- }
- }
-
- // --------------- Single ----------------
- &-single {
- .@{select-prefix}-selector {
- position: relative;
-
- display: flex;
-
- box-sizing: border-box;
- height: 28px;
- padding: 0 10px;
-
- transition: all 0.15s;
-
- .@{select-prefix}-selection-search {
- width: 100%;
- line-height: 0;
-
- &-input {
- width: 100%;
- height: 100%;
- }
- }
-
- .@{select-prefix}-selection-item,
- .@{select-prefix}-selection-placeholder {
- pointer-events: none;
-
- position: absolute;
- left: 0;
- height: 100%;
- width: 100%;
- padding: 0 18px 0 10px;
- box-sizing: border-box;
-
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-
- font-size: var(--font-size-sm);
- line-height: 28px;
- display: inline-block;
- align-items: center;
- }
- }
-
- // Not customize
- &:not(.@{select-prefix}-customize-input) {
- .@{select-prefix}-selector {
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-base);
-
- .search-input-without-border();
- }
- }
- }
-
- // -------------- Multiple ---------------
- &-multiple .@{select-prefix}-selector {
- display: flex;
- flex-wrap: wrap;
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-base);
-
- .@{select-prefix}-selection-item {
- flex: none;
-
- margin-right: 2px;
- padding: 0 8px;
-
- background: #bbb;
- border-radius: 4px;
-
- &-disabled {
- cursor: not-allowed;
- opacity: 0.5;
- }
- }
-
- .@{select-prefix}-selection-overflow {
- display: flex;
- flex-wrap: wrap;
- width: 100%;
-
- &-item {
- flex: none;
- max-width: 100%;
- }
- }
-
- .@{select-prefix}-selection-search {
- position: relative;
- max-width: 100%;
-
- &-input,
- &-mirror {
- box-sizing: border-box;
- padding: var(--padding-xs) var(--padding-sm);
- }
-
- &-mirror {
- position: none;
- z-index: 999;
- top: 0;
- left: 0;
-
- white-space: nowrap;
-
- visibility: hidden;
- }
- }
-
- .search-input-without-border();
- }
-
- &-borderless {
- &:not(.@{select-prefix}-customize-input) {
- .@{select-prefix}-selector {
- border-color: transparent;
- }
- }
-
- &.@{select-prefix} {
- // =============== Focused ===============
- &-focused,
- &:hover {
- .@{select-prefix}-selector {
- border-color: transparent !important;
- }
- }
- }
- }
-
- // ================ Icons ================
- &-allow-clear {
- &.@{select-prefix}-multiple .@{select-prefix}-selector {
- padding-right: 20px;
- }
-
- .@{select-prefix}-clear {
- position: absolute;
- top: 0;
- right: 20px;
- }
- }
-
- &-show-arrow {
- &.@{select-prefix}-multiple .@{select-prefix}-selector {
- padding-right: 20px;
- }
-
- .@{select-prefix}-arrow {
- pointer-events: none;
-
- position: absolute;
- top: 0;
- right: var(--margin-sm);
-
- display: flex;
- align-items: center;
-
- height: 100%;
-
- font-size: var(--font-size-xxs);
- color: rgb(var(--text-color-secondary));
-
- &-icon::after {
- content: '';
-
- transform: translateY(5px);
-
- display: inline-block;
-
- width: 0;
- height: 0;
-
- border: 5px solid transparent;
- border-top-color: rgb(var(--border-color));
- }
- }
- }
-
- // =============== Focused ===============
- &-focused,
- &:hover {
- .@{select-prefix}-selector {
- border-color: rgb(var(--primary-color)) !important;
- }
- }
-
- // ============== Dropdown ===============
- &-dropdown {
- position: absolute;
-
- z-index: 1070;
-
- background: rgb(var(--bg-color-secondary));
- border: 1px solid rgb(var(--border-color));
- border-radius: var(--border-radius-base);
- box-shadow: var(--box-shadow-base);
- &-hidden {
- display: none;
- }
- }
-
- // =============== Option ================
- &-item {
- cursor: pointer;
- padding: var(--padding-sm) var(--padding-base);
- font-size: var(--font-size-sm);
-
- // >>> Group
- &-group {
- // font-size: 80%;
- // font-weight: bold;
- // color: #999;
- padding: 0;
-
- &:not(:first-child) {
- border-top: 1px solid rgb(var(--border-color));
- }
- }
-
- // >>> Option
- &-option {
- position: relative;
- transition: all 0.15s;
-
- &-grouped {
- // padding-left: 24px;
- }
-
- .@{select-prefix}-item-option-state {
- pointer-events: none;
- position: absolute;
- top: 4px;
- right: 0;
- }
-
- // ------- Active -------
- &-active {
- background: #ddd;
- }
-
- // ------ Disabled ------
- &-disabled {
- color: rgb(var(--text-color-tertiary));
- }
- }
-
- // >>> Empty
- &-empty {
- padding: var(--padding-xs) 0;
- color: rgb(var(--text-color-tertiary));
- font-size: var(--font-size-sm);
- text-align: center;
- }
- }
-}
-
-.@{select-prefix}-selection__choice-zoom {
- transition: all 0.3s;
-}
-
-.@{select-prefix}-selection__choice-zoom-appear {
- transform: scale(0.5);
- opacity: 0;
-
- &&-active {
- transform: scale(1);
- opacity: 1;
- }
-}
-.@{select-prefix}-selection__choice-zoom-leave {
- transform: scale(1);
- opacity: 1;
-
- &&-active {
- transform: scale(0.5);
- opacity: 0;
- }
-}
-
-.effect() {
- transform-origin: 0 0;
- animation-duration: 0.3s;
- animation-fill-mode: both;
-}
-
-.@{select-prefix}-dropdown {
- &-slide-up-enter,
- &-slide-up-appear {
- .effect();
-
- opacity: 0;
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
- }
-
- &-slide-up-leave {
- .effect();
-
- opacity: 1;
- animation-play-state: paused;
- animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
- }
-
- &-slide-up-enter&-slide-up-enter-active&-placement-bottomLeft,
- &-slide-up-appear&-slide-up-appear-active&-placement-bottomLeft,
- &-slide-up-enter&-slide-up-enter-active&-placement-bottomRight,
- &-slide-up-appear&-slide-up-appear-active&-placement-bottomRight {
- animation-name: select-dropdown-slide-up-in;
- animation-play-state: running;
- }
-
- &-slide-up-leave&-slide-up-leave-active&-placement-bottomLeft,
- &-slide-up-leave&-slide-up-leave-active&-placement-bottomRight {
- animation-name: select-dropdown-slide-up-out;
- animation-play-state: running;
- }
-
- &-slide-up-enter&-slide-up-enter-active&-placement-topLeft,
- &-slide-up-appear&-slide-up-appear-active&-placement-topLeft,
- &-slide-up-enter&-slide-up-enter-active&-placement-topRight,
- &-slide-up-appear&-slide-up-appear-active&-placement-topRight {
- animation-name: select-dropdown-slide-down-in;
- animation-play-state: running;
- }
-
- &-slide-up-leave&-slide-up-leave-active&-placement-topLeft,
- &-slide-up-leave&-slide-up-leave-active&-placement-topRight {
- animation-name: select-dropdown-slide-down-out;
- animation-play-state: running;
- }
-}
-
-@keyframes select-dropdown-slide-up-in {
- 0% {
- transform-origin: 0% 0%;
- transform: scaleY(0);
- opacity: 0;
- }
-
- 100% {
- transform-origin: 0% 0%;
- transform: scaleY(1);
- opacity: 1;
- }
-}
-
-@keyframes select-dropdown-slide-up-out {
- 0% {
- transform-origin: 0% 0%;
- transform: scaleY(1);
- opacity: 1;
- }
-
- 100% {
- transform-origin: 0% 0%;
- transform: scaleY(0);
- opacity: 0;
- }
-}
-
-@keyframes select-dropdown-slide-down-in {
- 0% {
- transform-origin: 100% 100%;
- transform: scaleY(0);
- opacity: 0;
- }
-
- 100% {
- transform-origin: 100% 100%;
- transform: scaleY(1);
- opacity: 1;
- }
-}
-
-@keyframes select-dropdown-slide-down-out {
- 0% {
- transform-origin: 100% 100%;
- transform: scaleY(1);
- opacity: 1;
- }
-
- 100% {
- transform-origin: 100% 100%;
- transform: scaleY(0);
- opacity: 0;
- }
-}
-
-@keyframes select-loading-icon {
- 0% {
- transform: rotate(0);
- }
-
- 100% {
- transform: rotate(360deg);
- }
-}
diff --git a/packages/design/src/components/tree/Tree.tsx b/packages/design/src/components/tree/Tree.tsx
index 5720b3fe62..2b8523d62d 100644
--- a/packages/design/src/components/tree/Tree.tsx
+++ b/packages/design/src/components/tree/Tree.tsx
@@ -14,13 +14,14 @@
* limitations under the License.
*/
+import type { CSSProperties, ReactNode } from 'react';
import { DropdownSingle } from '@univerjs/icons';
import VirtualList from 'rc-virtual-list';
-import React, { useEffect, useMemo, useState } from 'react';
+import { useEffect, useMemo, useState } from 'react';
import { clsx } from '../../helper/clsx';
import { Checkbox } from '../checkbox';
import { Tooltip } from '../tooltip';
-import styles from './index.module.less';
+import styles from './index.module.css';
import { createCacheWithFindNodePathFromTree, isIntermediated } from './util';
export enum TreeSelectionMode {
@@ -58,11 +59,11 @@ export interface ITreeProps {
itemHeight?: number;
- attachRender?: (node: ITreeItemProps) => React.ReactNode;
+ attachRender?: (node: ITreeItemProps) => ReactNode;
treeNodeClassName?: string;
- style?: React.CSSProperties;
+ style?: CSSProperties;
defaultCache?: Map<string, string[]>;
}
@@ -115,10 +116,6 @@ export function Tree(props: ITreeProps) {
const flatData = useMemo(() => flattenTree(data, expandKeySet), [data, update, expandKeySet]);
- function handleChange(treeItem: ITreeItemProps) {
- const path: string[] = findNode.findNodePathFromTreeWithCache(treeItem.key);
- }
-
function handleExpendItem(treeItem: ITreeItemProps) {
if (treeItem.children?.length) {
if (expandKeySet.has(treeItem.key)) {
@@ -204,7 +201,6 @@ export function Tree(props: ITreeProps) {
{(item: ITreeItemProps) => renderTreeItem(item)}
</VirtualList>
</div>
-
</section>
);
}
diff --git a/packages/design/src/components/tree/index.module.css b/packages/design/src/components/tree/index.module.css
new file mode 100644
index 0000000000..8d57eb87dc
--- /dev/null
+++ b/packages/design/src/components/tree/index.module.css
@@ -0,0 +1,78 @@
+.tree {
+ user-select: none;
+ position: relative;
+ @apply univer-text-gray-900;
+}
+
+.tree-icon {
+ position: absolute;
+ top: 50%;
+ left: calc(-1 * 16px);
+ transform: translateY(-50%) rotateZ(-90deg);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: 8px;
+}
+
+.tree-icon-expand {
+ transform: translateY(-50%);
+}
+
+.tree-list {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ height: 100%;
+}
+
+.tree-list .tree-list {
+ overflow: hidden;
+ height: 0;
+}
+
+.tree-list .tree-list-expand {
+ height: inherit;
+}
+
+.tree-list-item {
+ position: relative;
+ padding-left: 20px;
+ font-size: 13px;
+}
+
+.tree-list-item > a {
+ position: relative;
+ display: flex;
+ align-items: center;
+ cursor: pointer;
+}
+
+.tree-list-item-title {
+ display: inline-block;
+ height: 100%;
+ margin: 0 4px;
+ flex-shrink: 1;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.tree-list-item-content {
+ margin: 4px 0;
+ width: 100%;
+ position: relative;
+ display: flex;
+ align-items: center;
+}
+
+.tree-list-item-content-selected-icon {
+ position: absolute;
+ top: 50%;
+ left: calc(-1 * 20px);
+ transform: translateY(-50%);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ @apply univer-text-base;
+}
diff --git a/packages/design/src/components/tree/index.module.less b/packages/design/src/components/tree/index.module.less
deleted file mode 100644
index 845edfd7af..0000000000
--- a/packages/design/src/components/tree/index.module.less
+++ /dev/null
@@ -1,86 +0,0 @@
-.tree {
- user-select: none;
- position: relative;
- color: rgb(var(--text-color));
-
- &-icon {
- position: absolute;
- top: 50%;
- left: calc(-1 * var(--padding-lg));
- transform: translateY(-50%) rotateZ(-90deg);
- display: flex;
- align-items: center;
- justify-content: center;
-
- font-size: 8px;
-
- &-expand {
- transform: translateY(-50%);
- }
- }
-
- &-list {
- margin: 0;
- padding: 0;
- list-style: none;
- height: 100%;
-
- .tree-list {
- overflow: hidden;
- height: 0;
-
- &-expand {
- height: inherit;
- }
- }
-
- &-item {
- position: relative;
- padding-left: var(--padding-xl);
- font-size: 13px;
-
- > a {
- position: relative;
- display: flex;
- align-items: center;
- cursor: pointer;
- }
-
- &-title {
- display: inline-block;
- height: 100%;
- margin: 0 4px;
- flex-shrink: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- &-content {
- margin: 4px 0;
- width: 100%;
- position: relative;
- display: flex;
- align-items: center;
-
- &-selected {
- // font-weight: 500;
- // color: rgb(var(--primary-color));
-
- &-icon {
- position: absolute;
- top: 50%;
- left: calc(-1 * var(--padding-xl));
- transform: translateY(-50%);
-
- display: flex;
- align-items: center;
- justify-content: center;
-
- font-size: var(--font-size-lg);
- }
- }
- }
- }
- }
-}
diff --git a/packages/design/src/index.ts b/packages/design/src/index.ts
index 9197d5737c..0cd9cd5dc7 100644
--- a/packages/design/src/index.ts
+++ b/packages/design/src/index.ts
@@ -45,7 +45,6 @@ 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';
export { type ILocale } from './locale/interface';
-export { defaultTheme, greenTheme, themeInstance } from './themes';
export { DraggableList, type IDraggableListProps } from './components/draggable-list';
export { clsx } from './helper/clsx';
export { resizeObserverCtor } from './helper/resize-observer';
@@ -57,3 +56,6 @@ export { DateRangePicker } from './components/date-range-picker';
export { type IKBDProps, KBD } from './components/kbd';
export { type IToasterProps, toast, Toaster } from './components/toaster/Toaster';
export { scrollbarClassName } from './helper/scrollbar-cls';
+
+/** @deprecated Only for compatibility with versions before 0.7.0, will be removed in future versions */
+export { defaultTheme, greenTheme } from '@univerjs/themes';
diff --git a/packages/design/src/themes/base.less b/packages/design/src/themes/base.less
deleted file mode 100644
index 7b858e2efc..0000000000
--- a/packages/design/src/themes/base.less
+++ /dev/null
@@ -1,481 +0,0 @@
-/**
- * =====================================
- * Ramu / 瑞木 / Red
- * =====================================
- */
-@red-50: #fee7e7;
-@red-100: #fdcece;
-@red-200: #fb9d9d;
-@red-300: #fa7979;
-@red-400: #fe4b4b;
-@red-500: #f30b0b;
-@red-600: #e30909;
-@red-700: #cd0f0f;
-@red-800: #b20000;
-@red-900: #9d0000;
-
-:export {
- --red-50: @red-50;
- --red-100: @red-100;
- --red-200: @red-200;
- --red-300: @red-300;
- --red-400: @red-400;
- --red-500: @red-500;
- --red-600: @red-600;
- --red-700: @red-700;
- --red-800: @red-800;
- --red-900: @red-900;
-}
-
-/**
- * =====================================
- * Hemerocallis / 萱草 / Orange
- * =====================================
- */
-@orange-50: #fef0e6;
-@orange-100: #fee1cd;
-@orange-200: #fdc49b;
-@orange-300: #fca669;
-@orange-400: #ff8c51;
-@orange-500: #fb8937;
-@orange-600: #f96800;
-@orange-700: #df5d00;
-@orange-800: #cc4f10;
-@orange-900: #b24000;
-
-:export {
- --orange-50: @orange-50;
- --orange-100: @orange-100;
- --orange-200: @orange-200;
- --orange-300: @orange-300;
- --orange-400: @orange-400;
- --orange-500: @orange-500;
- --orange-600: @orange-600;
- --orange-700: @orange-700;
- --orange-800: @orange-800;
- --orange-900: @orange-900;
-}
-
-/**
- * =====================================
- * Marigold / 万寿菊 / Gold
- * =====================================
- */
-@gold-50: #fef6e6;
-@gold-100: #feeecd;
-@gold-200: #fddc9b;
-@gold-300: #fccb69;
-@gold-400: #ffbd37;
-@gold-500: #faad14;
-@gold-600: #e59b07;
-@gold-700: #c68400;
-@gold-800: #a97100;
-@gold-900: #8f5f00;
-
-:export {
- --gold-50: @gold-50;
- --gold-100: @gold-100;
- --gold-200: @gold-200;
- --gold-300: @gold-300;
- --gold-400: @gold-400;
- --gold-500: @gold-500;
- --gold-600: @gold-600;
- --gold-700: @gold-700;
- --gold-800: @gold-800;
- --gold-900: @gold-900;
-}
-
-/**
- * =====================================
- * Forsythia Suspensa / 连翘 / Yellow
- * =====================================
- */
-@yellow-50: #fefbe6;
-@yellow-100: #fef7cd;
-@yellow-200: #fdf09b;
-@yellow-300: #fce869;
-@yellow-400: #fbe137;
-@yellow-500: #f9d700;
-@yellow-600: #ebc301;
-@yellow-700: #d8b300;
-@yellow-800: #c5a300;
-@yellow-900: #b19401;
-
-:export {
- --yellow-50: @yellow-50;
- --yellow-100: @yellow-100;
- --yellow-200: @yellow-200;
- --yellow-300: @yellow-300;
- --yellow-400: @yellow-400;
- --yellow-500: @yellow-500;
- --yellow-600: @yellow-600;
- --yellow-700: @yellow-700;
- --yellow-800: @yellow-800;
- --yellow-900: @yellow-900;
-}
-
-/**
- * =====================================
- * Eustoma Grandiflorum / 洋桔梗 / Verdancy
- * =====================================
- */
-@verdancy-50: #f7fde8;
-@verdancy-100: #effbd0;
-@verdancy-200: #def6a2;
-@verdancy-300: #cef273;
-@verdancy-400: #beee44;
-@verdancy-500: #a4dc16;
-@verdancy-600: #8bbb11;
-@verdancy-700: #7aa017;
-@verdancy-800: #688c0d;
-@verdancy-900: #58770a;
-
-:export {
- --verdancy-50: @verdancy-50;
- --verdancy-100: @verdancy-100;
- --verdancy-200: @verdancy-200;
- --verdancy-300: @verdancy-300;
- --verdancy-400: @verdancy-400;
- --verdancy-500: @verdancy-500;
- --verdancy-600: @verdancy-600;
- --verdancy-700: @verdancy-700;
- --verdancy-800: @verdancy-800;
- --verdancy-900: @verdancy-900;
-}
-
-/**
- * =====================================
- * Asparagus Fern / 文竹 / Green
- * =====================================
- */
-@green-50: #effce8;
-@green-100: #dff9d2;
-@green-200: #bff3a5;
-@green-300: #9fed78;
-@green-400: #7fe74b;
-@green-500: #59d01e;
-@green-600: #49b811;
-@green-700: #409f11;
-@green-800: #398712;
-@green-900: #317310;
-
-:export {
- --green-50: @green-50;
- --green-100: @green-100;
- --green-200: @green-200;
- --green-300: @green-300;
- --green-400: @green-400;
- --green-500: @green-500;
- --green-600: @green-600;
- --green-700: @green-700;
- --green-800: @green-800;
- --green-900: @green-900;
-}
-
-/**
- * =====================================
- * 霁 / Jiqing
- * =====================================
- */
-@jiqing-50: #e5fffb;
-@jiqing-100: #ccfff7;
-@jiqing-200: #a9fff2;
-@jiqing-300: #78fce8;
-@jiqing-400: #2afede;
-@jiqing-500: #10e8c7;
-@jiqing-600: #00d2b2;
-@jiqing-700: #00b298;
-@jiqing-800: #009e87;
-@jiqing-900: #008b76;
-
-:export {
- --jiqing-50: @jiqing-50;
- --jiqing-100: @jiqing-100;
- --jiqing-200: @jiqing-200;
- --jiqing-300: @jiqing-300;
- --jiqing-400: @jiqing-400;
- --jiqing-500: @jiqing-500;
- --jiqing-600: @jiqing-600;
- --jiqing-700: @jiqing-700;
- --jiqing-800: @jiqing-800;
- --jiqing-900: @jiqing-900;
-}
-
-/**
- * =====================================
- * Cornflower / 矢车菊 / Blue
- * =====================================
- */
-@blue-50: #e4f4fe;
-@blue-100: #d0edff;
-@blue-200: #9fdaff;
-@blue-300: #62c2ff;
-@blue-400: #2daeff;
-@blue-500: #0b9efb;
-@blue-600: #0493ee;
-@blue-700: #0080d2;
-@blue-800: #006cae;
-@blue-900: #005f9a;
-
-:export {
- --blue-50: @blue-50;
- --blue-100: @blue-100;
- --blue-200: @blue-200;
- --blue-300: @blue-300;
- --blue-400: @blue-400;
- --blue-500: @blue-500;
- --blue-600: @blue-600;
- --blue-700: @blue-700;
- --blue-800: @blue-800;
- --blue-900: @blue-900;
-}
-
-/**
- * =====================================
- * Hyacinth / 风信子 / Hyacinth Blue
- * =====================================
- */
-@hyacinth-50: #e8ecfd;
-@hyacinth-100: #d0d9fb;
-@hyacinth-200: #a2b3f6;
-@hyacinth-300: #738df2;
-@hyacinth-400: #3a60f7;
-@hyacinth-500: #274fee;
-@hyacinth-600: #143ee3;
-@hyacinth-700: #012bd2;
-@hyacinth-800: #0025b7;
-@hyacinth-900: #001f9c;
-
-:export {
- --hyacinth-50: @hyacinth-50;
- --hyacinth-100: @hyacinth-100;
- --hyacinth-200: @hyacinth-200;
- --hyacinth-300: @hyacinth-300;
- --hyacinth-400: @hyacinth-400;
- --hyacinth-500: @hyacinth-500;
- --hyacinth-600: @hyacinth-600;
- --hyacinth-700: @hyacinth-700;
- --hyacinth-800: @hyacinth-800;
- --hyacinth-900: @hyacinth-900;
-}
-
-/**
- * =====================================
- * Violet / 紫罗兰 / Purple
- * =====================================
- */
-@purple-50: #f1eafa;
-@purple-100: #e3d5f6;
-@purple-200: #c7abed;
-@purple-300: #aa82e3;
-@purple-400: #9e6de3;
-@purple-500: #894ede;
-@purple-600: #7735d4;
-@purple-700: #6721cb;
-@purple-800: #510eb0;
-@purple-900: #3f0198;
-
-:export {
- --purple-50: @purple-50;
- --purple-100: @purple-100;
- --purple-200: @purple-200;
- --purple-300: @purple-300;
- --purple-400: @purple-400;
- --purple-500: @purple-500;
- --purple-600: @purple-600;
- --purple-700: @purple-700;
- --purple-800: @purple-800;
- --purple-900: @purple-900;
-}
-
-/**
- * =====================================
- * Sorrel pulp / 酢浆 / Magenta
- * =====================================
- */
-@magenta-50: #fde8f3;
-@magenta-100: #fbd0e8;
-@magenta-200: #f6a2d0;
-@magenta-300: #f273b9;
-@magenta-400: #f248a6;
-@magenta-500: #e7258f;
-@magenta-600: #d4157e;
-@magenta-700: #c1026b;
-@magenta-800: #a1095c;
-@magenta-900: #8f0550;
-
-:export {
- --magenta-50: @magenta-50;
- --magenta-100: @magenta-100;
- --magenta-200: @magenta-200;
- --magenta-300: @magenta-300;
- --magenta-400: @magenta-400;
- --magenta-500: @magenta-500;
- --magenta-600: @magenta-600;
- --magenta-700: @magenta-700;
- --magenta-800: @magenta-800;
- --magenta-900: @magenta-900;
-}
-
-/**
- * =====================================
- * 灰 / Grey
- * =====================================
- */
-@grey-50: #f5f5f5;
-@grey-100: #eeeff1;
-@grey-200: #e5e5e5;
-@grey-300: #d8d8d8;
-@grey-400: #bcbcbc;
-@grey-500: #999999;
-@grey-600: #7a7a7a;
-@grey-700: #656565;
-@grey-800: #565656;
-@grey-900: #4b4b4b;
-
-:export {
- --grey-50: @grey-50;
- --grey-100: @grey-100;
- --grey-200: @grey-200;
- --grey-300: @grey-300;
- --grey-400: @grey-400;
- --grey-500: @grey-500;
- --grey-600: @grey-600;
- --grey-700: @grey-700;
- --grey-800: @grey-800;
- --grey-900: @grey-900;
-}
-
-// 黑 / 白 / Black / White
-@color-black: #1e222b;
-@color-white: #ffffff;
-
-:export {
- // 黑 / 白 / Black / White
- --color-black: @color-black;
- --color-white: @color-white;
-}
-
-// Box Shadow
-@box-shadow-base: 0 4px 12px rgba(@color-black, 0.08);
-@box-shadow-lg: 0 4px 24px 0 rgba(@color-black, 0.08);
-
-// Background
-@bg-color: @grey-100;
-@bg-color-hover: @grey-300;
-@bg-color-hover-light: @grey-100;
-@bg-color-secondary: @color-white;
-@bg-color-overlay: @color-white;
-
-// Text Color
-@text-color: @color-black;
-@text-color-secondary: @grey-600;
-@text-color-secondary-darker: @grey-900;
-@text-color-tertiary: @grey-400;
-
-// Border Color
-@border-color: @grey-200;
-
-// Scrollbar Color
-@scrollbar-color: @grey-400;
-@scrollbar-color-hover: @grey-500;
-@scrollbar-color-active: @grey-600;
-
-// Border Radius
-@border-radius-base: 4px;
-@border-radius-lg: 8px;
-@border-radius-xl: 12px;
-
-// Margin
-@margin-xxl: 28px;
-@margin-xl: 24px;
-@margin-lg: 20px;
-@margin-base: 16px;
-@margin-sm: 12px;
-@margin-xs: 8px;
-@margin-xxs: 4px;
-
-// Padding
-@padding-xl: 20px;
-@padding-lg: 16px;
-@padding-base: 12px;
-@padding-sm: 8px;
-@padding-xs: 4px;
-
-// Font Size
-@font-size-xxl: 20px;
-@font-size-xl: 18px;
-@font-size-lg: 16px;
-@font-size-base: 15px;
-@font-size-sm: 14px;
-@font-size-xs: 13px;
-@font-size-xxs: 12px;
-
-:export {
- // Box Shadow
- --box-shadow-base: @box-shadow-base;
- --box-shadow-lg: @box-shadow-lg;
-
- // Background
- --bg-color: @bg-color;
- --bg-color-hover: @bg-color-hover;
- --bg-color-hover-light: @bg-color-hover-light;
- --bg-color-secondary: @bg-color-secondary;
- --bg-color-overlay: @bg-color-overlay;
-
- // Text Color
- --text-color: @text-color;
- --text-color-secondary: @text-color-secondary;
- --text-color-secondary-darker: @text-color-secondary-darker;
- --text-color-tertiary: @text-color-tertiary;
-
- // Border Color
- --border-color: @border-color;
-
- // Scrollbar Color
- --scrollbar-color: @scrollbar-color;
- --scrollbar-color-hover: @scrollbar-color-hover;
- --scrollbar-color-active: @scrollbar-color-active;
-
- // Border Radius
- --border-radius-base: @border-radius-base;
- --border-radius-lg: @border-radius-lg;
- --border-radius-xl: @border-radius-xl;
-
- // Margin
- --margin-xl: @margin-xl;
- --margin-lg: @margin-lg;
- --margin-base: @margin-base;
- --margin-sm: @margin-sm;
- --margin-xs: @margin-xs;
- --margin-xxs: @margin-xxs;
-
- // Padding
- --padding-xl: @padding-xl;
- --padding-lg: @padding-lg;
- --padding-base: @padding-base;
- --padding-sm: @padding-sm;
- --padding-xs: @padding-xs;
-
- // Font Size
- --font-size-xxl: @font-size-xxl;
- --font-size-xl: @font-size-xl;
- --font-size-lg: @font-size-lg;
- --font-size-base: @font-size-base;
- --font-size-sm: @font-size-sm;
- --font-size-xs: @font-size-xs;
- --font-size-xxs: @font-size-xxs;
-}
-
-// Breakpoint
-@breakpoint-xs: 768px;
-@breakpoint-sm: 1024px;
-@breakpoint-base: 1280px;
-@breakpoint-lg: 1536px;
-
-:export {
- --breakpoint-xs: @breakpoint-xs;
- --breakpoint-sm: @breakpoint-sm;
- --breakpoint-base: @breakpoint-base;
- --breakpoint-lg: @breakpoint-lg;
-}
diff --git a/packages/design/src/themes/default.module.less b/packages/design/src/themes/default.module.less
deleted file mode 100644
index 2b2457be76..0000000000
--- a/packages/design/src/themes/default.module.less
+++ /dev/null
@@ -1,61 +0,0 @@
-@import './base.less';
-
-/**
- * new design system
- */
-// Functional / 功能
-@info-color: @blue-400;
-@success-color: @green-500;
-@warning-color: @gold-400;
-@error-color: @red-400;
-
-// Brand / 品牌
-@primary-color: @hyacinth-500;
-@primary-color-hover: @hyacinth-400;
-
-// Link
-@link-color: @blue-500;
-
-:export {
- // Functional / 功能
- --info-color: @info-color;
- --success-color: @success-color;
- --warning-color: @warning-color;
- --error-color: @error-color;
-
- // Brand / 品牌
- --primary-color: @primary-color;
- --primary-color-hover: @primary-color-hover;
-
- // Link
- --link-color: @link-color;
-}
-
-// Loop Color / 循环色
-@loop-color-1: @purple-400;
-@loop-color-2: @green-600;
-@loop-color-3: @blue-500;
-@loop-color-4: @gold-400;
-@loop-color-5: @magenta-300;
-@loop-color-6: @jiqing-600;
-@loop-color-7: @orange-400;
-@loop-color-8: @grey-800;
-@loop-color-9: @hyacinth-500;
-@loop-color-10: @red-300;
-@loop-color-11: @verdancy-600;
-@loop-color-12: @yellow-700;
-
-:export {
- --loop-color-1: @loop-color-1;
- --loop-color-2: @loop-color-2;
- --loop-color-3: @loop-color-3;
- --loop-color-4: @loop-color-4;
- --loop-color-5: @loop-color-5;
- --loop-color-6: @loop-color-6;
- --loop-color-7: @loop-color-7;
- --loop-color-8: @loop-color-8;
- --loop-color-9: @loop-color-9;
- --loop-color-10: @loop-color-10;
- --loop-color-11: @loop-color-11;
- --loop-color-12: @loop-color-12;
-}
diff --git a/packages/design/src/themes/green.module.less b/packages/design/src/themes/green.module.less
deleted file mode 100644
index cd851e6351..0000000000
--- a/packages/design/src/themes/green.module.less
+++ /dev/null
@@ -1,61 +0,0 @@
-@import './base.less';
-
-/**
- * new design system
- */
-// Functional
-@info-color: @blue-400;
-@success-color: @green-500;
-@warning-color: @gold-400;
-@error-color: @red-400;
-
-// Brand / 品牌
-@primary-color: @green-700;
-@primary-color-hover: @green-600;
-
-// Link
-@link-color: @blue-500;
-
-:export {
- // Functional / 功能
- --info-color: @info-color;
- --success-color: @success-color;
- --warning-color: @warning-color;
- --error-color: @error-color;
-
- // Brand / 品牌
- --primary-color: @primary-color;
- --primary-color-hover: @primary-color-hover;
-
- // Link
- --link-color: @link-color;
-}
-
-// Loop Color / 循环色
-@loop-color-1: @purple-400;
-@loop-color-2: @green-600;
-@loop-color-3: @blue-500;
-@loop-color-4: @gold-400;
-@loop-color-5: @magenta-300;
-@loop-color-6: @jiqing-600;
-@loop-color-7: @orange-400;
-@loop-color-8: @grey-800;
-@loop-color-9: @hyacinth-500;
-@loop-color-10: @red-300;
-@loop-color-11: @verdancy-600;
-@loop-color-12: @yellow-700;
-
-:export {
- --loop-color-1: @loop-color-1;
- --loop-color-2: @loop-color-2;
- --loop-color-3: @loop-color-3;
- --loop-color-4: @loop-color-4;
- --loop-color-5: @loop-color-5;
- --loop-color-6: @loop-color-6;
- --loop-color-7: @loop-color-7;
- --loop-color-8: @loop-color-8;
- --loop-color-9: @loop-color-9;
- --loop-color-10: @loop-color-10;
- --loop-color-11: @loop-color-11;
- --loop-color-12: @loop-color-12;
-}
diff --git a/packages/design/src/themes/theme-root.module.less b/packages/design/src/themes/theme-root.module.less
deleted file mode 100644
index 0f457cef59..0000000000
--- a/packages/design/src/themes/theme-root.module.less
+++ /dev/null
@@ -1,23 +0,0 @@
-.theme {
- color: rgb(var(--text-color));
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- 'PingFang SC',
- 'Hiragino Sans GB',
- 'noto sans',
- 'Microsoft YaHei',
- 'Helvetica Neue',
- Helvetica,
- Arial,
- sans-serif;
-
- -webkit-font-smoothing: antialiased;
-}
-
-.render-canvas {
- &::selection {
- pointer-events: none;
- }
-}
diff --git a/packages/design/src/themes/theme.ts b/packages/design/src/themes/theme.ts
deleted file mode 100644
index f64e4b9588..0000000000
--- a/packages/design/src/themes/theme.ts
+++ /dev/null
@@ -1,95 +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 { isBrowser } from '../helper/is-browser';
-import styles from './theme-root.module.less';
-
-function convertToDashCase(input: string): string {
- const dashCase = input.replace(/([A-Z])/g, (match) => `-${match.toLowerCase()}`).replace(/(\d+)/g, '-$1');
-
- return `--${dashCase}`;
-}
-
-function convertHexToRgb(input: string): string {
- if (input.startsWith('#')) {
- const hex = input.replace('#', '');
- const r = Number.parseInt(hex.substring(0, 2), 16);
- const g = Number.parseInt(hex.substring(2, 4), 16);
- const b = Number.parseInt(hex.substring(4, 6), 16);
-
- return `${r}, ${g}, ${b}`;
- }
-
- return input;
-}
-
-class Theme {
- private static _instance: Theme | null = null;
- private _styleSheet: HTMLStyleElement | null = null;
- private _themeRootName = styles.theme;
-
- private constructor() {
- if (!isBrowser()) return;
-
- const $style = document.createElement('style');
- $style.id = this._themeRootName;
-
- // Determine the mount point for the stylesheet
- let mountPoint: HTMLElement | ShadowRoot | null = null;
- const currentRoot = document.getRootNode();
-
- if (currentRoot === document) {
- // Normal DOM environment
- mountPoint = document.head;
- } else if (currentRoot instanceof ShadowRoot) {
- // Shadow DOM environment
- mountPoint = currentRoot;
- } else {
- // Inside an iframe or other environment
- mountPoint = (currentRoot as Document).head;
- }
-
- if (mountPoint) {
- mountPoint.appendChild($style);
- this._styleSheet = $style;
- }
- }
-
- static getInstance(): Theme {
- if (!Theme._instance) {
- Theme._instance = new Theme();
- }
- return Theme._instance;
- }
-
- setTheme(root: HTMLElement, theme: Record<string, string>) {
- if (!this._styleSheet) return;
-
- // 1. set theme root class
- root.classList.remove(this._themeRootName);
- root.classList.add(this._themeRootName);
-
- // 2. remove old theme
- this._styleSheet.innerHTML = '';
-
- // 3. set new theme
- this._styleSheet.innerHTML = `.${this._themeRootName} {${Object.keys(theme)
- .map((key) => `${convertToDashCase(key)}: ${convertHexToRgb(theme[key])};`)
- .join('')}}`;
- }
-}
-
-export const themeInstance = Theme.getInstance();
diff --git a/packages/docs-drawing-ui/package.json b/packages/docs-drawing-ui/package.json
index cb51d60a30..3b4c1799c9 100644
--- a/packages/docs-drawing-ui/package.json
+++ b/packages/docs-drawing-ui/package.json
@@ -79,13 +79,12 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "less": "^4.3.0",
"postcss": "^8.5.3",
"react": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/docs-drawing/package.json b/packages/docs-drawing/package.json
index 3fc0694e2e..dd41f3f77f 100644
--- a/packages/docs-drawing/package.json
+++ b/packages/docs-drawing/package.json
@@ -62,7 +62,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/docs-hyper-link-ui/package.json b/packages/docs-hyper-link-ui/package.json
index 30ae6a11bb..ad336eb467 100644
--- a/packages/docs-hyper-link-ui/package.json
+++ b/packages/docs-hyper-link-ui/package.json
@@ -82,7 +82,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/docs-hyper-link/package.json b/packages/docs-hyper-link/package.json
index a318add5c6..e2b637532b 100644
--- a/packages/docs-hyper-link/package.json
+++ b/packages/docs-hyper-link/package.json
@@ -61,7 +61,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/docs-mention-ui/package.json b/packages/docs-mention-ui/package.json
index a2171a29d2..75d8044326 100644
--- a/packages/docs-mention-ui/package.json
+++ b/packages/docs-mention-ui/package.json
@@ -75,7 +75,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/docs-quick-insert-ui/package.json b/packages/docs-quick-insert-ui/package.json
index ec0a9038f1..211576b7fa 100644
--- a/packages/docs-quick-insert-ui/package.json
+++ b/packages/docs-quick-insert-ui/package.json
@@ -85,7 +85,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/docs-thread-comment-ui/package.json b/packages/docs-thread-comment-ui/package.json
index 92b41b95a3..baa8f58f8e 100644
--- a/packages/docs-thread-comment-ui/package.json
+++ b/packages/docs-thread-comment-ui/package.json
@@ -76,7 +76,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/docs-ui/package.json b/packages/docs-ui/package.json
index a064f9fb38..b7d6438657 100644
--- a/packages/docs-ui/package.json
+++ b/packages/docs-ui/package.json
@@ -97,7 +97,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/docs-ui/src/components/float-toolbar/FloatToolbar.stories.tsx b/packages/docs-ui/src/components/float-toolbar/FloatToolbar.stories.tsx
index c238e2cbac..c4a8ee418d 100644
--- a/packages/docs-ui/src/components/float-toolbar/FloatToolbar.stories.tsx
+++ b/packages/docs-ui/src/components/float-toolbar/FloatToolbar.stories.tsx
@@ -17,8 +17,8 @@
import type { Meta } from '@storybook/react';
import type { Dependency } from '@univerjs/core';
-import { LocaleService, LocaleType, ThemeService } from '@univerjs/core';
-import { ColorPicker, defaultTheme } from '@univerjs/design';
+import { LocaleService, LocaleType } from '@univerjs/core';
+import { ColorPicker } from '@univerjs/design';
import { DocSelectionManagerService } from '@univerjs/docs';
import { IRenderManagerService, RenderManagerService } from '@univerjs/engine-render';
import { ComponentManager, DesktopLayoutService, FontFamily, FontFamilyItem, FontSize, ILayoutService, IMenuManagerService, MenuManagerService, RediContext } from '@univerjs/ui';
@@ -82,8 +82,6 @@ export const Playground = {
useEffect(() => {
if (!inject) return;
- const themeService = inject.get(ThemeService);
- themeService.setTheme(defaultTheme);
const componentManager = inject.get(ComponentManager);
componentManager.register(COLOR_PICKER_COMPONENT, ColorPicker);
diff --git a/packages/docs-ui/src/components/float-toolbar/FloatToolbar.tsx b/packages/docs-ui/src/components/float-toolbar/FloatToolbar.tsx
index f19e067146..0ac5341f78 100644
--- a/packages/docs-ui/src/components/float-toolbar/FloatToolbar.tsx
+++ b/packages/docs-ui/src/components/float-toolbar/FloatToolbar.tsx
@@ -79,8 +79,7 @@ export function FloatToolbar(props: IFloatToolbarProps) {
<div
className={`
univer-box-border univer-flex univer-rounded univer-border univer-border-solid univer-border-gray-200
- univer-bg-white univer-py-1.5
- univer-shadow-[0_1px_6px_-2px_rgba(30,40,77,0.08),0_2px_6px_-1px_rgba(30,40,77,0.10)]
+ univer-bg-white univer-py-1.5 univer-shadow-sm
`}
>
{menus.map((groupItem) => groupItem.item && (
diff --git a/packages/docs-ui/src/controllers/menu/menu.ts b/packages/docs-ui/src/controllers/menu/menu.ts
index f73d99ddb5..ada8af594a 100644
--- a/packages/docs-ui/src/controllers/menu/menu.ts
+++ b/packages/docs-ui/src/controllers/menu/menu.ts
@@ -25,6 +25,7 @@ import {
DEFAULT_STYLES,
DOCS_ZEN_EDITOR_UNIT_ID_KEY,
DocumentFlavor,
+ get,
HorizontalAlign,
ICommandService,
IUniverInstanceService,
@@ -636,7 +637,9 @@ export function TextColorSelectorMenuItemFactory(accessor: IAccessor): IMenuSele
},
],
value$: new Observable<string>((subscriber) => {
- const defaultColor = themeService.getCurrentTheme().textColor;
+ const theme = themeService.getCurrentTheme();
+ const defaultColor = get(theme, 'gray.900');
+
const disposable = commandService.onCommandExecuted((c) => {
if (c.id === SetInlineFormatTextColorCommand.id) {
const color = (c.params as { value: string }).value;
@@ -999,7 +1002,9 @@ export function BackgroundColorSelectorMenuItemFactory(accessor: IAccessor): IMe
},
],
value$: new Observable<string>((subscriber) => {
- const defaultColor = themeService.getCurrentTheme().primaryColor;
+ const theme = themeService.getCurrentTheme();
+ const defaultColor = get(theme, 'primary.600');
+
const disposable = commandService.onCommandExecuted((c) => {
if (c.id === SetInlineFormatTextBackgroundColorCommand.id) {
const color = (c.params as { value: string }).value;
diff --git a/packages/docs-ui/src/views/page-settings/index.tsx b/packages/docs-ui/src/views/page-settings/index.tsx
index 66e5326dd4..027c410c95 100644
--- a/packages/docs-ui/src/views/page-settings/index.tsx
+++ b/packages/docs-ui/src/views/page-settings/index.tsx
@@ -100,7 +100,7 @@ export function PageSettings(props: IConfirmChildrenProps) {
return (
<div className="univer-flex univer-flex-col univer-gap-4">
<div className="univer-flex univer-flex-col univer-gap-2">
- <label className="univer-text-sm univer-font-medium univer-text-[#0E111E]">
+ <label className="univer-text-sm univer-font-medium univer-text-gray-900">
{localeService.t('page-settings.paper-size')}
</label>
<Select
@@ -114,7 +114,7 @@ export function PageSettings(props: IConfirmChildrenProps) {
</div>
{/* <div className="univer-flex univer-flex-col univer-gap-2">
- <label className="univer-text-sm univer-font-medium univer-text-[#0E111E]">
+ <label className="univer-text-sm univer-font-medium univer-text-gray-900">
{localeService.t('page-settings.orientation')}
</label>
<div className="univer-flex univer-gap-3">
diff --git a/packages/docs/package.json b/packages/docs/package.json
index e598188212..3318fd532d 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -68,7 +68,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/drawing-ui/package.json b/packages/drawing-ui/package.json
index 37d76122a5..9d43585173 100644
--- a/packages/drawing-ui/package.json
+++ b/packages/drawing-ui/package.json
@@ -75,13 +75,12 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "less": "^4.3.0",
"postcss": "^8.5.3",
"react": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/drawing/package.json b/packages/drawing/package.json
index 0955cf3867..50de06f5be 100644
--- a/packages/drawing/package.json
+++ b/packages/drawing/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/engine-formula/package.json b/packages/engine-formula/package.json
index 580f5cfd66..a52f7d03bb 100644
--- a/packages/engine-formula/package.json
+++ b/packages/engine-formula/package.json
@@ -83,7 +83,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/engine-numfmt/package.json b/packages/engine-numfmt/package.json
index 03b114481b..0af2e29482 100644
--- a/packages/engine-numfmt/package.json
+++ b/packages/engine-numfmt/package.json
@@ -60,7 +60,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/engine-render/package.json b/packages/engine-render/package.json
index debf0cbfbb..aaf975ec25 100644
--- a/packages/engine-render/package.json
+++ b/packages/engine-render/package.json
@@ -73,8 +73,8 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
},
"browser": {
"fs": false
diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json
index 52ed0f493c..f3bbd28a3d 100644
--- a/packages/find-replace/package.json
+++ b/packages/find-replace/package.json
@@ -81,7 +81,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/network/package.json b/packages/network/package.json
index 3d48ad3c0c..6cc4ab208f 100644
--- a/packages/network/package.json
+++ b/packages/network/package.json
@@ -77,7 +77,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/rpc-node/package.json b/packages/rpc-node/package.json
index ff4fb848e0..e29902d5ea 100644
--- a/packages/rpc-node/package.json
+++ b/packages/rpc-node/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/rpc/package.json b/packages/rpc/package.json
index 49b7013e29..9d91850021 100644
--- a/packages/rpc/package.json
+++ b/packages/rpc/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-conditional-formatting-ui/package.json b/packages/sheets-conditional-formatting-ui/package.json
index 9a609ed282..331725e2dc 100644
--- a/packages/sheets-conditional-formatting-ui/package.json
+++ b/packages/sheets-conditional-formatting-ui/package.json
@@ -90,7 +90,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-conditional-formatting/package.json b/packages/sheets-conditional-formatting/package.json
index 5f3ab715f3..6d9c48c67a 100644
--- a/packages/sheets-conditional-formatting/package.json
+++ b/packages/sheets-conditional-formatting/package.json
@@ -83,7 +83,7 @@
"@univerjs/icons-svg": "^0.3.24",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-conditional-formatting/src/facade/__tests__/create-test-bed.ts b/packages/sheets-conditional-formatting/src/facade/__tests__/create-test-bed.ts
index 5e2ec9a680..9428bfd026 100644
--- a/packages/sheets-conditional-formatting/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-conditional-formatting/src/facade/__tests__/create-test-bed.ts
@@ -27,6 +27,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -172,7 +173,9 @@ export function createFacadeTestBed(workbookData?: IWorkbookData, dependencies?:
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/sheets-crosshair-highlight/package.json b/packages/sheets-crosshair-highlight/package.json
index 98ff0b6336..fe060affa5 100644
--- a/packages/sheets-crosshair-highlight/package.json
+++ b/packages/sheets-crosshair-highlight/package.json
@@ -92,7 +92,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-data-validation-ui/package.json b/packages/sheets-data-validation-ui/package.json
index 3a69c9b944..fd704a0c2d 100644
--- a/packages/sheets-data-validation-ui/package.json
+++ b/packages/sheets-data-validation-ui/package.json
@@ -90,7 +90,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-data-validation-ui/src/views/components/item/index.tsx b/packages/sheets-data-validation-ui/src/views/components/item/index.tsx
index b0215fa81a..251ba10497 100644
--- a/packages/sheets-data-validation-ui/src/views/components/item/index.tsx
+++ b/packages/sheets-data-validation-ui/src/views/components/item/index.tsx
@@ -15,7 +15,7 @@
*/
import type { ISheetDataValidationRule } from '@univerjs/core';
-import { ColorKit, ICommandService, ThemeService } from '@univerjs/core';
+import { ColorKit, get, ICommandService, ThemeService } from '@univerjs/core';
import { DataValidatorRegistryService } from '@univerjs/data-validation';
import { clsx } from '@univerjs/design';
import { serializeRange } from '@univerjs/engine-formula';
@@ -44,7 +44,11 @@ export const DataValidationItem = (props: IDataValidationDetailProps) => {
const themeService = useDependency(ThemeService);
const theme = useObservable(themeService.currentTheme$);
const style = useMemo(() => {
- const color = theme?.loopColor2 ?? '#49B811';
+ const defaultColor = get(theme, 'primary.600');
+ const key = get(theme, 'loop-color.2');
+ if (!key) throw new Error('theme.loop-color.2 is not defined');
+ const color = get(theme, key, defaultColor);
+
const rgb = new ColorKit(color).toRgb();
return {
fill: `rgba(${rgb.r}, ${rgb.g}, ${rgb.b}, 0.1)`,
diff --git a/packages/sheets-data-validation-ui/src/views/widgets/checkbox-widget.ts b/packages/sheets-data-validation-ui/src/views/widgets/checkbox-widget.ts
index 93e21cdf13..ffa6c3b928 100644
--- a/packages/sheets-data-validation-ui/src/views/widgets/checkbox-widget.ts
+++ b/packages/sheets-data-validation-ui/src/views/widgets/checkbox-widget.ts
@@ -19,7 +19,7 @@ import type { IBaseDataValidationWidget, IFormulaResult } from '@univerjs/data-v
import type { IMouseEvent, IPointerEvent, UniverRenderingContext, UniverRenderingContext2D } from '@univerjs/engine-render';
import type { ISetRangeValuesCommandParams } from '@univerjs/sheets';
import type { CheckboxValidator } from '@univerjs/sheets-data-validation';
-import { HorizontalAlign, ICommandService, Inject, isFormulaString, IUniverInstanceService, ThemeService, UniverInstanceType, VerticalAlign } from '@univerjs/core';
+import { get, HorizontalAlign, ICommandService, Inject, isFormulaString, IUniverInstanceService, ThemeService, UniverInstanceType, VerticalAlign } from '@univerjs/core';
import { CheckboxShape as Checkbox, CURSOR_TYPE, fixLineWidthByScale, getCurrentTypeOfRenderer, IRenderManagerService, Transform } from '@univerjs/engine-render';
import { SetRangeValuesCommand } from '@univerjs/sheets';
import { CHECKBOX_FORMULA_1, CHECKBOX_FORMULA_2, DataValidationFormulaService, getCellValueOrigin, getFormulaResult, isLegalFormulaResult, SheetDataValidationModel, transformCheckboxValue } from '@univerjs/sheets-data-validation';
@@ -114,7 +114,7 @@ export class CheckboxRender implements IBaseDataValidationWidget {
return;
}
- const colors = this._themeService.getCurrentTheme();
+ const theme = this._themeService.getCurrentTheme();
if (!validator.skipDefaultFontRender?.(rule, value, { unitId: unitId!, subUnitId, row, column: col })) {
return;
}
@@ -151,7 +151,7 @@ export class CheckboxRender implements IBaseDataValidationWidget {
const size = (style?.fs ?? 10) * 1.6;
const checked = String(value) === String(formula1);
- const defaultColor = colors.hyacinth500;
+ const defaultColor = get(theme, 'primary.600');
Checkbox.drawWith(ctx as UniverRenderingContext, {
checked,
diff --git a/packages/sheets-data-validation/package.json b/packages/sheets-data-validation/package.json
index e3664215c6..338cf7055d 100644
--- a/packages/sheets-data-validation/package.json
+++ b/packages/sheets-data-validation/package.json
@@ -84,7 +84,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-data-validation/src/facade/__tests__/create-test-bed.ts b/packages/sheets-data-validation/src/facade/__tests__/create-test-bed.ts
index ebe46e8566..9d516534c6 100644
--- a/packages/sheets-data-validation/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-data-validation/src/facade/__tests__/create-test-bed.ts
@@ -24,6 +24,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -155,7 +156,9 @@ export function createFacadeTestBed(workbookData?: IWorkbookData, dependencies?:
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/sheets-data-validation/src/facade/__tests__/create-worksheet-test-bed.ts b/packages/sheets-data-validation/src/facade/__tests__/create-worksheet-test-bed.ts
index 2a0cead74a..35665eb15c 100644
--- a/packages/sheets-data-validation/src/facade/__tests__/create-worksheet-test-bed.ts
+++ b/packages/sheets-data-validation/src/facade/__tests__/create-worksheet-test-bed.ts
@@ -24,6 +24,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -148,7 +149,9 @@ export function createWorksheetTestBed(workbookData?: IWorkbookData, dependencie
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/sheets-drawing-ui/package.json b/packages/sheets-drawing-ui/package.json
index 8a0a1a8fcb..c7d2e2d239 100644
--- a/packages/sheets-drawing-ui/package.json
+++ b/packages/sheets-drawing-ui/package.json
@@ -92,13 +92,12 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "less": "^4.3.0",
"postcss": "^8.5.3",
"react": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-drawing/package.json b/packages/sheets-drawing/package.json
index 2a094afce2..058be2576a 100644
--- a/packages/sheets-drawing/package.json
+++ b/packages/sheets-drawing/package.json
@@ -63,7 +63,7 @@
"@univerjs-infra/shared": "workspace:*",
"@univerjs/sheets": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-filter-ui/package.json b/packages/sheets-filter-ui/package.json
index 8a5a4049ad..741d583717 100644
--- a/packages/sheets-filter-ui/package.json
+++ b/packages/sheets-filter-ui/package.json
@@ -84,7 +84,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-filter-ui/src/views/widgets/filter-button.shape.ts b/packages/sheets-filter-ui/src/views/widgets/filter-button.shape.ts
index 4230558ac8..be0d47cc4a 100644
--- a/packages/sheets-filter-ui/src/views/widgets/filter-button.shape.ts
+++ b/packages/sheets-filter-ui/src/views/widgets/filter-button.shape.ts
@@ -14,10 +14,12 @@
* limitations under the License.
*/
-import { ICommandService, IContextService, Inject, ThemeService } from '@univerjs/core';
-import { type IMouseEvent, type IPointerEvent, type IShapeProps, Shape, type UniverRenderingContext2D } from '@univerjs/engine-render';
+import type { IMouseEvent, IPointerEvent, IShapeProps, UniverRenderingContext2D } from '@univerjs/engine-render';
+import type { IOpenFilterPanelOperationParams } from '../../commands/operations/sheets-filter.operation';
+import { get, ICommandService, IContextService, Inject, ThemeService } from '@univerjs/core';
-import { FILTER_PANEL_OPENED_KEY, type IOpenFilterPanelOperationParams, OpenFilterPanelOperation } from '../../commands/operations/sheets-filter.operation';
+import { Shape } from '@univerjs/engine-render';
+import { FILTER_PANEL_OPENED_KEY, OpenFilterPanelOperation } from '../../commands/operations/sheets-filter.operation';
import { FilterButton } from './drawings';
export const FILTER_ICON_SIZE = 16;
@@ -90,9 +92,10 @@ export class SheetsFilterButtonShape extends Shape<ISheetsFilterButtonShapeProps
ctx.clip(cellRegion);
const { hasCriteria } = this._filterParams!;
- const fgColor = this._themeService.getCurrentTheme().primaryColor;
+ const theme = this._themeService.getCurrentTheme();
+ const fgColor = get(theme, 'primary.600');
const bgColor = this._hovered
- ? this._themeService.getCurrentTheme().grey50
+ ? get(theme, 'gray.50')
: 'rgba(255, 255, 255, 1.0)';
if (hasCriteria) {
diff --git a/packages/sheets-filter/package.json b/packages/sheets-filter/package.json
index 6f5fa87a1f..820c83d143 100644
--- a/packages/sheets-filter/package.json
+++ b/packages/sheets-filter/package.json
@@ -79,7 +79,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-filter/src/facade/__tests__/create-test-bed.ts b/packages/sheets-filter/src/facade/__tests__/create-test-bed.ts
index 047de45ec4..895adfde04 100644
--- a/packages/sheets-filter/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-filter/src/facade/__tests__/create-test-bed.ts
@@ -24,6 +24,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -148,7 +149,9 @@ export function createFacadeTestBed(workbookData?: IWorkbookData, dependencies?:
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/sheets-filter/src/facade/__tests__/create-worksheet-test-bed.ts b/packages/sheets-filter/src/facade/__tests__/create-worksheet-test-bed.ts
index 214889a7cb..4c4a4c964e 100644
--- a/packages/sheets-filter/src/facade/__tests__/create-worksheet-test-bed.ts
+++ b/packages/sheets-filter/src/facade/__tests__/create-worksheet-test-bed.ts
@@ -24,6 +24,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -140,7 +141,9 @@ export function createWorksheetTestBed(workbookData?: IWorkbookData, dependencie
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/sheets-find-replace/package.json b/packages/sheets-find-replace/package.json
index 070ef79a85..a4aade01ea 100644
--- a/packages/sheets-find-replace/package.json
+++ b/packages/sheets-find-replace/package.json
@@ -88,7 +88,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-find-replace/src/controllers/sheet-find-replace.controller.ts b/packages/sheets-find-replace/src/controllers/sheet-find-replace.controller.ts
index 4f22538ac3..71367f7443 100644
--- a/packages/sheets-find-replace/src/controllers/sheet-find-replace.controller.ts
+++ b/packages/sheets-find-replace/src/controllers/sheet-find-replace.controller.ts
@@ -20,7 +20,7 @@ import type { ISelectionWithStyle, ISelectRangeCommandParams, ISetRangeValuesCom
import type { IScrollToCellCommandParams } from '@univerjs/sheets-ui';
import type { ISheetReplaceCommandParams, ISheetReplacement } from '../commands/commands/sheet-replace.command';
import type { ISheetFindReplaceHighlightShapeProps } from '../views/shapes/find-replace-highlight.shape';
-import { ColorKit, CommandType, Disposable, EDITOR_ACTIVATED, fromCallback, groupBy, ICommandService, IContextService, Inject, Injector, IUniverInstanceService, ObjectMatrix, replaceInDocumentBody, rotate, ThemeService, Tools, UniverInstanceType } from '@univerjs/core';
+import { ColorKit, CommandType, Disposable, EDITOR_ACTIVATED, fromCallback, get, groupBy, ICommandService, IContextService, Inject, Injector, IUniverInstanceService, ObjectMatrix, replaceInDocumentBody, rotate, ThemeService, Tools, UniverInstanceType } from '@univerjs/core';
import { IRenderManagerService, RENDER_RAW_FORMULA_KEY } from '@univerjs/engine-render';
import { FindBy, FindDirection, FindModel, FindReplaceController, FindScope, IFindReplaceService } from '@univerjs/find-replace';
import { SelectRangeCommand, SetRangeValuesCommand, SetSelectionsOperation, SetWorksheetActivateCommand, SetWorksheetActiveOperation, SheetsSelectionsService } from '@univerjs/sheets';
@@ -481,7 +481,8 @@ export class SheetFindModel extends FindModel {
const { scene } = currentRender;
const matches = this._matches;
- const searchBackgroundColor = this._themeService.getCurrentTheme().gold400;
+ const theme = this._themeService.getCurrentTheme();
+ const searchBackgroundColor = get(theme, 'yellow.400');
const color = new ColorKit(searchBackgroundColor).toRgb();
const worksheet = this._workbook.getActiveSheet();
if (!worksheet) {
diff --git a/packages/sheets-formula-ui/package.json b/packages/sheets-formula-ui/package.json
index 61d3fd99cf..da397d9c0d 100644
--- a/packages/sheets-formula-ui/package.json
+++ b/packages/sheets-formula-ui/package.json
@@ -97,7 +97,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-formula-ui/src/common/selection.ts b/packages/sheets-formula-ui/src/common/selection.ts
index 7ae53c5f00..d340c26e4d 100644
--- a/packages/sheets-formula-ui/src/common/selection.ts
+++ b/packages/sheets-formula-ui/src/common/selection.ts
@@ -14,13 +14,14 @@
* limitations under the License.
*/
+import type { ThemeService } from '@univerjs/core';
import type { ISelectionStyle } from '@univerjs/sheets';
-import { ColorKit, type ThemeService } from '@univerjs/core';
+import { ColorKit, get } from '@univerjs/core';
export const FORMULA_REF_SELECTION_PLUGIN_NAME = 'formula_reference_selection_plugin_name';
export function genFormulaRefSelectionStyle(themeService: ThemeService, refColor: string, id: string): ISelectionStyle {
- const style = themeService.getCurrentTheme();
+ const theme = themeService.getCurrentTheme();
const fill = new ColorKit(refColor).setAlpha(0.05).toRgbString();
return {
id,
@@ -30,6 +31,6 @@ export function genFormulaRefSelectionStyle(themeService: ThemeService, refColor
widgets: { tl: true, tc: true, tr: true, ml: true, mr: true, bl: true, bc: true, br: true },
widgetSize: 6,
widgetStrokeWidth: 1,
- widgetStroke: style.colorWhite,
+ widgetStroke: get(theme, 'white'),
};
}
diff --git a/packages/sheets-formula-ui/src/controllers/__tests__/formula-auto-fill.controller.spec.ts b/packages/sheets-formula-ui/src/controllers/__tests__/formula-auto-fill.controller.spec.ts
index 581cc1e6d4..8d2d17c4b3 100644
--- a/packages/sheets-formula-ui/src/controllers/__tests__/formula-auto-fill.controller.spec.ts
+++ b/packages/sheets-formula-ui/src/controllers/__tests__/formula-auto-fill.controller.spec.ts
@@ -20,6 +20,7 @@ import {
IUniverInstanceService,
RANGE_TYPE,
RedoCommand,
+ set,
ThemeService,
UndoCommand,
} from '@univerjs/core';
@@ -47,10 +48,6 @@ import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { FormulaAutoFillController } from '../formula-auto-fill.controller';
import { createCommandTestBed } from './create-command-test-bed';
-const theme = {
- colorBlack: '#35322b',
-};
-
class mockSheetsRenderService {
registerSkeletonChangingMutations(id: string) {
}
@@ -86,7 +83,10 @@ describe('Test auto fill with formula', () => {
commandService = get(ICommandService);
themeService = get(ThemeService);
- themeService.setTheme(theme);
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
+
get(AutoFillController);
commandService.registerCommand(SetRangeValuesMutation);
diff --git a/packages/sheets-formula-ui/src/controllers/formula-editor-show.controller.ts b/packages/sheets-formula-ui/src/controllers/formula-editor-show.controller.ts
index 539a40c0a6..b2dd786630 100644
--- a/packages/sheets-formula-ui/src/controllers/formula-editor-show.controller.ts
+++ b/packages/sheets-formula-ui/src/controllers/formula-editor-show.controller.ts
@@ -20,6 +20,7 @@ import type { ISelectionWithStyle, ISetWorksheetRowAutoHeightMutationParams } fr
import {
ColorKit,
Disposable,
+ get,
ICommandService,
ILogService,
Inject,
@@ -221,14 +222,14 @@ export class FormulaEditorShowController extends Disposable implements IRenderMo
const { scene } = renderUnit;
if (!scene) return;
- const styleSheet = this._themeService.getCurrentTheme();
+ const theme = this._themeService.getCurrentTheme();
const selectionWithStyle: ISelectionWithStyle = {
range: arrayRange,
primary: null,
style: {
strokeWidth: 1,
- stroke: styleSheet.hyacinth700,
- fill: new ColorKit(styleSheet.colorWhite).setAlpha(0).toString(),
+ stroke: get(theme, 'primary.600'),
+ fill: new ColorKit(get(theme, 'white')).setAlpha(0).toString(),
widgets: {},
},
};
diff --git a/packages/sheets-formula-ui/src/views/formula-editor/hooks/use-highlight.ts b/packages/sheets-formula-ui/src/views/formula-editor/hooks/use-highlight.ts
index 7918370f89..be1af815d7 100644
--- a/packages/sheets-formula-ui/src/views/formula-editor/hooks/use-highlight.ts
+++ b/packages/sheets-formula-ui/src/views/formula-editor/hooks/use-highlight.ts
@@ -19,7 +19,7 @@ import type { Editor } from '@univerjs/docs-ui';
import type { ISequenceNode } from '@univerjs/engine-formula';
import type { ISelectionWithStyle, SheetsSelectionsService } from '@univerjs/sheets';
import type { INode } from './use-formula-token';
-import { getBodySlice, ICommandService, IUniverInstanceService, ThemeService, UniverInstanceType } from '@univerjs/core';
+import { get, getBodySlice, ICommandService, IUniverInstanceService, ThemeService, UniverInstanceType } from '@univerjs/core';
import { ReplaceTextRunsCommand } from '@univerjs/docs-ui';
import { deserializeRangeWithSheet, sequenceNodeType } from '@univerjs/engine-formula';
import { IRenderManagerService } from '@univerjs/engine-render';
@@ -250,27 +250,28 @@ interface IColorMap {
export function useColor(): IColorMap {
const themeService = useDependency(ThemeService);
- const style = themeService.getCurrentTheme();
+ const theme = themeService.getCurrentTheme();
const result = useMemo(() => {
const formulaRefColors = [
- style.loopColor1,
- style.loopColor2,
- style.loopColor3,
- style.loopColor4,
- style.loopColor5,
- style.loopColor6,
- style.loopColor7,
- style.loopColor8,
- style.loopColor9,
- style.loopColor10,
- style.loopColor11,
- style.loopColor12,
+ get(theme, 'loop-color.1'),
+ get(theme, 'loop-color.2'),
+ get(theme, 'loop-color.3'),
+ get(theme, 'loop-color.4'),
+ get(theme, 'loop-color.5'),
+ get(theme, 'loop-color.6'),
+ get(theme, 'loop-color.7'),
+ get(theme, 'loop-color.8'),
+ get(theme, 'loop-color.9'),
+ get(theme, 'loop-color.10'),
+ get(theme, 'loop-color.11'),
+ get(theme, 'loop-color.12'),
];
- const numberColor = style.hyacinth700;
- const stringColor = style.verdancy800;
- const plainTextColor = style.colorBlack;
+ const numberColor = get(theme, 'blue.700');
+ const stringColor = get(theme, 'jiqing.800');
+ const plainTextColor = get(theme, 'black');
return { formulaRefColors, numberColor, stringColor, plainTextColor };
- }, [style]);
+ }, [theme]);
+
return result;
}
diff --git a/packages/sheets-formula-ui/src/views/formula-editor/index.tsx b/packages/sheets-formula-ui/src/views/formula-editor/index.tsx
index 40ad9d99a7..9f507feae7 100644
--- a/packages/sheets-formula-ui/src/views/formula-editor/index.tsx
+++ b/packages/sheets-formula-ui/src/views/formula-editor/index.tsx
@@ -318,11 +318,11 @@ export const FormulaEditor = forwardRef((props: IFormulaEditorProps, ref: Ref<IF
className={clsx(
`
univer-relative univer-box-border univer-flex univer-h-full univer-w-full univer-items-center
- univer-justify-around univer-gap-2 univer-rounded-none univer-border-none univer-p-0
+ univer-justify-around univer-gap-2 univer-rounded-none univer-p-0 univer-ring-1
`,
{
- 'univer-border-primary-500': isFocus,
- 'univer-border-red-500': isError,
+ 'univer-ring-primary-500': isFocus,
+ 'univer-ring-red-500': isError,
}
)}
ref={sheetEmbeddingRef}
diff --git a/packages/sheets-formula-ui/src/views/formula-editor/search-function/SearchFunction.tsx b/packages/sheets-formula-ui/src/views/formula-editor/search-function/SearchFunction.tsx
index b4de2e5f3a..f714437270 100644
--- a/packages/sheets-formula-ui/src/views/formula-editor/search-function/SearchFunction.tsx
+++ b/packages/sheets-formula-ui/src/views/formula-editor/search-function/SearchFunction.tsx
@@ -17,6 +17,7 @@
import type { Editor } from '@univerjs/docs-ui';
import type { ISequenceNode } from '@univerjs/engine-formula';
import { CommandType, DisposableCollection, ICommandService } from '@univerjs/core';
+import { clsx, scrollbarClassName } from '@univerjs/design';
import { DeviceInputEventType } from '@univerjs/engine-render';
import { IShortcutService, KeyCode, RectPopup, useDependency } from '@univerjs/ui';
import React, { forwardRef, useEffect, useMemo, useRef, useState } from 'react';
@@ -189,11 +190,11 @@ function SearchFunctionFactory(props: ISearchFunctionProps, ref: any) {
return searchList.length > 0 && visible && (
<RectPopup portal anchorRect$={position$} direction="vertical">
<ul
- className={`
+ className={clsx(`
univer-m-0 univer-box-border univer-max-h-[400px] univer-w-[250px] univer-list-none
univer-overflow-y-auto univer-rounded-lg univer-border univer-border-solid univer-border-gray-200
univer-bg-white univer-p-2 univer-leading-5 univer-shadow-md univer-outline-none
- `}
+ `, scrollbarClassName)}
ref={(v) => {
ulRef.current = v!;
if (ref) {
diff --git a/packages/sheets-formula/package.json b/packages/sheets-formula/package.json
index 9f32d27b9e..5d9648ccd1 100644
--- a/packages/sheets-formula/package.json
+++ b/packages/sheets-formula/package.json
@@ -87,7 +87,7 @@
"@univerjs/docs": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-graphics/package.json b/packages/sheets-graphics/package.json
index acd61fe81d..d297c0367c 100644
--- a/packages/sheets-graphics/package.json
+++ b/packages/sheets-graphics/package.json
@@ -63,7 +63,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-hyper-link-ui/package.json b/packages/sheets-hyper-link-ui/package.json
index e30ab3598d..4d394b06f4 100644
--- a/packages/sheets-hyper-link-ui/package.json
+++ b/packages/sheets-hyper-link-ui/package.json
@@ -100,7 +100,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-hyper-link-ui/src/views/CellLinkEdit/index.tsx b/packages/sheets-hyper-link-ui/src/views/CellLinkEdit/index.tsx
index 9a1b079625..751db4a9f9 100644
--- a/packages/sheets-hyper-link-ui/src/views/CellLinkEdit/index.tsx
+++ b/packages/sheets-hyper-link-ui/src/views/CellLinkEdit/index.tsx
@@ -16,7 +16,7 @@
import type { DocumentDataModel, Nullable, Workbook } from '@univerjs/core';
import type { ISelectionWithStyle, ISetSelectionsOperationParams } from '@univerjs/sheets';
-import { BuildTextUtils, ColorKit, CustomRangeType, DataStreamTreeTokenType, DisposableCollection, DOCS_ZEN_EDITOR_UNIT_ID_KEY, FOCUSING_SHEET, generateRandomId, ICommandService, IContextService, isValidRange, IUniverInstanceService, LocaleService, ThemeService, Tools, UniverInstanceType } from '@univerjs/core';
+import { BuildTextUtils, ColorKit, CustomRangeType, DataStreamTreeTokenType, DisposableCollection, DOCS_ZEN_EDITOR_UNIT_ID_KEY, FOCUSING_SHEET, generateRandomId, get, ICommandService, IContextService, isValidRange, IUniverInstanceService, LocaleService, ThemeService, Tools, UniverInstanceType } from '@univerjs/core';
import { Button, FormLayout, Input, Select } from '@univerjs/design';
import { DocSelectionManagerService } from '@univerjs/docs';
import { DocBackScrollRenderController, DocSelectionRenderService } from '@univerjs/docs-ui';
@@ -198,7 +198,8 @@ export const CellLinkEdit = () => {
const workbook = univerInstanceService.getUnit<Workbook>(editing.unitId, UniverInstanceType.UNIVER_SHEET);
const worksheet = workbook?.getSheetBySheetId(editing.subUnitId);
const mergeInfo = worksheet?.getMergedCell(editing.row, editing.col);
- const color = new ColorKit(themeService.getCurrentTheme().hyacinth500).toRgb();
+ const theme = themeService.getCurrentTheme();
+ const color = new ColorKit(get(theme, 'primary.600')).toRgb();
id = markSelectionService.addShape(
{
range: mergeInfo ?? {
diff --git a/packages/sheets-hyper-link/package.json b/packages/sheets-hyper-link/package.json
index d6388d6f91..0a020ea66f 100644
--- a/packages/sheets-hyper-link/package.json
+++ b/packages/sheets-hyper-link/package.json
@@ -80,7 +80,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-note-ui/package.json b/packages/sheets-note-ui/package.json
index 2c82a421c7..6e2175b8f9 100644
--- a/packages/sheets-note-ui/package.json
+++ b/packages/sheets-note-ui/package.json
@@ -79,7 +79,7 @@
"postcss": "^8.5.3",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-note/package.json b/packages/sheets-note/package.json
index c04ac763e6..b7d7e145c7 100644
--- a/packages/sheets-note/package.json
+++ b/packages/sheets-note/package.json
@@ -77,7 +77,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-numfmt-ui/package.json b/packages/sheets-numfmt-ui/package.json
index 23e470aeec..b1b37cee91 100644
--- a/packages/sheets-numfmt-ui/package.json
+++ b/packages/sheets-numfmt-ui/package.json
@@ -81,13 +81,12 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "less": "^4.3.0",
"postcss": "^8.5.3",
"react": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-numfmt-ui/src/controllers/numfmt.controller.ts b/packages/sheets-numfmt-ui/src/controllers/numfmt.controller.ts
index 217ed3c6b8..c65fe970d6 100644
--- a/packages/sheets-numfmt-ui/src/controllers/numfmt.controller.ts
+++ b/packages/sheets-numfmt-ui/src/controllers/numfmt.controller.ts
@@ -22,6 +22,7 @@ import {
CellValueType,
Disposable,
DisposableCollection,
+ get,
ICommandService,
Inject,
InterceptorEffectEnum,
@@ -268,8 +269,8 @@ export class SheetNumfmtUIController extends Disposable {
}
const info = getPatternPreviewIgnoreGeneral(this._previewPattern, value as number, this._sheetsNumfmtCellContentController.local);
if (info.color) {
- const colorMap = this._themeService.getCurrentTheme();
- const color = colorMap[`${info.color}500`];
+ const theme = this._themeService.getCurrentTheme();
+ const color = get(theme, `${info.color}.500`);
return {
...defaultValue,
v: info.result,
diff --git a/packages/sheets-numfmt/package.json b/packages/sheets-numfmt/package.json
index 8738827222..b186ff2558 100644
--- a/packages/sheets-numfmt/package.json
+++ b/packages/sheets-numfmt/package.json
@@ -81,7 +81,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-numfmt/src/controllers/numfmt-cell-content.controller.ts b/packages/sheets-numfmt/src/controllers/numfmt-cell-content.controller.ts
index 49b0001dee..20ce6f075e 100644
--- a/packages/sheets-numfmt/src/controllers/numfmt-cell-content.controller.ts
+++ b/packages/sheets-numfmt/src/controllers/numfmt-cell-content.controller.ts
@@ -25,6 +25,7 @@ import type { IUniverSheetsNumfmtConfig } from './config.schema';
import {
CellValueType,
Disposable,
+ get,
ICommandService,
IConfigService,
Inject,
@@ -174,7 +175,8 @@ export class SheetsNumfmtCellContentController extends Disposable {
const res: ICellDataForSheetInterceptor = { v: numfmtRes, t: CellValueType.NUMBER };
if (info.color) {
- const color = this._themeService.getCurrentTheme()[`${info.color}500`];
+ const theme = this._themeService.getCurrentTheme();
+ const color = get(theme, `${info.color}.500`);
if (color) {
res.interceptorStyle = { cl: { rgb: color } };
diff --git a/packages/sheets-numfmt/src/facade/__tests__/create-test-bed.ts b/packages/sheets-numfmt/src/facade/__tests__/create-test-bed.ts
index 18055741e0..afaeeae815 100644
--- a/packages/sheets-numfmt/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-numfmt/src/facade/__tests__/create-test-bed.ts
@@ -24,6 +24,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -119,7 +120,9 @@ export function createFacadeTestBed(workbookData?: IWorkbookData, dependencies?:
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/sheets-sort-ui/package.json b/packages/sheets-sort-ui/package.json
index bee8500bd0..6ee113d47c 100644
--- a/packages/sheets-sort-ui/package.json
+++ b/packages/sheets-sort-ui/package.json
@@ -78,13 +78,12 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"@univerjs/sheets-formula-ui": "workspace:*",
- "less": "^4.3.0",
"postcss": "^8.5.3",
"react": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-sort/package.json b/packages/sheets-sort/package.json
index 38d634abce..ec16431546 100644
--- a/packages/sheets-sort/package.json
+++ b/packages/sheets-sort/package.json
@@ -80,7 +80,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-table-ui/package.json b/packages/sheets-table-ui/package.json
index 72cc51bb30..eadc244c1f 100644
--- a/packages/sheets-table-ui/package.json
+++ b/packages/sheets-table-ui/package.json
@@ -90,7 +90,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-table-ui/src/views/components/SheetTableAnchor.tsx b/packages/sheets-table-ui/src/views/components/SheetTableAnchor.tsx
index 8864c5a758..6d912ddc49 100644
--- a/packages/sheets-table-ui/src/views/components/SheetTableAnchor.tsx
+++ b/packages/sheets-table-ui/src/views/components/SheetTableAnchor.tsx
@@ -139,14 +139,9 @@ export const SheetTableAnchor = () => {
<div
key={item.tableId}
className={`
- univer-absolute univer-box-border univer-flex
- ${anchorHeight
- ? `
- univer-h-[${anchorHeight}px]
- `
- : 'univer-h-[24px]'}
- univer-cursor-pointer univer-items-center univer-rounded-xl univer-border univer-border-solid
- univer-border-gray-500 univer-pl-2 univer-pr-2 univer-shadow-xs
+ univer-absolute univer-box-border univer-flex univer-cursor-pointer univer-items-center
+ univer-rounded-xl univer-border univer-border-solid univer-border-gray-500 univer-pl-2
+ univer-pr-2 univer-shadow-xs
`}
style={{
left: item.x,
@@ -155,6 +150,7 @@ export const SheetTableAnchor = () => {
color: headerTextColor,
borderWidth: '0.5px',
display: shouldHidden ? 'none' : 'flex',
+ height: anchorHeight ? `${anchorHeight}px` : '24px',
}}
>
<div className="univer-text-nowrap">
@@ -204,7 +200,7 @@ export const SheetTableAnchor = () => {
</div>
<div
className={`
- univer-mb-1 univer-mt-1 univer-h-[1px] univer-w-full univer-bg-gray-200
+ univer-mb-1 univer-mt-1 univer-h-px univer-w-full univer-bg-gray-200
`}
/>
<div
@@ -252,7 +248,7 @@ export const SheetTableAnchor = () => {
</div>
<div
className={`
- univer-mb-1 univer-mt-1 univer-h-[1px] univer-w-full univer-bg-gray-200
+ univer-mb-1 univer-mt-1 univer-h-px univer-w-full univer-bg-gray-200
`}
/>
<div
diff --git a/packages/sheets-table-ui/src/views/components/SheetTableThemePanel.tsx b/packages/sheets-table-ui/src/views/components/SheetTableThemePanel.tsx
index 54f701cdc2..591c808dfe 100644
--- a/packages/sheets-table-ui/src/views/components/SheetTableThemePanel.tsx
+++ b/packages/sheets-table-ui/src/views/components/SheetTableThemePanel.tsx
@@ -140,16 +140,16 @@ export const SheetTableThemePanel = (props: ISheetTableThemePanelProps) => {
return (
<div
key={item}
- className="univer-h-10 univer-w-8 univer-cursor-pointer univer-p-[1px]"
+ className="univer-h-10 univer-w-8 univer-cursor-pointer univer-p-px"
onClick={() => handleThemeChange(item)}
style={{
border: item === themeConfig.theme ? TABLE_BORDER_SELECTED : TABLE_BORDER_DEFAULT,
}}
>
- <div className="univer-box-border univer-h-[10px]" style={{ background: headerRowBg, border: `${headerRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
- <div className="univer-box-border univer-h-[10px]" style={{ background: firstRowBg, border: `${firstRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
- <div className="univer-box-border univer-h-[10px]" style={{ background: secondRowBg, border: `${secondRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
- <div className="univer-box-border univer-h-[10px]" style={{ background: lastRowBg, border: `${lastRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
+ <div className="univer-box-border univer-h-2.5" style={{ background: headerRowBg, border: `${headerRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
+ <div className="univer-box-border univer-h-2.5" style={{ background: firstRowBg, border: `${firstRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
+ <div className="univer-box-border univer-h-2.5" style={{ background: secondRowBg, border: `${secondRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
+ <div className="univer-box-border univer-h-2.5" style={{ background: lastRowBg, border: `${lastRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
</div>
);
})}
@@ -161,7 +161,7 @@ export const SheetTableThemePanel = (props: ISheetTableThemePanelProps) => {
<div
className={`
univer-h-10 univer-w-8 univer-cursor-pointer univer-border univer-border-solid
- univer-border-gray-200 univer-p-[1px] univer-text-center univer-leading-10
+ univer-border-gray-200 univer-p-px univer-text-center univer-leading-10
`}
onClick={handleAddCustomTheme}
>
@@ -177,7 +177,7 @@ export const SheetTableThemePanel = (props: ISheetTableThemePanelProps) => {
return (
<div
key={item}
- className="univer-relative univer-h-10 univer-w-8 univer-cursor-pointer univer-p-[1px]"
+ className="univer-relative univer-h-10 univer-w-8 univer-cursor-pointer univer-p-px"
onClick={() => handleThemeChange(item)}
style={{
border: item === themeConfig.theme ? TABLE_BORDER_SELECTED : TABLE_BORDER_DEFAULT,
@@ -185,10 +185,10 @@ export const SheetTableThemePanel = (props: ISheetTableThemePanelProps) => {
onMouseEnter={() => setHoverCustomId(item)}
onMouseLeave={() => setHoverCustomId(null)}
>
- <div className="univer-box-border univer-h-[10px]" style={{ background: headerRowBg ?? TABLE_BORDER_NONE, border: `${headerRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
- <div className="univer-box-border univer-h-[10px]" style={{ background: firstRowBg ?? TABLE_BORDER_NONE, border: `${firstRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
- <div className="univer-box-border univer-h-[10px]" style={{ background: secondRowBg ?? TABLE_BORDER_NONE, border: `${secondRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
- <div className="univer-box-border univer-h-[10px]" style={{ background: lastRowBg ?? TABLE_BORDER_NONE, border: `${lastRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
+ <div className="univer-box-border univer-h-2.5" style={{ background: headerRowBg ?? TABLE_BORDER_NONE, border: `${headerRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
+ <div className="univer-box-border univer-h-2.5" style={{ background: firstRowBg ?? TABLE_BORDER_NONE, border: `${firstRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
+ <div className="univer-box-border univer-h-2.5" style={{ background: secondRowBg ?? TABLE_BORDER_NONE, border: `${secondRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
+ <div className="univer-box-border univer-h-2.5" style={{ background: lastRowBg ?? TABLE_BORDER_NONE, border: `${lastRowBg ? TABLE_BORDER_NONE : TABLE_BORDER_DEFAULT}` }} />
<div
className={`
@@ -211,7 +211,7 @@ export const SheetTableThemePanel = (props: ISheetTableThemePanelProps) => {
{customSelected && (
<>
- <div className="univer-h-[1px] univer-w-full univer-bg-gray-200" />
+ <div className="univer-h-px univer-w-full univer-bg-gray-200" />
<div className="univer-flex univer-flex-col univer-gap-2 univer-p-2">
<div className="univer-flex univer-h-9 univer-gap-2">
<div
diff --git a/packages/sheets-table-ui/src/views/widgets/table-filter-button.shape.ts b/packages/sheets-table-ui/src/views/widgets/table-filter-button.shape.ts
index ec74465b3d..699cf8016a 100644
--- a/packages/sheets-table-ui/src/views/widgets/table-filter-button.shape.ts
+++ b/packages/sheets-table-ui/src/views/widgets/table-filter-button.shape.ts
@@ -17,7 +17,7 @@
import type { IMouseEvent, IPointerEvent, IShapeProps, UniverRenderingContext2D } from '@univerjs/engine-render';
import type { IOpenTableFilterPanelOperationParams } from '../../commands/operations/open-table-filter-dialog.opration';
-import { ICommandService, IContextService, Inject, ThemeService } from '@univerjs/core';
+import { get, ICommandService, IContextService, Inject, ThemeService } from '@univerjs/core';
import { Shape } from '@univerjs/engine-render';
import { SheetsTableButtonStateEnum } from '@univerjs/sheets-table';
import { OpenTableFilterPanelOperation } from '../../commands/operations/open-table-filter-dialog.opration';
@@ -95,9 +95,10 @@ export class SheetsTableFilterButtonShape extends Shape<ISheetsTableFilterButton
ctx.clip(cellRegion);
const { buttonState } = this._filterParams!;
- const fgColor = this._themeService.getCurrentTheme().primaryColor;
+ const theme = this._themeService.getCurrentTheme();
+ const fgColor = get(theme, 'primary.600');
const bgColor = this._hovered
- ? this._themeService.getCurrentTheme().grey50
+ ? get(theme, 'gray.50')
: 'rgba(255, 255, 255, 1.0)';
let icons;
diff --git a/packages/sheets-table/package.json b/packages/sheets-table/package.json
index 336b1e1fbd..005ca651db 100644
--- a/packages/sheets-table/package.json
+++ b/packages/sheets-table/package.json
@@ -81,7 +81,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-thread-comment-ui/package.json b/packages/sheets-thread-comment-ui/package.json
index 207bb98662..ffa06981b1 100644
--- a/packages/sheets-thread-comment-ui/package.json
+++ b/packages/sheets-thread-comment-ui/package.json
@@ -84,7 +84,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-thread-comment/package.json b/packages/sheets-thread-comment/package.json
index 994a4aa1bc..b321e648e8 100644
--- a/packages/sheets-thread-comment/package.json
+++ b/packages/sheets-thread-comment/package.json
@@ -79,7 +79,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-ui/package.json b/packages/sheets-ui/package.json
index c69cfe44d7..2377e300da 100644
--- a/packages/sheets-ui/package.json
+++ b/packages/sheets-ui/package.json
@@ -94,13 +94,13 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "less": "^4.3.0",
+ "@univerjs/themes": "workspace:*",
"postcss": "^8.5.3",
"react": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets-ui/src/commands/commands/__tests__/auto-fill.controller.spec.ts b/packages/sheets-ui/src/commands/commands/__tests__/auto-fill.controller.spec.ts
index ed09dc88d2..2267926b19 100644
--- a/packages/sheets-ui/src/commands/commands/__tests__/auto-fill.controller.spec.ts
+++ b/packages/sheets-ui/src/commands/commands/__tests__/auto-fill.controller.spec.ts
@@ -21,6 +21,7 @@ import {
IUniverInstanceService,
LocaleType,
RedoCommand,
+ set,
ThemeService,
UndoCommand,
UniverInstanceType,
@@ -303,7 +304,10 @@ describe('Test auto fill rules in controller', () => {
commandService = get(ICommandService);
themeService = get(ThemeService);
- themeService.setTheme(theme);
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
+
autoFillController = get(AutoFillController);
selectionManagerService = get(SheetsSelectionsService);
commandService.registerCommand(SetRangeValuesMutation);
diff --git a/packages/sheets-ui/src/commands/commands/__tests__/set-format-painter.command.spec.ts b/packages/sheets-ui/src/commands/commands/__tests__/set-format-painter.command.spec.ts
index 5a4fec1408..cc08172301 100644
--- a/packages/sheets-ui/src/commands/commands/__tests__/set-format-painter.command.spec.ts
+++ b/packages/sheets-ui/src/commands/commands/__tests__/set-format-painter.command.spec.ts
@@ -22,6 +22,7 @@ import {
IUniverInstanceService,
LocaleType,
RedoCommand,
+ set,
ThemeService,
UndoCommand,
UniverInstanceType,
@@ -49,10 +50,6 @@ import {
} from '../set-format-painter.command';
import { createCommandTestBed } from './create-command-test-bed';
-const theme = {
- colorBlack: '#35322b',
-};
-
const TEST_WORKBOOK_DATA = {
id: 'workbook-01',
sheetOrder: ['sheet-0011'],
@@ -230,7 +227,9 @@ describe('Test format painter rules in controller', () => {
commandService = get(ICommandService);
themeService = get(ThemeService);
- themeService.setTheme(theme);
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
get(FormatPainterController);
commandService.registerCommand(SetFormatPainterOperation);
diff --git a/packages/sheets-ui/src/commands/commands/inline-format.command.ts b/packages/sheets-ui/src/commands/commands/inline-format.command.ts
index ad809528d9..71041342d5 100644
--- a/packages/sheets-ui/src/commands/commands/inline-format.command.ts
+++ b/packages/sheets-ui/src/commands/commands/inline-format.command.ts
@@ -15,7 +15,7 @@
*/
import type { ICommand } from '@univerjs/core';
-import { CommandType, EDITOR_ACTIVATED, ICommandService, IContextService, ThemeService } from '@univerjs/core';
+import { CommandType, EDITOR_ACTIVATED, get, ICommandService, IContextService, ThemeService } from '@univerjs/core';
import { SetInlineFormatBoldCommand, SetInlineFormatFontFamilyCommand, SetInlineFormatFontSizeCommand, SetInlineFormatItalicCommand, SetInlineFormatStrikethroughCommand, SetInlineFormatSubscriptCommand, SetInlineFormatSuperscriptCommand, SetInlineFormatTextColorCommand, SetInlineFormatUnderlineCommand } from '@univerjs/docs-ui';
import {
SetBoldCommand,
@@ -190,6 +190,9 @@ export const ResetRangeTextColorCommand: ICommand = {
return commandService.executeCommand(SetInlineFormatTextColorCommand.id, { value: null });
}
- return commandService.executeCommand(SetTextColorCommand.id, { value: themeService.getCurrentTheme().textColor });
+ const theme = themeService.getCurrentTheme();
+ return commandService.executeCommand(SetTextColorCommand.id, {
+ value: get(theme, 'gray.900'),
+ });
},
};
diff --git a/packages/sheets-ui/src/controllers/menu/menu.ts b/packages/sheets-ui/src/controllers/menu/menu.ts
index 649ccfbd95..6408e95e1f 100644
--- a/packages/sheets-ui/src/controllers/menu/menu.ts
+++ b/packages/sheets-ui/src/controllers/menu/menu.ts
@@ -25,6 +25,7 @@ import {
FOCUSING_SHEET,
FontItalic,
FontWeight,
+ get,
HorizontalAlign,
ICommandService,
IContextService,
@@ -540,7 +541,8 @@ export function TextColorSelectorMenuItemFactory(accessor: IAccessor): IMenuSele
},
],
value$: new Observable<string>((subscriber) => {
- const defaultValue = themeService.getCurrentTheme().textColor;
+ const theme = themeService.getCurrentTheme();
+ const defaultValue = get(theme, 'gray.900');
const disposable = commandService.onCommandExecuted((c) => {
if (c.id === SetRangeTextColorCommand.id) {
const color = (c.params as { value: string }).value;
@@ -585,7 +587,8 @@ export function BackgroundColorSelectorMenuItemFactory(accessor: IAccessor): IMe
},
],
value$: new Observable<string>((subscriber) => {
- const defaultValue = themeService.getCurrentTheme().primaryColor;
+ const theme = themeService.getCurrentTheme();
+ const defaultValue = get(theme, 'primary.600');
const disposable = commandService.onCommandExecuted((c) => {
if (c.id === SetBackgroundColorCommand.id) {
const color = (c.params as { value: string }).value;
diff --git a/packages/sheets-ui/src/controllers/render-controllers/freeze.render-controller.ts b/packages/sheets-ui/src/controllers/render-controllers/freeze.render-controller.ts
index e774a5f664..aa70be88e8 100644
--- a/packages/sheets-ui/src/controllers/render-controllers/freeze.render-controller.ts
+++ b/packages/sheets-ui/src/controllers/render-controllers/freeze.render-controller.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { ICommandInfo, IFreeze, IRange, IStyleSheet, IWorksheetData, Nullable, Workbook } from '@univerjs/core';
+import type { ICommandInfo, IFreeze, IRange, IWorksheetData, Nullable, Workbook } from '@univerjs/core';
import type { IMouseEvent, IPointerEvent, IRenderContext, IRenderModule, Viewport } from '@univerjs/engine-render';
import type {
IInsertColCommandParams,
@@ -29,12 +29,14 @@ import type {
ISetWorksheetRowAutoHeightMutationParams,
ISetWorksheetRowHeightMutationParams,
} from '@univerjs/sheets';
+import type { Theme } from '@univerjs/themes';
import type { IViewportScrollState } from '../../services/scroll-manager.service';
import {
ColorKit,
createInterceptorKey,
Direction,
Disposable,
+ get,
ICommandService,
Inject,
Injector,
@@ -43,8 +45,8 @@ import {
ThemeService,
toDisposable,
} from '@univerjs/core';
-import { CURSOR_TYPE, Rect, SHEET_VIEWPORT_KEY, TRANSFORM_CHANGE_OBSERVABLE_TYPE, Vector2 } from '@univerjs/engine-render';
+import { CURSOR_TYPE, Rect, SHEET_VIEWPORT_KEY, TRANSFORM_CHANGE_OBSERVABLE_TYPE, Vector2 } from '@univerjs/engine-render';
import {
InsertColCommand,
InsertRangeMoveDownCommand,
@@ -70,8 +72,8 @@ import {
} from '@univerjs/sheets';
import { Subscription } from 'rxjs';
import { SetColumnHeaderHeightCommand, SetRowHeaderWidthCommand } from '../../commands/commands/headersize-changed.command';
-import { ScrollCommand } from '../../commands/commands/set-scroll.command';
+import { ScrollCommand } from '../../commands/commands/set-scroll.command';
import { SetZoomRatioOperation } from '../../commands/operations/set-zoom-ratio.operation';
import { SHEET_COMPONENT_HEADER_LAYER_INDEX } from '../../common/keys';
import { SheetScrollManagerService } from '../../services/scroll-manager.service';
@@ -1186,24 +1188,24 @@ export class HeaderFreezeRenderController extends Disposable implements IRenderM
private _themeChangeListener() {
this._themeChange(this._themeService.getCurrentTheme());
this.disposeWithMe(
- this._themeService.currentTheme$.subscribe((style) => {
+ this._themeService.currentTheme$.subscribe((theme) => {
this._clearFreeze();
- this._themeChange(style);
+ this._themeChange(theme);
this._refreshCurrent();
})
);
}
- private _themeChange(style: IStyleSheet) {
- this._freezeNormalHeaderColor = style.grey400;
+ private _themeChange(theme: Theme) {
+ this._freezeNormalHeaderColor = get(theme, 'gray.300');
- this._freezeNormalMainColor = new ColorKit(style.grey400)
+ this._freezeNormalMainColor = new ColorKit(this._freezeNormalHeaderColor)
.setAlpha(AUXILIARY_CLICK_HIDDEN_OBJECT_TRANSPARENCY)
.toRgbString();
- this._freezeActiveColor = style.primaryColor;
+ this._freezeActiveColor = get(theme, 'primary.600');
- this._freezeHoverColor = style.grey500;
+ this._freezeHoverColor = get(theme, 'gray.500');
}
// eslint-disable-next-line max-lines-per-function
diff --git a/packages/sheets-ui/src/facade/__tests__/create-test-bed.ts b/packages/sheets-ui/src/facade/__tests__/create-test-bed.ts
index edec761089..1af6ac05ba 100644
--- a/packages/sheets-ui/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets-ui/src/facade/__tests__/create-test-bed.ts
@@ -24,6 +24,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -135,7 +136,9 @@ export function createFacadeTestBed(workbookData?: IWorkbookData, dependencies?:
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/sheets-ui/src/services/clipboard/__tests__/clipboard-copy-filter.spec.ts b/packages/sheets-ui/src/services/clipboard/__tests__/clipboard-copy-filter.spec.ts
index 255ebbcb73..e2483ae642 100644
--- a/packages/sheets-ui/src/services/clipboard/__tests__/clipboard-copy-filter.spec.ts
+++ b/packages/sheets-ui/src/services/clipboard/__tests__/clipboard-copy-filter.spec.ts
@@ -16,7 +16,7 @@
import type { ICellData, Injector, Nullable, Univer } from '@univerjs/core';
import type { ISetSelectionsOperationParams } from '@univerjs/sheets';
-import { ICommandService, IUniverInstanceService, LocaleType, RANGE_TYPE, ThemeService } from '@univerjs/core';
+import { ICommandService, IUniverInstanceService, LocaleType, RANGE_TYPE, set, ThemeService } from '@univerjs/core';
import {
AddWorksheetMergeMutation,
RemoveWorksheetMergeMutation,
@@ -31,9 +31,6 @@ import { SheetCopyCommand, SheetPasteCommand } from '../../../commands/commands/
import { ISheetClipboardService } from '../clipboard.service';
import { clipboardTestBed } from './clipboard-test-bed';
-const theme = {
- colorBlack: '#35322b',
-};
describe('Test clipboard', () => {
let univer: Univer;
let get: Injector['get'];
@@ -98,7 +95,9 @@ describe('Test clipboard', () => {
sheetClipboardService = get(ISheetClipboardService);
themeService = get(ThemeService);
- themeService.setTheme(theme);
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
getValues = (
startRow: number,
startColumn: number,
diff --git a/packages/sheets-ui/src/services/editor-bridge.service.ts b/packages/sheets-ui/src/services/editor-bridge.service.ts
index a57d64186a..40f7f67840 100644
--- a/packages/sheets-ui/src/services/editor-bridge.service.ts
+++ b/packages/sheets-ui/src/services/editor-bridge.service.ts
@@ -26,6 +26,7 @@ import {
DOCS_NORMAL_EDITOR_UNIT_ID_KEY,
EDITOR_ACTIVATED,
FOCUSING_EDITOR_STANDALONE,
+ get,
IContextService,
Inject,
IUniverInstanceService,
@@ -389,13 +390,15 @@ export class EditorBridgeService extends Disposable implements IEditorBridgeServ
if (cell?.isInArrayFormulaRange === true) {
const body = documentLayoutObject.documentModel?.getBody();
if (body) {
+ const theme = this._themeService.getCurrentTheme();
+
body.textRuns = [
{
st: 0,
ed: body.dataStream.length - 2,
ts: {
cl: {
- rgb: this._themeService.getCurrentTheme().textColorSecondary,
+ rgb: get(theme, 'gray.600'),
},
},
},
diff --git a/packages/sheets-ui/src/services/selection/base-selection-render.service.ts b/packages/sheets-ui/src/services/selection/base-selection-render.service.ts
index 6c529aa794..94eda35cc2 100644
--- a/packages/sheets-ui/src/services/selection/base-selection-render.service.ts
+++ b/packages/sheets-ui/src/services/selection/base-selection-render.service.ts
@@ -24,14 +24,15 @@ import type {
Injector,
IRange,
IRangeWithCoord,
- IStyleSheet,
Nullable,
} from '@univerjs/core';
import type { IMouseEvent, IPointerEvent, IRenderModule, Scene, SpreadsheetSkeleton, Viewport } from '@univerjs/engine-render';
import type { ISelectionStyle, ISelectionWithCoord, ISelectionWithStyle } from '@univerjs/sheets';
+import type { Theme } from '@univerjs/themes';
import type { IShortcutService } from '@univerjs/ui';
import type { Observable, Subscription } from 'rxjs';
import type { SheetSkeletonManagerService } from '../sheet-skeleton-manager.service';
+
import {
convertCellToRange,
createIdentifier,
@@ -40,7 +41,6 @@ import {
RANGE_TYPE,
ThemeService,
} from '@univerjs/core';
-
import { ScrollTimer, ScrollTimerType, SHEET_VIEWPORT_KEY, Vector2 } from '@univerjs/engine-render';
import { REF_SELECTIONS_ENABLED, SELECTIONS_ENABLED } from '@univerjs/sheets';
import { BehaviorSubject, Subject } from 'rxjs';
@@ -315,13 +315,13 @@ export class BaseSelectionRenderService extends Disposable implements ISheetSele
}
_initSelectionThemeFromThemeService() {
- const currTheme = this._themeService.getCurrentTheme();
+ const theme = this._themeService.getCurrentTheme();
this._selectionTheme = new ThemeService();
- this._selectionTheme.setTheme(currTheme);
+ this._selectionTheme.setTheme(theme);
}
- setSelectionTheme(prop: IStyleSheet) {
- this._selectionTheme.setTheme(prop);
+ setSelectionTheme(theme: Theme) {
+ this._selectionTheme.setTheme(theme);
}
protected _changeRuntime(skeleton: SpreadsheetSkeleton, scene: Scene, viewport?: Viewport): void {
@@ -481,6 +481,7 @@ export class BaseSelectionRenderService extends Disposable implements ISheetSele
* @param moveStartPosX
* @param moveStartPosY
*/
+ // eslint-disable-next-line max-lines-per-function
protected _setupPointerMoveListener(
viewportMain: Nullable<Viewport>,
activeSelectionControl: SelectionControl,
@@ -500,7 +501,7 @@ export class BaseSelectionRenderService extends Disposable implements ISheetSele
const startViewport = scene.getActiveViewportByCoord(Vector2.FromArray([moveStartPosX, moveStartPosY]));
// #region onPointerMove$
- // eslint-disable-next-line complexity
+ // eslint-disable-next-line max-lines-per-function, complexity
this._scenePointerMoveSub = scene.onPointerMove$.subscribeEvent((moveEvt: IPointerEvent | IMouseEvent) => {
const { offsetX: moveOffsetX, offsetY: moveOffsetY } = moveEvt;
diff --git a/packages/sheets-ui/src/services/selection/const.ts b/packages/sheets-ui/src/services/selection/const.ts
index ff5d08855d..53a0674f20 100644
--- a/packages/sheets-ui/src/services/selection/const.ts
+++ b/packages/sheets-ui/src/services/selection/const.ts
@@ -17,7 +17,7 @@
import type { ThemeService } from '@univerjs/core';
import type { Scene, SpreadsheetSkeleton } from '@univerjs/engine-render';
import type { ISelectionStyle } from '@univerjs/sheets';
-import { ColorKit, createInterceptorKey } from '@univerjs/core';
+import { ColorKit, createInterceptorKey, get } from '@univerjs/core';
export const RANGE_MOVE_PERMISSION_CHECK = createInterceptorKey<boolean, null>('rangeMovePermissionCheck');
export const RANGE_FILL_PERMISSION_CHECK = createInterceptorKey<boolean, { x: number; y: number; skeleton: SpreadsheetSkeleton; scene: Scene }>('rangeFillPermissionCheck');
@@ -28,28 +28,30 @@ export enum SELECTION_SHAPE_DEPTH {
};
export function genNormalSelectionStyle(themeService: ThemeService): ISelectionStyle {
- const styleSheet = themeService.getCurrentTheme();
- const fill = new ColorKit(styleSheet.primaryColor).setAlpha(0.07).toRgbString();
+ const theme = themeService.getCurrentTheme();
+ const primaryColor = get(theme, 'primary.600');
+ const whiteColor = get(theme, 'white');
+ const fill = new ColorKit(primaryColor).setAlpha(0.07).toRgbString();
return {
strokeWidth: 1,
- stroke: styleSheet.primaryColor,
+ stroke: primaryColor,
fill,
// widgets: { tl: true, tc: true, tr: true, ml: true, mr: true, bl: true, bc: true, br: true },
widgets: {},
widgetSize: 6,
widgetStrokeWidth: 1,
- widgetStroke: styleSheet.colorWhite,
+ widgetStroke: whiteColor,
autofillSize: 6,
autofillStrokeWidth: 1,
- autofillStroke: styleSheet.colorWhite,
+ autofillStroke: whiteColor,
rowHeaderFill: fill,
- rowHeaderStroke: styleSheet.primaryColor,
+ rowHeaderStroke: primaryColor,
rowHeaderStrokeWidth: 1,
columnHeaderFill: fill,
- columnHeaderStroke: styleSheet.primaryColor,
+ columnHeaderStroke: primaryColor,
columnHeaderStrokeWidth: 1,
expandCornerSize: 40,
diff --git a/packages/sheets-ui/src/services/selection/selection-render.service.ts b/packages/sheets-ui/src/services/selection/selection-render.service.ts
index 73b9ec73ff..3aa6376f36 100644
--- a/packages/sheets-ui/src/services/selection/selection-render.service.ts
+++ b/packages/sheets-ui/src/services/selection/selection-render.service.ts
@@ -19,7 +19,7 @@ import type { IMouseEvent, IPointerEvent, IRenderContext, IRenderModule, Viewpor
import type { ISelectionWithCoord, ISelectionWithStyle, ISetSelectionsOperationParams, WorkbookSelectionModel } from '@univerjs/sheets';
import type { ISheetObjectParam } from '../../controllers/utils/component-tools';
import type { SelectionControl } from './selection-control';
-import { ICommandService, IContextService, ILogService, Inject, Injector, RANGE_TYPE, Rectangle, ThemeService, toDisposable } from '@univerjs/core';
+import { ICommandService, IContextService, ILogService, Inject, Injector, RANGE_TYPE, Rectangle, set, ThemeService, toDisposable } from '@univerjs/core';
import { ScrollTimerType, SHEET_VIEWPORT_KEY, Vector2 } from '@univerjs/engine-render';
import { convertSelectionDataToRange, REF_SELECTIONS_ENABLED, SelectionMoveType, SELECTIONS_ENABLED, SetSelectionsOperation, SheetsSelectionsService } from '@univerjs/sheets';
import { IShortcutService } from '@univerjs/ui';
@@ -170,9 +170,10 @@ export class SheetSelectionRenderService extends BaseSelectionRenderService impl
}
transparentSelection() {
- this.setSelectionTheme({
- primaryColor: 'transparent',
- });
+ const theme = this._themeService.getCurrentTheme();
+ const newTheme = set(theme, 'primary.600', 'transparent');
+ this.setSelectionTheme(newTheme);
+
const selectionsWithStyle = this._workbookSelections.getCurrentSelections();
for (let index = 0; index < selectionsWithStyle.length; index++) {
const selectionWithStyle = selectionsWithStyle[index];
@@ -182,8 +183,8 @@ export class SheetSelectionRenderService extends BaseSelectionRenderService impl
}
showSelection() {
- const currTheme = this._themeService.getCurrentTheme();
- this.setSelectionTheme(currTheme);
+ const theme = this._themeService.getCurrentTheme();
+ this.setSelectionTheme(theme);
const selectionsWithStyle = this._workbookSelections.getCurrentSelections();
for (let index = 0; index < selectionsWithStyle.length; index++) {
const selectionWithStyle = selectionsWithStyle[index];
diff --git a/packages/sheets-ui/src/services/utils/selection-util.ts b/packages/sheets-ui/src/services/utils/selection-util.ts
index 56cdda95b5..e4beccb22e 100644
--- a/packages/sheets-ui/src/services/utils/selection-util.ts
+++ b/packages/sheets-ui/src/services/utils/selection-util.ts
@@ -16,13 +16,16 @@
import type { ThemeService } from '@univerjs/core';
import type { ISelectionStyle } from '@univerjs/sheets';
+import { get } from '@univerjs/core';
export function createCopyPasteSelectionStyle(
themeService: ThemeService
): Partial<ISelectionStyle> {
+ const theme = themeService.getCurrentTheme();
+
return {
strokeWidth: 1.5,
- stroke: themeService.getCurrentTheme().primaryColor,
+ stroke: get(theme, 'primary.600'),
fill: 'rgba(178, 178, 178, 0.10)',
widgets: {},
strokeDash: 8,
diff --git a/packages/sheets-ui/src/views/cell-alert/CellAlertPopup.tsx b/packages/sheets-ui/src/views/cell-alert/CellAlertPopup.tsx
index f8546a4735..f949ca998e 100644
--- a/packages/sheets-ui/src/views/cell-alert/CellAlertPopup.tsx
+++ b/packages/sheets-ui/src/views/cell-alert/CellAlertPopup.tsx
@@ -16,7 +16,7 @@
import type { ICanvasPopup } from '../../services/canvas-pop-manager.service';
import type { ICellAlert } from '../../services/cell-alert-manager.service';
-import { ErrorSingle, WarningSingle } from '@univerjs/icons';
+import { ErrorSingle, InfoSingle, WarningSingle } from '@univerjs/icons';
import { CellAlertType } from '../../services/cell-alert-manager.service';
/**
@@ -33,9 +33,9 @@ export function CellAlert({ popup }: { popup: ICanvasPopup }) {
const { type, title, message } = alert as ICellAlert;
const iconMap = {
- [CellAlertType.ERROR]: <ErrorSingle className="univer-mr-1.5 univer-text-red-400" />,
- [CellAlertType.INFO]: <WarningSingle className="univer-mr-1.5 univer-text-blue-500" />,
- [CellAlertType.WARNING]: <WarningSingle className="univer-mr-1.5 univer-text-orange-400" />,
+ [CellAlertType.ERROR]: <ErrorSingle className="univer-mr-1.5 univer-text-red-500" />,
+ [CellAlertType.INFO]: <InfoSingle className="univer-mr-1.5 univer-text-blue-500" />,
+ [CellAlertType.WARNING]: <WarningSingle className="univer-mr-1.5 univer-text-yellow-500" />,
};
return (
diff --git a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarItem.tsx b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarItem.tsx
index 68922f9208..7255662a13 100644
--- a/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarItem.tsx
+++ b/packages/sheets-ui/src/views/sheet-bar/sheet-bar-tabs/SheetBarItem.tsx
@@ -15,7 +15,7 @@
*/
import type { BooleanNumber } from '@univerjs/core';
-import { ColorKit, ThemeService } from '@univerjs/core';
+import { ColorKit, get, ThemeService } from '@univerjs/core';
import { clsx } from '@univerjs/design';
import { useDependency } from '@univerjs/ui';
import React, { useEffect, useState } from 'react';
@@ -45,8 +45,8 @@ export function SheetBarItem(props: IBaseSheetBarProps) {
const getTextColor = (color: string) => {
const theme = themeService.getCurrentTheme();
- const darkTextColor = theme.textColor;
- const lightTextColor = theme.colorWhite;
+ const darkTextColor = get(theme, 'gray.900');
+ const lightTextColor = get(theme, 'white');
return new ColorKit(color).isDark() ? lightTextColor : darkTextColor;
};
@@ -58,6 +58,7 @@ export function SheetBarItem(props: IBaseSheetBarProps) {
className={clsx(`
univer-mx-1 univer-box-border univer-flex univer-flex-grow univer-cursor-pointer univer-select-none
univer-flex-row univer-items-center univer-rounded univer-text-xs univer-text-black
+ univer-transition-colors
dark:univer-text-white
`, currentSelected
? `
@@ -78,8 +79,8 @@ export function SheetBarItem(props: IBaseSheetBarProps) {
>
<div
className={`
- univer-box-border univer-flex univer-items-center univer-whitespace-nowrap univer-rounded
- univer-border-2 univer-border-solid univer-border-transparent univer-py-1
+ univer-box-border univer-flex univer-items-center univer-gap-1 univer-whitespace-nowrap univer-rounded
+ univer-border-2 univer-border-solid univer-border-transparent univer-px-1.5 univer-py-1
`}
>
{label}
diff --git a/packages/sheets-zen-editor/package.json b/packages/sheets-zen-editor/package.json
index 309d2f8781..c96025021e 100644
--- a/packages/sheets-zen-editor/package.json
+++ b/packages/sheets-zen-editor/package.json
@@ -91,13 +91,12 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "less": "^4.3.0",
"postcss": "^8.5.3",
"react": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets/package.json b/packages/sheets/package.json
index 715661787b..44f87264a6 100644
--- a/packages/sheets/package.json
+++ b/packages/sheets/package.json
@@ -90,7 +90,7 @@
"@univerjs/network": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/sheets/src/facade/__tests__/create-test-bed.ts b/packages/sheets/src/facade/__tests__/create-test-bed.ts
index 30cdb3d0fb..18a0523e54 100644
--- a/packages/sheets/src/facade/__tests__/create-test-bed.ts
+++ b/packages/sheets/src/facade/__tests__/create-test-bed.ts
@@ -25,6 +25,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -163,7 +164,9 @@ export function createFacadeTestBed(workbookData?: IWorkbookData, dependencies?:
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/sheets/src/facade/__tests__/create-worksheet-test-bed.ts b/packages/sheets/src/facade/__tests__/create-worksheet-test-bed.ts
index 2cd772a39a..0a97742c55 100644
--- a/packages/sheets/src/facade/__tests__/create-worksheet-test-bed.ts
+++ b/packages/sheets/src/facade/__tests__/create-worksheet-test-bed.ts
@@ -25,6 +25,7 @@ import {
LocaleType,
LogLevel,
Plugin,
+ set,
ThemeService,
Univer,
UniverInstanceType,
@@ -161,7 +162,9 @@ export function createWorksheetTestBed(workbookData?: IWorkbookData, dependencie
// load theme service
const themeService = injector.get(ThemeService);
- themeService.setTheme({ colorBlack: '#35322b' });
+ const theme = themeService.getCurrentTheme();
+ const newTheme = set(theme, 'black', '#35322b');
+ themeService.setTheme(newTheme);
// register builtin plugins
// note that UI plugins are not registered here, because the unit test environment does not have a UI
diff --git a/packages/slides-ui/package.json b/packages/slides-ui/package.json
index c00aa3ecff..060a7b833f 100644
--- a/packages/slides-ui/package.json
+++ b/packages/slides-ui/package.json
@@ -85,7 +85,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/slides/package.json b/packages/slides/package.json
index 50ec567fae..9bee8f3290 100644
--- a/packages/slides/package.json
+++ b/packages/slides/package.json
@@ -64,7 +64,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json
index 9490af9dd8..9ed44b3ba2 100644
--- a/packages/telemetry/package.json
+++ b/packages/telemetry/package.json
@@ -60,7 +60,7 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/themes/package.json b/packages/themes/package.json
new file mode 100644
index 0000000000..50e3939417
--- /dev/null
+++ b/packages/themes/package.json
@@ -0,0 +1,61 @@
+{
+ "name": "@univerjs/themes",
+ "version": "0.7.0-beta.0",
+ "private": false,
+ "description": "Themes package for Univer",
+ "author": "DreamNum <[email protected]>",
+ "license": "Apache-2.0",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/univer"
+ },
+ "homepage": "https://univer.ai",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/dream-num/univer"
+ },
+ "bugs": {
+ "url": "https://github.com/dream-num/univer/issues"
+ },
+ "keywords": [
+ "univer",
+ "theme"
+ ],
+ "exports": {
+ ".": "./src/index.ts",
+ "./*": "./src/*"
+ },
+ "main": "./src/index.ts",
+ "types": "./lib/types/index.d.ts",
+ "publishConfig": {
+ "access": "public",
+ "main": "./lib/es/index.js",
+ "module": "./lib/es/index.js",
+ "exports": {
+ ".": {
+ "import": "./lib/es/index.js",
+ "require": "./lib/cjs/index.js",
+ "types": "./lib/types/index.d.ts"
+ },
+ "./*": {
+ "import": "./lib/es/*",
+ "require": "./lib/cjs/*",
+ "types": "./lib/types/index.d.ts"
+ },
+ "./lib/*": "./lib/*"
+ }
+ },
+ "directories": {
+ "lib": "lib"
+ },
+ "files": [
+ "lib"
+ ],
+ "scripts": {
+ "lint:types": "tsc --noEmit",
+ "build": "univer-cli build"
+ },
+ "devDependencies": {
+ "vite": "^6.3.5"
+ }
+}
diff --git a/packages/themes/src/default.ts b/packages/themes/src/default.ts
new file mode 100644
index 0000000000..f653cfb6c8
--- /dev/null
+++ b/packages/themes/src/default.ts
@@ -0,0 +1,169 @@
+/**
+ * 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.
+ */
+
+const defaultTheme = {
+ white: '#FFFFFF',
+ black: '#000000',
+ primary: {
+ 50: '#F3F5FF',
+ 100: '#E9EDFF',
+ 200: '#D2DAFA',
+ 300: '#BAC6F8',
+ 400: '#6280F9',
+ 500: '#466AF7',
+ 600: '#2C53F1',
+ 700: '#143EE3',
+ 800: '#083AD1',
+ 900: '#1033BF',
+ },
+ gray: {
+ 50: '#F9FAFB',
+ 100: '#EEEFF1',
+ 200: '#E3E5EA',
+ 300: '#A8B0BD',
+ 400: '#7D8698',
+ 500: '#4E5565',
+ 600: '#31363F',
+ 700: '#272A2F',
+ 800: '#1F2124',
+ 900: '#1B1C1F',
+ },
+ blue: {
+ 50: '#EBF5FF',
+ 100: '#E1EFFE',
+ 200: '#C3DDFD',
+ 300: '#A4CAFE',
+ 400: '#76A9FA',
+ 500: '#3F83F8',
+ 600: '#1C64F2',
+ 700: '#1A56DB',
+ 800: '#1E429F',
+ 900: '#233876',
+ },
+ red: {
+ 50: '#FDF2F2',
+ 100: '#FDE8E8',
+ 200: '#FBD5D5',
+ 300: '#F8B4B4',
+ 400: '#F98080',
+ 500: '#F05252',
+ 600: '#E02424',
+ 700: '#C81E1E',
+ 800: '#9B1C1C',
+ 900: '#771D1D',
+ },
+ orange: {
+ 50: '#FFF8F1',
+ 100: '#FEECDC',
+ 200: '#FCD9BD',
+ 300: '#FDBA8C',
+ 400: '#FF8A4C',
+ 500: '#FF5A1F',
+ 600: '#D03801',
+ 700: '#B43403',
+ 800: '#8A2C0D',
+ 900: '#771D1D',
+ },
+ yellow: {
+ 50: '#FDFCEA',
+ 100: '#FFF4B9',
+ 200: '#FCDC6A',
+ 300: '#FAC815',
+ 400: '#F1B312',
+ 500: '#D49D0F',
+ 600: '#AB7F0E',
+ 700: '#9A6D15',
+ 800: '#725213',
+ 900: '#634312',
+ },
+ green: {
+ 50: '#F3FAF7',
+ 100: '#DEF7EC',
+ 200: '#BCF0DA',
+ 300: '#84E1BC',
+ 400: '#31C48D',
+ 500: '#0DA471',
+ 600: '#057A55',
+ 700: '#046C4E',
+ 800: '#03543F',
+ 900: '#014737',
+ },
+ jiqing: {
+ 50: '#EDFAFA',
+ 100: '#D5F5F6',
+ 200: '#AFECEF',
+ 300: '#7EDCE2',
+ 400: '#16BDCA',
+ 500: '#0694A2',
+ 600: '#047481',
+ 700: '#036672',
+ 800: '#05505C',
+ 900: '#014451',
+ },
+ indigo: {
+ 50: '#F3F5FF',
+ 100: '#E9EDFF',
+ 200: '#D2DAFA',
+ 300: '#BAC6F8',
+ 400: '#6280F9',
+ 500: '#466AF7',
+ 600: '#2C53F1',
+ 700: '#143EE3',
+ 800: '#083AD1',
+ 900: '#1033BF',
+ },
+ purple: {
+ 50: '#F6F5FF',
+ 100: '#EDEBFE',
+ 200: '#DCD7FE',
+ 300: '#CABFFD',
+ 400: '#AC94FA',
+ 500: '#9061F9',
+ 600: '#7E3AF2',
+ 700: '#6C2BD9',
+ 800: '#5521B5',
+ 900: '#4A1D96',
+ },
+ pink: {
+ 50: '#FDF2F8',
+ 100: '#FCE8F3',
+ 200: '#FAD1E8',
+ 300: '#F8B4D9',
+ 400: '#F17EB8',
+ 500: '#E74694',
+ 600: '#D61F69',
+ 700: '#BF125D',
+ 800: '#99154B',
+ 900: '#751A3D',
+ },
+ 'loop-color': {
+ 1: 'purple.400',
+ 2: 'green.600',
+ 3: 'blue.500',
+ 4: 'gold.400',
+ 5: 'magenta.300',
+ 6: 'jiqing.600',
+ 7: 'orange.400',
+ 8: 'grey.800',
+ 9: 'hyacinth.500',
+ 10: 'red.300',
+ 11: 'verdancy.600',
+ 12: 'yellow.700',
+ },
+};
+
+export type Theme = typeof defaultTheme;
+export default defaultTheme;
diff --git a/packages/themes/src/green.ts b/packages/themes/src/green.ts
new file mode 100644
index 0000000000..36e5d7c03f
--- /dev/null
+++ b/packages/themes/src/green.ts
@@ -0,0 +1,170 @@
+/**
+ * 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 { Theme } from './default';
+
+const greenTheme: Theme = {
+ white: '#FFFFFF',
+ black: '#000000',
+ primary: {
+ 50: '#F3FAF7',
+ 100: '#DEF7EC',
+ 200: '#BCF0DA',
+ 300: '#84E1BC',
+ 400: '#31C48D',
+ 500: '#0DA471',
+ 600: '#057A55',
+ 700: '#046C4E',
+ 800: '#03543F',
+ 900: '#014737',
+ },
+ gray: {
+ 50: '#F9FAFB',
+ 100: '#EEEFF1',
+ 200: '#E3E5EA',
+ 300: '#A8B0BD',
+ 400: '#7D8698',
+ 500: '#4E5565',
+ 600: '#31363F',
+ 700: '#272A2F',
+ 800: '#1F2124',
+ 900: '#1B1C1F',
+ },
+ blue: {
+ 50: '#EBF5FF',
+ 100: '#E1EFFE',
+ 200: '#C3DDFD',
+ 300: '#A4CAFE',
+ 400: '#76A9FA',
+ 500: '#3F83F8',
+ 600: '#1C64F2',
+ 700: '#1A56DB',
+ 800: '#1E429F',
+ 900: '#233876',
+ },
+ red: {
+ 50: '#FDF2F2',
+ 100: '#FDE8E8',
+ 200: '#FBD5D5',
+ 300: '#F8B4B4',
+ 400: '#F98080',
+ 500: '#F05252',
+ 600: '#E02424',
+ 700: '#C81E1E',
+ 800: '#9B1C1C',
+ 900: '#771D1D',
+ },
+ orange: {
+ 50: '#FFF8F1',
+ 100: '#FEECDC',
+ 200: '#FCD9BD',
+ 300: '#FDBA8C',
+ 400: '#FF8A4C',
+ 500: '#FF5A1F',
+ 600: '#D03801',
+ 700: '#B43403',
+ 800: '#8A2C0D',
+ 900: '#771D1D',
+ },
+ yellow: {
+ 50: '#FDFCEA',
+ 100: '#FFF4B9',
+ 200: '#FCDC6A',
+ 300: '#FAC815',
+ 400: '#F1B312',
+ 500: '#D49D0F',
+ 600: '#AB7F0E',
+ 700: '#9A6D15',
+ 800: '#725213',
+ 900: '#634312',
+ },
+ green: {
+ 50: '#F3FAF7',
+ 100: '#DEF7EC',
+ 200: '#BCF0DA',
+ 300: '#84E1BC',
+ 400: '#31C48D',
+ 500: '#0DA471',
+ 600: '#057A55',
+ 700: '#046C4E',
+ 800: '#03543F',
+ 900: '#014737',
+ },
+ jiqing: {
+ 50: '#EDFAFA',
+ 100: '#D5F5F6',
+ 200: '#AFECEF',
+ 300: '#7EDCE2',
+ 400: '#16BDCA',
+ 500: '#0694A2',
+ 600: '#047481',
+ 700: '#036672',
+ 800: '#05505C',
+ 900: '#014451',
+ },
+ indigo: {
+ 50: '#F3F5FF',
+ 100: '#E9EDFF',
+ 200: '#D2DAFA',
+ 300: '#BAC6F8',
+ 400: '#6280F9',
+ 500: '#466AF7',
+ 600: '#2C53F1',
+ 700: '#143EE3',
+ 800: '#083AD1',
+ 900: '#1033BF',
+ },
+ purple: {
+ 50: '#F6F5FF',
+ 100: '#EDEBFE',
+ 200: '#DCD7FE',
+ 300: '#CABFFD',
+ 400: '#AC94FA',
+ 500: '#9061F9',
+ 600: '#7E3AF2',
+ 700: '#6C2BD9',
+ 800: '#5521B5',
+ 900: '#4A1D96',
+ },
+ pink: {
+ 50: '#FDF2F8',
+ 100: '#FCE8F3',
+ 200: '#FAD1E8',
+ 300: '#F8B4D9',
+ 400: '#F17EB8',
+ 500: '#E74694',
+ 600: '#D61F69',
+ 700: '#BF125D',
+ 800: '#99154B',
+ 900: '#751A3D',
+ },
+ 'loop-color': {
+ 1: 'purple.400',
+ 2: 'green.600',
+ 3: 'blue.500',
+ 4: 'gold.400',
+ 5: 'magenta.300',
+ 6: 'jiqing.600',
+ 7: 'orange.400',
+ 8: 'grey.800',
+ 9: 'hyacinth.500',
+ 10: 'red.300',
+ 11: 'verdancy.600',
+ 12: 'yellow.700',
+ },
+};
+
+export default greenTheme;
diff --git a/packages/design/src/themes/index.ts b/packages/themes/src/index.ts
similarity index 78%
rename from packages/design/src/themes/index.ts
rename to packages/themes/src/index.ts
index ac2e043d2b..758746ddc9 100644
--- a/packages/design/src/themes/index.ts
+++ b/packages/themes/src/index.ts
@@ -14,6 +14,5 @@
* limitations under the License.
*/
-export { default as defaultTheme } from './default.module.less';
-export { default as greenTheme } from './green.module.less';
-export { themeInstance } from './theme';
+export { default as defaultTheme, type Theme } from './default';
+export { default as greenTheme } from './green';
diff --git a/packages/themes/tsconfig.json b/packages/themes/tsconfig.json
new file mode 100644
index 0000000000..443143e94f
--- /dev/null
+++ b/packages/themes/tsconfig.json
@@ -0,0 +1,27 @@
+{
+ "compilerOptions": {
+ "target": "ESNext",
+ "jsx": "react-jsx",
+ "lib": ["ESNext", "DOM", "DOM.Iterable", "WebWorker"],
+ "useDefineForClassFields": true,
+
+ "experimentalDecorators": true,
+ "rootDir": "src",
+ "module": "ESNext",
+
+ "moduleResolution": "bundler",
+
+ "resolveJsonModule": true,
+ "allowImportingTsExtensions": true,
+
+ "strict": true,
+ "strictPropertyInitialization": false,
+ "noFallthroughCasesInSwitch": true,
+ "noImplicitOverride": true,
+ "noEmit": true,
+ "outDir": "lib/types",
+ "isolatedModules": true,
+ "skipLibCheck": true
+ },
+ "include": ["src"]
+}
diff --git a/packages/thread-comment-ui/package.json b/packages/thread-comment-ui/package.json
index 5f4f531db9..58df1b7385 100644
--- a/packages/thread-comment-ui/package.json
+++ b/packages/thread-comment-ui/package.json
@@ -75,13 +75,12 @@
},
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
- "less": "^4.3.0",
"postcss": "^8.5.3",
"react": "18.3.1",
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/thread-comment/package.json b/packages/thread-comment/package.json
index 801689113d..8452040fc9 100644
--- a/packages/thread-comment/package.json
+++ b/packages/thread-comment/package.json
@@ -66,7 +66,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 39d5bd72eb..90361301fd 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -84,6 +84,7 @@
"@univerjs/design": "workspace:*",
"@univerjs/engine-render": "workspace:*",
"@univerjs/icons": "^0.3.24",
+ "@univerjs/themes": "workspace:*",
"@wendellhu/redi": "0.18.0",
"localforage": "^1.10.0"
},
@@ -100,8 +101,8 @@
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2",
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3",
"vue": "^3.5.13"
}
}
diff --git a/packages/ui/src/components/progress-bar/ProgressBar.tsx b/packages/ui/src/components/progress-bar/ProgressBar.tsx
index b96c74c761..e82f01d173 100644
--- a/packages/ui/src/components/progress-bar/ProgressBar.tsx
+++ b/packages/ui/src/components/progress-bar/ProgressBar.tsx
@@ -14,11 +14,9 @@
* limitations under the License.
*/
-import { ThemeService } from '@univerjs/core';
import { clsx, Tooltip } from '@univerjs/design';
import { CloseSingle } from '@univerjs/icons';
import { useEffect, useRef, useState } from 'react';
-import { useDependency } from '../../utils/di';
export interface IProgressBarProps {
progress: { done: number; count: number; label?: string };
@@ -31,9 +29,6 @@ export function ProgressBar(props: IProgressBarProps) {
const { barColor, progress, onTerminate, onClearProgress } = props;
const { count, done, label = '' } = progress;
- const themeService = useDependency(ThemeService);
- const color = barColor ?? themeService.getCurrentTheme().primaryColor; ;
-
const progressBarInnerRef = useRef<HTMLDivElement>(null!);
const [visible, setVisible] = useState(false);
@@ -99,9 +94,9 @@ export function ProgressBar(props: IProgressBarProps) {
<div className="univer-h-1 univer-w-40 univer-overflow-hidden univer-rounded-lg univer-bg-gray-200">
<div
ref={progressBarInnerRef}
- className="univer-h-full univer-transition-[width]"
+ className="univer-h-full univer-bg-primary-600 univer-transition-[width]"
style={{
- backgroundColor: color,
+ backgroundColor: barColor,
}}
/>
</div>
diff --git a/packages/ui/src/views/mobile-workbench/MobileWorkbench.tsx b/packages/ui/src/views/mobile-workbench/MobileWorkbench.tsx
index 260dddb881..f6816d9ba6 100644
--- a/packages/ui/src/views/mobile-workbench/MobileWorkbench.tsx
+++ b/packages/ui/src/views/mobile-workbench/MobileWorkbench.tsx
@@ -17,7 +17,7 @@
import type { ILocale } from '@univerjs/design';
import type { IWorkbenchOptions } from '../../controllers/ui/ui.controller';
import { LocaleService, ThemeService } from '@univerjs/core';
-import { clsx, ConfigProvider, defaultTheme, themeInstance } from '@univerjs/design';
+import { clsx, ConfigProvider } from '@univerjs/design';
import { useEffect, useMemo, useRef, useState } from 'react';
import { BuiltInUIPart } from '../../services/parts/parts.service';
import { useDependency } from '../../utils/di';
@@ -52,12 +52,6 @@ export function MobileWorkbench(props: IUniverAppProps) {
const leftSidebarComponents = useComponentsOfPart(BuiltInUIPart.LEFT_SIDEBAR);
const globalComponents = useComponentsOfPart(BuiltInUIPart.GLOBAL);
- useEffect(() => {
- if (!themeService.getCurrentTheme()) {
- themeService.setTheme(defaultTheme);
- }
- }, []);
-
const [darkMode, setDarkMode] = useState<boolean>(false);
useEffect(() => {
const sub = themeService.darkMode$.subscribe((darkMode) => {
@@ -87,10 +81,6 @@ export function MobileWorkbench(props: IUniverAppProps) {
localeService.localeChanged$.subscribe(() => {
setLocale(localeService.getLocales() as unknown as ILocale);
}),
- themeService.currentTheme$.subscribe((theme) => {
- themeInstance.setTheme(mountContainer, theme);
- portalContainer && themeInstance.setTheme(portalContainer, theme);
- }),
];
return () => {
diff --git a/packages/ui/src/views/workbench/Workbench.tsx b/packages/ui/src/views/workbench/Workbench.tsx
index bea07539ef..acfda4c47b 100644
--- a/packages/ui/src/views/workbench/Workbench.tsx
+++ b/packages/ui/src/views/workbench/Workbench.tsx
@@ -18,7 +18,8 @@ import type { ILocale } from '@univerjs/design';
import type { IUniverUIConfig } from '../../controllers/config.schema';
import type { IWorkbenchOptions } from '../../controllers/ui/ui.controller';
import { IConfigService, LocaleService, ThemeService } from '@univerjs/core';
-import { clsx, ConfigContext, ConfigProvider, defaultTheme, themeInstance } from '@univerjs/design';
+import { clsx, ConfigContext, ConfigProvider } from '@univerjs/design';
+import { defaultTheme } from '@univerjs/themes';
import { useContext, useEffect, useMemo, useRef, useState } from 'react';
import { createPortal } from 'react-dom';
import { useConfigValue } from '../../components/hooks';
@@ -110,12 +111,6 @@ export function DesktopWorkbenchContent(props: IUniverWorkbenchProps) {
localeService.localeChanged$.subscribe(() => {
setLocale(localeService.getLocales() as unknown as ILocale);
}),
- themeService.currentTheme$.subscribe((theme) => {
- themeInstance.setTheme(mountContainer, theme);
- if (portalContainer) {
- themeInstance.setTheme(portalContainer, theme);
- }
- }),
];
return () => {
diff --git a/packages/uniscript/package.json b/packages/uniscript/package.json
index cba3d6f29b..fa987fba4e 100644
--- a/packages/uniscript/package.json
+++ b/packages/uniscript/package.json
@@ -83,7 +83,7 @@
"rxjs": "^7.8.1",
"tailwindcss": "^3.4.17",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/packages/watermark/package.json b/packages/watermark/package.json
index 5bdb9730fe..8048f8b3db 100644
--- a/packages/watermark/package.json
+++ b/packages/watermark/package.json
@@ -79,7 +79,7 @@
"@univerjs-infra/shared": "workspace:*",
"rxjs": "^7.8.1",
"typescript": "^5.8.3",
- "vite": "^6.3.4",
- "vitest": "^3.1.2"
+ "vite": "^6.3.5",
+ "vitest": "^3.1.3"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c13aa25d40..8a691caa6f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -16,7 +16,7 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: 4.12.0
'@commitlint/cli':
specifier: ^19.8.0
version: 19.8.0(@types/[email protected])([email protected])
@@ -24,8 +24,8 @@ importers:
specifier: ^19.8.0
version: 19.8.0
'@eslint-react/eslint-plugin':
- specifier: ^1.48.5
+ specifier: ^1.49.0
'@playwright/test':
specifier: ^1.52.0
version: 1.52.0
@@ -58,34 +58,34 @@ importers:
version: link:packages/design
'@vitejs/plugin-react':
specifier: ^4.4.1
eslint:
- specifier: 9.25.1
- version: 9.25.1([email protected])
+ specifier: 9.26.0
+ version: 9.26.0([email protected])
eslint-plugin-format:
specifier: ^1.0.1
eslint-plugin-header:
specifier: ^3.1.1
eslint-plugin-jsdoc:
specifier: ^50.6.11
eslint-plugin-no-barrel-import:
specifier: ^0.0.2
eslint-plugin-no-penetrating-import:
specifier: ^0.0.1
eslint-plugin-react:
specifier: ^7.37.5
eslint-plugin-react-hooks:
specifier: 5.2.0
eslint-plugin-react-refresh:
specifier: ^0.4.20
fs-extra:
specifier: ^11.3.0
version: 11.3.0
@@ -96,8 +96,8 @@ importers:
specifier: ^15.5.1
version: 15.5.1
posthog-node:
- specifier: ^4.15.0
- version: 4.15.0
+ specifier: ^4.17.1
+ version: 4.17.1
react:
specifier: '19'
version: 19.0.0
@@ -120,29 +120,32 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
common/shared:
dependencies:
'@typescript-eslint/parser':
- specifier: ^8.31.1
+ specifier: ^8.32.0
+ '@univerjs/themes':
+ specifier: workspace:*
+ version: link:../../packages/themes
'@vitejs/plugin-react':
specifier: ^4.4.1
'@vitejs/plugin-vue':
specifier: ^5.2.3
'@vitest/coverage-istanbul':
- specifier: ^3.1.2
+ specifier: ^3.1.3
autoprefixer:
specifier: ^10.4.21
version: 10.4.21([email protected])
eslint-plugin-readable-tailwind:
specifier: ^1.9.1
fs-extra:
specifier: ^11.3.0
version: 11.3.0
@@ -159,8 +162,8 @@ importers:
specifier: ^5.1.0
version: 5.1.0
tailwind-scrollbar:
- specifier: ^3.1.0
- version: 3.1.0([email protected])
+ specifier: ^4.0.2
tailwindcss:
specifier: ^3.4.17
version: 3.4.17
@@ -168,17 +171,17 @@ importers:
specifier: ^0.1.1
version: 0.1.1
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vite-plugin-dts:
specifier: ^4.5.3
vite-plugin-external:
specifier: ^6.2.1
version: 6.2.1
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
devDependencies:
'@types/fs-extra':
specifier: ^11.0.4
@@ -486,7 +489,7 @@ importers:
version: 19.0.0([email protected])
react-mosaic-component:
specifier: ^6.1.1
devDependencies:
'@types/fs-extra':
specifier: ^11.0.4
@@ -514,7 +517,7 @@ importers:
version: 2.1.1([email protected])
esbuild-plugin-vue3:
specifier: ^0.4.2
esbuild-style-plugin:
specifier: ^1.6.3
version: 1.6.3
@@ -638,11 +641,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages-experimental/debugger:
dependencies:
@@ -673,6 +676,9 @@ importers:
'@univerjs/sheets-drawing-ui':
specifier: workspace:*
version: link:../../packages/sheets-drawing-ui
+ '@univerjs/themes':
+ specifier: workspace:*
+ version: link:../../packages/themes
'@univerjs/ui':
specifier: workspace:*
version: link:../../packages/ui
@@ -699,15 +705,15 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
optionalDependencies:
vue:
specifier: '>=3.0.0'
- version: 3.4.38([email protected])
+ version: 3.5.13([email protected])
packages-experimental/sheets-source-binding:
dependencies:
@@ -728,11 +734,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages-experimental/uni-docs-ui:
dependencies:
@@ -774,11 +780,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages-experimental/uni-formula:
dependencies:
@@ -793,11 +799,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages-experimental/uni-formula-ui:
dependencies:
@@ -854,11 +860,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages-experimental/uni-sheets-ui:
dependencies:
@@ -912,11 +918,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages-experimental/uni-slides-ui:
dependencies:
@@ -961,11 +967,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages-experimental/uniui:
dependencies:
@@ -994,12 +1000,15 @@ importers:
specifier: workspace:*
version: link:../../packages/ui
'@xyflow/react':
- specifier: ^12.5.5
+ specifier: ^12.6.0
devDependencies:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
+ '@univerjs/themes':
+ specifier: workspace:*
+ version: link:../../packages/themes
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -1019,17 +1028,20 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/core:
dependencies:
'@univerjs/protocol':
specifier: 0.1.45
version: 0.1.45(@grpc/[email protected])([email protected])
+ '@univerjs/themes':
+ specifier: workspace:*
+ version: link:../themes
'@wendellhu/redi':
specifier: 0.18.0
version: 0.18.0
@@ -1086,11 +1098,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/data-validation:
dependencies:
@@ -1114,38 +1126,41 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/design:
dependencies:
'@radix-ui/react-dialog':
- specifier: ^1.1.11
+ specifier: ^1.1.13
'@radix-ui/react-dropdown-menu':
- specifier: ^2.1.12
+ specifier: ^2.1.14
'@radix-ui/react-popover':
- specifier: ^1.1.11
+ specifier: ^1.1.13
'@radix-ui/react-separator':
- specifier: ^1.1.4
+ specifier: ^1.1.6
'@radix-ui/react-slot':
- specifier: ^1.2.0
- version: 1.2.0(@types/[email protected])([email protected])
+ specifier: ^1.2.2
+ version: 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-tooltip':
- specifier: ^1.2.4
+ specifier: ^1.2.6
'@rc-component/trigger':
specifier: ^2.2.6
'@univerjs/icons':
specifier: ^0.3.24
+ '@univerjs/themes':
+ specifier: workspace:*
+ version: link:../themes
class-variance-authority:
specifier: ^0.7.1
version: 0.7.1
@@ -1198,9 +1213,6 @@ importers:
'@univerjs/core':
specifier: workspace:*
version: link:../core
- less:
- specifier: ^4.3.0
- version: 4.3.0
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -1220,11 +1232,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs:
dependencies:
@@ -1245,11 +1257,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs-drawing:
dependencies:
@@ -1267,11 +1279,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs-drawing-ui:
dependencies:
@@ -1309,9 +1321,6 @@ importers:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- less:
- specifier: ^4.3.0
- version: 4.3.0
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -1328,11 +1337,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs-hyper-link:
dependencies:
@@ -1347,11 +1356,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs-hyper-link-ui:
dependencies:
@@ -1399,11 +1408,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs-mention-ui:
dependencies:
@@ -1442,11 +1451,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs-quick-insert-ui:
dependencies:
@@ -1503,11 +1512,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs-thread-comment-ui:
dependencies:
@@ -1555,11 +1564,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/docs-ui:
dependencies:
@@ -1613,11 +1622,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/drawing:
dependencies:
@@ -1638,11 +1647,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/drawing-ui:
dependencies:
@@ -1668,9 +1677,6 @@ importers:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- less:
- specifier: ^4.3.0
- version: 4.3.0
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -1687,11 +1693,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/engine-formula:
dependencies:
@@ -1724,11 +1730,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/engine-numfmt:
devDependencies:
@@ -1739,11 +1745,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/engine-render:
dependencies:
@@ -1779,11 +1785,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/find-replace:
dependencies:
@@ -1822,11 +1828,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/network:
dependencies:
@@ -1844,11 +1850,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/rpc:
dependencies:
@@ -1866,11 +1872,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/rpc-node:
dependencies:
@@ -1891,11 +1897,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets:
dependencies:
@@ -1931,11 +1937,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-conditional-formatting:
dependencies:
@@ -1965,11 +1971,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-conditional-formatting-ui:
dependencies:
@@ -2035,11 +2041,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-crosshair-highlight:
dependencies:
@@ -2084,11 +2090,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-data-validation:
dependencies:
@@ -2121,11 +2127,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-data-validation-ui:
dependencies:
@@ -2188,11 +2194,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-drawing:
dependencies:
@@ -2213,11 +2219,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-drawing-ui:
dependencies:
@@ -2261,9 +2267,6 @@ importers:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- less:
- specifier: ^4.3.0
- version: 4.3.0
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -2280,11 +2283,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-filter:
dependencies:
@@ -2311,11 +2314,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-filter-ui:
dependencies:
@@ -2369,11 +2372,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-find-replace:
dependencies:
@@ -2403,11 +2406,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-formula:
dependencies:
@@ -2437,11 +2440,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-formula-ui:
dependencies:
@@ -2498,11 +2501,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-graphics:
dependencies:
@@ -2523,11 +2526,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-hyper-link:
dependencies:
@@ -2557,11 +2560,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-hyper-link-ui:
dependencies:
@@ -2624,11 +2627,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-note:
dependencies:
@@ -2649,11 +2652,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-note-ui:
dependencies:
@@ -2704,11 +2707,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-numfmt:
dependencies:
@@ -2735,11 +2738,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-numfmt-ui:
dependencies:
@@ -2777,9 +2780,6 @@ importers:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- less:
- specifier: ^4.3.0
- version: 4.3.0
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -2796,11 +2796,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-sort:
dependencies:
@@ -2821,11 +2821,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-sort-ui:
dependencies:
@@ -2860,9 +2860,6 @@ importers:
'@univerjs/sheets-formula-ui':
specifier: workspace:*
version: link:../sheets-formula-ui
- less:
- specifier: ^4.3.0
- version: 4.3.0
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -2879,11 +2876,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-table:
dependencies:
@@ -2904,11 +2901,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-table-ui:
dependencies:
@@ -2965,11 +2962,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-thread-comment:
dependencies:
@@ -2996,11 +2993,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-thread-comment-ui:
dependencies:
@@ -3054,11 +3051,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-ui:
dependencies:
@@ -3102,9 +3099,9 @@ importers:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- less:
- specifier: ^4.3.0
- version: 4.3.0
+ '@univerjs/themes':
+ specifier: workspace:*
+ version: link:../themes
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -3121,11 +3118,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/sheets-zen-editor:
dependencies:
@@ -3160,9 +3157,6 @@ importers:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- less:
- specifier: ^4.3.0
- version: 4.3.0
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -3179,11 +3173,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/slides:
dependencies:
@@ -3201,11 +3195,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/slides-ui:
dependencies:
@@ -3256,11 +3250,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/telemetry:
dependencies:
@@ -3275,11 +3269,17 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
+
+ packages/themes:
+ devDependencies:
+ vite:
+ specifier: ^6.3.5
packages/thread-comment:
dependencies:
@@ -3300,11 +3300,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/thread-comment-ui:
dependencies:
@@ -3330,9 +3330,6 @@ importers:
'@univerjs-infra/shared':
specifier: workspace:*
version: link:../../common/shared
- less:
- specifier: ^4.3.0
- version: 4.3.0
postcss:
specifier: ^8.5.3
version: 8.5.3
@@ -3349,11 +3346,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/ui:
dependencies:
@@ -3369,6 +3366,9 @@ importers:
'@univerjs/icons':
specifier: ^0.3.24
+ '@univerjs/themes':
+ specifier: workspace:*
+ version: link:../themes
'@wendellhu/redi':
specifier: 0.18.0
version: 0.18.0
@@ -3404,15 +3404,15 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
optionalDependencies:
vue:
specifier: '>=3.0.0'
- version: 3.4.38([email protected])
+ version: 3.5.13([email protected])
packages/uniscript:
dependencies:
@@ -3454,11 +3454,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages/watermark:
dependencies:
@@ -3479,11 +3479,11 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vite:
- specifier: ^6.3.4
+ specifier: ^6.3.5
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
tests/formula-integration:
dependencies:
@@ -3531,8 +3531,8 @@ importers:
specifier: ^5.8.3
version: 5.8.3
vitest:
- specifier: ^3.1.2
+ specifier: ^3.1.3
packages:
@@ -3611,14 +3611,26 @@ packages:
resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Q+E+rd/yBzNQhXkG+zQnF58e4zoZfBedaxwzPmicKsiK3nt8iJYrSrDbjwFFDGC4f+rPafqRaPH6TsDoSvMf7A==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-IaaGWsQqfsQWVLqMn9OB92MNN7zukfVA4s7KKAI0KfrrDsZ0yhi5uV4baBuLuN7n3vsZpwP8asPPcVwApxvjBQ==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-kEWdzjOAUMW4hAyrzJ0ZaTOu9OmpyDIQicIh0zg0EEcEkYXZb2TjtBhnHi2ViX7PKwZqF4xwqfAm299/QMP3lg==}
engines: {node: '>=6.9.0'}
@@ -3627,20 +3639,38 @@ packages:
resolution: {integrity: sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-UnJfnIpc/+JO0/+KRVQNGU+y5taA5vCbwN8+azkX6beii/ZF+enZJSOKo11ZSzGJjlNfJHfQtmQT8H+9TXPG2w==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-LVk7fbXml0H2xH34dFzKQ7TDZ2G4/rVTOrq9V+icbbadjbVxxeFeDsNHv2SrZeWoA+6ZiTyWYWtScEIW07EAcA==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-2YaDd/Rd9E598B5+WIc8wJPmWETiiJXFYVE60oX8FDohv7rAUU3CQj+A1MgeEmcsk2+dQuEjIe/GDvig0SqL4g==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==}
engines: {node: '>=6.9.0'}
peerDependencies:
'@babel/core': ^7.0.0
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-9yHn519/8KvTU5BjTVEEeIM3w9/2yXNKoD82JifINImhpKkARMJKPP59kLo+BafpdN5zgNeIcS4jsGDmd3l58g==}
+ engines: {node: '>=6.9.0'}
+ peerDependencies:
+ '@babel/core': ^7.0.0
+
resolution: {integrity: sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==}
engines: {node: '>=6.9.0'}
@@ -3653,6 +3683,10 @@ packages:
resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==}
engines: {node: '>=6.9.0'}
@@ -3661,23 +3695,30 @@ packages:
resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-U5eyP/CTFPuNE3qk+WZMxFkp/4zUzdceQlfzf7DdGdhp+Fezd7HD+i8Y24ZuTMKX3wQBld449jijbGq6OdGNQg==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-FCvFTm0sWV8Fxhpp2McP5/W53GPllQ9QeQ7SiqGWjMf/LVG07lFa5+pgK05IRhVwtvafT22KF+ZSnM9I545CvQ==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-reoQYNiAJreZNsJzyrDNzFQ+IQ5JFiIzAHJg9bn94S3l+4++J7RsIhNMoB+lgP/9tpmiAQqspv+xfdxTSzREOw==}
- engines: {node: '>=6.0.0'}
- hasBin: true
-
resolution: {integrity: sha512-81NWa1njQblgZbQHxWHpxxCzNsa3ZwvFqpUg7P+NNUU6f3UU2jBEg4OlF/J6rl8+PQGh1q6/zWScd001YwcA5A==}
engines: {node: '>=6.0.0'}
@@ -3688,6 +3729,11 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-I0dZ3ZpCrJ1c04OqlNsQcKiZlsrXf/kkE4FXzID9rIOYICsAbA8mMDzhW/luRNAHdCNt7os/u8wenklZDlUVUQ==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
resolution: {integrity: sha512-y8quW6p0WHkEhmErnfe58r7x0A70uKphQm8Sp8cV7tjNQwK56sNVK0M73LK3WuYmsuyrftut4xAkjjgU0twaMg==}
engines: {node: '>=6.9.0'}
@@ -3720,6 +3766,10 @@ packages:
resolution: {integrity: sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-Fyo3ghWMqkHHpHQCoBs2VnYjR4iWFFjguTDEqA5WgZDOrFesVjMhMM2FSqTKSoUSDO1VQtavj8NFpdRBEvJTtg==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-ZYW7L+pL8ahU5fXmNbPF+iZFHCv5scFak7MZ9bwaRPLUhHh7QQEMjZUg0HevihoqCM5iSYHN61EyCoZvqC+bxg==}
engines: {node: '>=6.9.0'}
@@ -3728,6 +3778,10 @@ packages:
resolution: {integrity: sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-ZCYtZciz1IWJB4U61UPu4KEaqyfj+r5T1Q5mqPo+IBpcG9kHv30Z0aD8LXPgC1trYa6rK0orRyAhqUgk4MjmEg==}
+ engines: {node: '>=6.9.0'}
+
resolution: {integrity: sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==}
engines: {node: '>=6.9.0'}
@@ -3740,6 +3794,10 @@ packages:
resolution: {integrity: sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==}
engines: {node: '>=6.9.0'}
+ '@babel/[email protected]':
+ resolution: {integrity: sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==}
+ engines: {node: '>=6.9.0'}
+
'@chromatic-com/[email protected]':
resolution: {integrity: sha512-FDmn5Ry2DzQdik+eq2sp/kJMMT36Ewe7ONXUXM2Izd97c7r6R/QyGli8eyh/F0iyqVvbLveNYFyF0dBOJNwLqw==}
engines: {node: '>=16.0.0', yarn: '>=1.22.18'}
@@ -4117,66 +4175,132 @@ packages:
cpu: [ppc64]
os: [aix]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==}
+ engines: {node: '>=18'}
+ cpu: [ppc64]
+ os: [aix]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==}
engines: {node: '>=18'}
cpu: [arm64]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==}
engines: {node: '>=18'}
cpu: [arm]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==}
+ engines: {node: '>=18'}
+ cpu: [arm]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==}
engines: {node: '>=18'}
cpu: [x64]
os: [android]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [android]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==}
engines: {node: '>=18'}
cpu: [arm64]
os: [darwin]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [darwin]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==}
engines: {node: '>=18'}
cpu: [x64]
os: [darwin]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [darwin]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==}
engines: {node: '>=18'}
cpu: [arm64]
os: [freebsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [freebsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==}
engines: {node: '>=18'}
cpu: [x64]
os: [freebsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [freebsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==}
engines: {node: '>=18'}
cpu: [arm64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==}
engines: {node: '>=18'}
cpu: [arm]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==}
+ engines: {node: '>=18'}
+ cpu: [arm]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==}
engines: {node: '>=18'}
cpu: [ia32]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==}
+ engines: {node: '>=18'}
+ cpu: [ia32]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==}
engines: {node: '>=12'}
@@ -4189,84 +4313,168 @@ packages:
cpu: [loong64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==}
+ engines: {node: '>=18'}
+ cpu: [loong64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==}
engines: {node: '>=18'}
cpu: [mips64el]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==}
+ engines: {node: '>=18'}
+ cpu: [mips64el]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==}
engines: {node: '>=18'}
cpu: [ppc64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==}
+ engines: {node: '>=18'}
+ cpu: [ppc64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==}
engines: {node: '>=18'}
cpu: [riscv64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==}
+ engines: {node: '>=18'}
+ cpu: [riscv64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==}
engines: {node: '>=18'}
cpu: [s390x]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==}
+ engines: {node: '>=18'}
+ cpu: [s390x]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==}
engines: {node: '>=18'}
cpu: [x64]
os: [linux]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [linux]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-1QaLtOWq0mzK6tzzp0jRN3eccmN3hezey7mhLnzC6oNlJoUJz4nym5ZD7mDnS/LZQgkrhEbEiTn515lPeLpgWA==}
engines: {node: '>=18'}
cpu: [arm64]
os: [netbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [netbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==}
engines: {node: '>=18'}
cpu: [x64]
os: [netbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [netbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==}
engines: {node: '>=18'}
cpu: [arm64]
os: [openbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [openbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==}
engines: {node: '>=18'}
cpu: [x64]
os: [openbsd]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [openbsd]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==}
engines: {node: '>=18'}
cpu: [x64]
os: [sunos]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [sunos]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==}
engines: {node: '>=18'}
cpu: [arm64]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==}
+ engines: {node: '>=18'}
+ cpu: [arm64]
+ os: [win32]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==}
engines: {node: '>=18'}
cpu: [ia32]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==}
+ engines: {node: '>=18'}
+ cpu: [ia32]
+ os: [win32]
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==}
engines: {node: '>=18'}
cpu: [x64]
os: [win32]
+ '@esbuild/[email protected]':
+ resolution: {integrity: sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==}
+ engines: {node: '>=18'}
+ cpu: [x64]
+ os: [win32]
+
'@eslint-community/[email protected]':
resolution: {integrity: sha512-lb/Z/MzbTf7CaVYM9WCFNQZ4L1yi3ev2fsFPF99h31ljhSEyUoyEsKsNWiU+qD1glbYTDJdqgyaLKtyTkkqtuQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -4279,8 +4487,8 @@ packages:
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
- '@eslint-community/[email protected]':
- resolution: {integrity: sha512-KTsJMmobmbrFLe3LDh0PC2FXpcSYJt/MLjlkh/9LEnmKYLSYmT/0EW9JWANjeoemiuZrmogti0tW5Ch+qNUYDw==}
+ '@eslint-community/[email protected]':
+ resolution: {integrity: sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
@@ -4289,20 +4497,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-4PfH7LYI0InkoSKim7CmNe0Ly6Ykina0tCVmUPr3cQXcF0MOvLxI6OmCxRudFnxdhLgemQDcCbFMnB7LMjAl3A==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-kKYKd3hVjztMMLNAX41GRbi+luSIVYSYReXtifiPKjYNu/CkZ14x5o9CCN0iAeuSinpSmaUq4qXDD6nihMp1Wg==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-BtKZJHPnqBkRtYvcNsxSXKbSawFRdkOcLS2Hm4HfjSkEr39j7CVipeikK1CJA4uJN6RNWMlwTVL2QyQ2oM4KRg==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-SS2V3reZmiTSgJjyNhIotZDcpcXeQBr/HWAup/Q3a5rtJDydKO2grvdSpP92NbaGKaIsakRMW4XupUmGVZhnYA==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-7YSZybpPq9GOtLottQVfCfKudoPSyYaGfiKKTAHKPTfYkN3EbwE6EVebHn00zw0UnETlnxVZqqf8EEUjIqugug==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-u4TNqG/smBx5HefDJDUkpdDJ2Wg0rXJFFi61UHPREp0IDPKQOqCMQ1fH1RbZp2w95TRiar94/mXwweeyqAVekQ==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-K3s08AgSWex6HT/4o1fv1BG4ofPRXgh0G8GKhSiWO0qLPtWSXK2MITVPGodiKSV1Gr7xEREi758/lDs8gp3upg==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-KMMSRROH4OQla+pOQjXC3IYTgOWBIf46WaZDwX0hGgGP8qzXAjJcWiJdButhIQ8PsgKoFKnr13uStIput8wwIQ==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -4311,16 +4519,16 @@ packages:
typescript:
optional: true
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-fk6oDQWTftVDZp4QE/NhLM2mS3OuuXQSPD6RuBo5GWcI93ApGkOHCXHbsaQZFsT/YMrE7REsXWa2qq+a/UlWeQ==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-bLyVQaFaXG34ShcStuMRX64GUOkB7qUvhXsl5+Z56LE+PAM60pTWIxtPJ4PdogO9iEOpNU7v3FDnuCLVKTAzKg==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-+DY5NjKHVvrrv+SbDZ6ZqUt3xohm7NsWeyWKmxc3SFZOs4bdlZyyMZdiO25NgetbN2iox6vjPfp9uupqGFxO/w==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-e+qB/bcQTBnRnYXBEAJkKBxHcsiIM+2KGHBJAmc9OFwaEtOOGl+1ShhVox6r9YIIGI7ak+ylnLYabkQp15K/tw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
- '@eslint-react/[email protected]':
- resolution: {integrity: sha512-KFc8BueXL7pJgmP3FsL7hSZcMz2k7vNj7QzN33L2lUyNGkbydV07K9PMK9ndF5jOARguK2XLg6KLC4CUEUYhpg==}
+ '@eslint-react/[email protected]':
+ resolution: {integrity: sha512-CHx6PZAptM3ghSyr0yCxSbR3Fl+EvCk9ctIqj8lQYbXnSkHyIfwclFJb884pc+pss3glmCsOrWNQtR3dxPVVrQ==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
'@eslint/[email protected]':
@@ -4336,8 +4544,8 @@ packages:
resolution: {integrity: sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-RI17tsD2frtDu/3dmI7QRrD4bedNKPM08ziRYaC5AhkGrzIAJelm9kJU1TznK+apx6V+cqRz8tfpEeG3oIyjxw==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/[email protected]':
@@ -4352,8 +4560,8 @@ packages:
resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-dEIwmjntEx8u3Uvv+kr3PDeeArL8Hw07H9kyYxCjnM9pBjfEhk6uLXSchxxzgiwtRhhzVzqmUSDFBOi1TuZ7qg==}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-I9XlJawFdSMvWjDt6wksMCrgns5ggLNfFwFvnShsleWruvXM514Qxk8V246efTw+eo9JABvVz+u3q2RiAowKxQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@eslint/[email protected]':
@@ -4491,6 +4699,10 @@ packages:
'@microsoft/[email protected]':
resolution: {integrity: sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==}
+ '@modelcontextprotocol/[email protected]':
+ resolution: {integrity: sha512-k/1pb70eD638anoi0e8wUGAlbMJXyvdV4p62Ko+EZ7eBe1xMx8Uhak1R5DgfoofsK5IBBnRwsYGTaLZl+6/+RQ==}
+ engines: {node: '>=18'}
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-OBlgKdX7gin7OIq4fadsjpg+cp2ZphvAIKucHsNfTdJiqdOmOEwQd/bHi0VwNrcw5xpBJyUw6cK/QilCqy1BSg==}
@@ -4620,8 +4832,8 @@ packages:
'@radix-ui/[email protected]':
resolution: {integrity: sha512-XnbHrrprsNqZKQhStrSwgRUQzoCI1glLzdw79xiZPoofhGICeZRSQ3dIxAKH1gb3OHfNf4d6f+vAv3kil2eggA==}
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-qz+fxrqgNxG0dYew5l7qR3c7wdgRu1XVUHGnGYX7rg5HM4p9SWaRmJwfgR3J0SgyUKayLmzQIun+N6rWRgiRKw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-2JMfHJf/eVnwq+2dewT3C0acmCWD3XiVA1Da+jTDqo342UlU13WvXtqHhG+yJw5JeQmu4ue2eMy6gcEArLBlcw==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4633,8 +4845,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-cv4vSf7HttqXilDnAnvINd53OTl1/bjUYVZrkFnA7nwmY9Ob2POUy0WY0sfqBAe1s5FyKsyceQlqiEGPYNTadg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-PbhRFK4lIEw9ADonj48tiYWzkllz81TM7KVYyyMMw2cwHO7D5h4XKEblL8NlaRisTK3QTe6tBEhDccFUryxHBQ==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4664,8 +4876,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-yI7S1ipkP5/+99qhSI6nthfo/tR6bL6Zgxi/+1UO6qPa6UeM6nlafWcQ65vB4rU2XjgjMfMhI3k9Y5MztA62VQ==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-ARFmqUyhIVS3+riWzwGTe7JLjqwqgnODBUZdqpWar/z1WFs9z76fuOs/2BOWCR+YboRn4/WN9aoaGVwqNRr8VA==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4686,8 +4898,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-j5+WBUdhccJsmH5/H0K6RncjDtoALSEr6jbkaZu+bjw6hOPOhHycr6vEUujl+HBK8kjUfWcoCJXxP6e4lUlMZw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-way197PiTvNp+WBP7svMJasHl+vibhWGQDb6Mgf5mhEWJkgb85z7Lfl9TUdkqpWsf8GRNmoopx9ZxCyDzmgRMQ==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4699,8 +4911,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-VJoMs+BWWE7YhzEQyVwvF9n22Eiyr83HotCVrMQzla/OwRovXCgah7AcaEr4hMNj4gJxSdtIbcHGvmJXOoJVHA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-lzuyNjoWOoaMFE/VC5FnAAYM16JmQA8ZmucOXtlhm2kKR5TSU95YLAueQ4JYuRmUJmBvSqXaVFGIfuukybwZJQ==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4721,8 +4933,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-r2annK27lIW5w9Ho5NyQgqs0MmgZSTIKXWpVCJaLC1q2kZrZkcqnmHkCHMEmv8XLvsLlurKMPT+kbKkRkm/xVA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-r9zpYNUQY+2jWHWZGyddQLL9YHkM/XvSFHVcWs7bdVuxMAnCwTAuy6Pf47Z4nw7dYcUou1vg/VgjjrrH03VeBw==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4743,8 +4955,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-+qYq6LfbiGo97Zz9fioX83HCiIYYFNs8zAsVCMQrIakoNYylIzWuoD/anAD3UzvvR6cnswmfRFJFq/zYYq/k7Q==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-0zSiBAIFq9GSKoSH5PdEaQeRB3RnEGxC+H2P0egtnKoKKLNBH8VBHyVO6/jskhjAezhOIplyRUj7U2lds9A+Yg==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4756,8 +4968,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-yFMfZkVA5G3GJnBgb2PxrrcLKm1ZLWXrbYVgdyTl//0TYEIHS9LJbnyz7WWcZ0qCq7hIlJZpRtxeSeIG5T5oJw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-84uqQV3omKDR076izYgcha6gdpN8m3z6w/AeJ83MSBJYVG/AbOHdLjAgsPZkeC/kt+k64moXFCnio8BbqXszlw==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4769,8 +4981,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-3p2Rgm/a1cK0r/UVkx5F/K9v/EplfjAeIFCGOPYPO4lZ0jtg4iSQXt/YGTSLWaf4x7NG6Z4+uKFcylcTZjeqDA==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-7iqXaOWIjDBfIG7aq8CUEeCSsQMLFdn7VEE8TaFz704DtEzpPHR7w/uuzRflvKgltqSAImgcmxQ7fFX3X7wasg==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4782,8 +4994,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-XmsIl2z1n/TsYFLIdYam2rmFwf9OC/Sh2avkbmVMDuBZIe7hSpM0cYnWPAo7nHOVx8zTuwDZGByfcqLdnzp3Vw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-hQsTUIn7p7fxCPvao/q6wpbxmCwgLrlz+nOrJgC+RwfZqWY/WN+UMqkXzrtKbPrF82P43eCTl3ekeKuyAQbFeg==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4808,8 +5020,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-/J/FhLdK0zVcILOwt5g+dH4KnkonCtkVJsa2G6JmvbbtZfBEI1gMsO3QMjseL4F/SwfAMt1Vc/0XKYKq+xJ1sw==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-uHa+l/lKfxuDD2zjN/0peM/RhhSmRjr5YWdk/37EnSv1nJ88uvG85DPexSm8HdFQROd2VdERJ6ynXbkCFi+APw==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4821,8 +5033,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-C6oAg451/fQT3EGbWHbCQjYTtbyjNO1uzQgMzwyivcHT3GKNEmu1q3UuREhN+HzHAVtv3ivMVK08QlC+PkYw9Q==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-ZzrIFnMYHHCNqSNCsuN6l7wlewBEq0O0BCSBkabJMFXVO51LRUTq71gLP1UxFvmrXElqmPjA5VX7IqC9VpazAQ==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4834,8 +5046,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-2fTm6PSiUm8YPq9W0E4reYuv01EE3aFSzt8edBiXqPHshF8N9+Kymt/k0/R+F3dkY5lQyB/zPtrP82phskLi7w==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-Izof3lPpbCfTM7WDta+LRkz31jem890VjEvpVRoWQNKpDUMMVffuyq854XPGP1KYGWWmjmYvHvPFeocWhFCy1w==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4847,8 +5059,8 @@ packages:
'@types/react-dom':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-ujc+V6r0HNDviYqIK3rW4ffgYiZ8g5DEHrGJVk4x7kTlLXRDILnKX9vAUYeIsLOoDpDJ0ujpqMkjH4w2ofuo6w==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-y7TBO4xN4Y94FvcWIOIh18fM4R1A8S4q1jhoz4PNzOoHsFcN8pogcFmZrTYAm4F9VRUrWP/Mw7xSKybIeRI+CQ==}
peerDependencies:
'@types/react': '19'
react: '19'
@@ -4856,8 +5068,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-DyW8VVeeMSSLFvAmnVnCwvI3H+1tpJFHT50r+tdOoMse9XqYDBCcyux8u3G2y+LOpt7fPQ6KKH0mhs+ce1+Z5w==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-zYb+9dc9tkoN2JjBDIIPLQtk3gGyz8FMKoqYTb8EMVQ5a5hBcdHPECrsZVI4NpPAUOixhkoqg7Hj5ry5USowfA==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -4932,8 +5144,8 @@ packages:
'@types/react':
optional: true
- '@radix-ui/[email protected]':
- resolution: {integrity: sha512-rQj0aAWOpCdCMRbI6pLQm8r7S2BM3YhTa0SzOYD55k+hJA8oo9J+H+9wLM9oMlZWOX/wJWPTzfDfmZkf7LvCfg==}
+ '@radix-ui/[email protected]':
+ resolution: {integrity: sha512-ORCmRUbNiZIv6uV5mhFrhsIKw4UX/N3syZtyqvry61tbGm4JlgQuSn0hk5TwCARsCjkcnuRkSdCE3xfb+ADHew==}
peerDependencies:
'@types/react': '19'
'@types/react-dom': '19'
@@ -5482,11 +5694,11 @@ packages:
resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-cuHoUgS/V3hLdjJOLTT691+G2QoqAjCVLmr4kJXR4ha56w1Zdu8UUQ5TxLRqudgNjwXeQxKMq4j+lyf9sWuslg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==}
- '@types/[email protected]':
- resolution: {integrity: sha512-ew63aJfQ/ms7QQ4X7pk5NxQ9fZH/z+i24ZfJ6tJSfqxJMrYLiK01EAs2/Rtw/JreGUsS3pLPNV644qXFGnoZNQ==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==}
resolution: {integrity: sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==}
@@ -5542,6 +5754,9 @@ packages:
resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-rlyK0vuU7VLEYQfXuC7QTFxDvkb6tKhDI7wR4r6ZzM0k8BJd44W0jxo6xmUjqSs4AlYmiYfLJU2f0pAG/FtCRw==}
+
resolution: {integrity: sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==}
@@ -5560,6 +5775,9 @@ packages:
resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-AUZTa7hQ2KY5L7AmtSiqxlhWxb4ina0yd8hNbl4TWuqnv/pFP0nDMb3YrfSBf4hJVGLh2YEIBfKaBW/9UEl6IQ==}
+
resolution: {integrity: sha512-+N+2H39P8X+Hy1I5mC6awlTX54k3FhiUmvt7HWzGJZvF+syUAAxP/stwppS8JE84YHqFgRMv6fCy31202CMFxQ==}
@@ -5612,8 +5830,8 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.9.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-B2MdzyWxCE2+SqiZHAjPphft+/2x2FlO9YBx7eKE1BCb+rqBlQdhtAEhzIEdozHd55DXPmxBdpMygFJjfjjA9A==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -5623,12 +5841,8 @@ packages:
resolution: {integrity: sha512-2nggXGX5F3YrsGN08pw4XpMLO1Rgtnn4AzTegC2MDesv6q3QaTU5yU7IbS1tf1IwCR0Hv/1EFygLn9ms6LIpDA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-knO8UyF78Nt8O/B64i7TlGXod69ko7z6vJD9uhSlm0qkAbGeRUSudcm0+K/4CrRjrpiHfBCjMWlc08Vav1xwcw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-jc/4IxGNedXkmG4mx4nJTILb6TMjL66D41vyeaPWvDUmeYQzF3lKtN15WsAeTr65ce4mPxwopPSo1yUUAWw0hQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/[email protected]':
@@ -5638,8 +5852,8 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.9.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-DJ1N1GdjI7IS7uRlzJuEDCgDQix3ZVYVtgeWEyhyn4iaoitpMBX6Ndd488mXSx0xah/cONAkEaYyylDyAeHMHg==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-t2vouuYQKEKSLtJaa5bB4jHeha2HJczQ6E5IXPDPgIty9EqcJxpr1QHQ86YyIPwDwxvUmLfP2YADQ5ZY4qddZg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -5649,12 +5863,8 @@ packages:
resolution: {integrity: sha512-VT7T1PuJF1hpYC3AGm2rCgJBjHL3nc+A/bhOp9sGMKfi5v0WufsX/sHCFBfNTx2F+zA6qBc/PD0/kLRLjdt8mQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-Ch8oSjVyYyJxPQk8pMiP2FFGYatqXQfQIaMp+TpuuLlDachRWpUAeEu1u9B/v/8LToehUIWyiKcA/w5hUFRKuQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-O5Id6tGadAZEMThM6L9HmVf5hQUXNSxLVKeGJYWNhhVseps/0LddMkp7//VDkzwJ69lPL0UmZdcZwggj9akJaA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/[email protected]':
@@ -5663,14 +5873,8 @@ packages:
peerDependencies:
typescript: '>=4.8.4 <5.9.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-xLmgn4Yl46xi6aDSZ9KkyfhhtnYI15/CvHbpOy/eR5NWhK/BK8wc709KKwhAR0m4ZKRP7h07bm4BWUYOCuRpQQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
-
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-pU9VD7anSCOIoBFnhTGfOzlVFQIA1XXiQpH/CezqOBaDppRwTglJzCC6fUQGpfwey4T183NKhF1/mfatYmjRqQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '>=4.8.4 <5.9.0'
@@ -5682,8 +5886,8 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.9.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-qi6uPLt9cjTFxAb1zGNgTob4x9ur7xC6mHQJ8GwEzGMGE9tYniublmJaowOJ9V2jUzxrltTPfdG2nKlWsq0+Ww==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-8S9hXau6nQ/sYVtC3D6ISIDoJzS1NsCK+gluVhLN2YkBPX+/1wkwyUiDKnxRh15579WoOIyVWnoyIf3yGI9REw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -5693,12 +5897,8 @@ packages:
resolution: {integrity: sha512-RGLh5CRaUEf02viP5c1Vh1cMGffQscyHe7HPAzGpfmfflFg1wUz2rYxd+OZqwpeypYvZ8UxSxuIpF++fmOzEcg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-QcGHmlRHWOl93o64ZUMNewCdwKGU6WItOU52H0djgNmn1EOrhVudrDzXz4OycCRSCPwFCDrE2iIt5vmuUdHxuQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-1rYQTCLFFzOI5Nl0c8LUpJT8HxpwVRn9E4CkMsYfuN6ctmQqExjSTzzSk0Tz2apmXy7WU6/6fyaZVVA/thPN+w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@univerjs/[email protected]':
@@ -5805,10 +6005,10 @@ packages:
vite: ^5.0.0 || ^6.0.0
vue: ^3.2.25
- '@vitest/[email protected]':
- resolution: {integrity: sha512-PXjSd4g7SxlC9WJ00jbMMFJob+LcjXUYow5vpXuZe/acjhlEQgCaf6npm+W9Mg/ahiFKtIAHI+P8A9n2JfZilg==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-S6zpofFh7ykVM01KpCbsdPRKBG4SCP/ErvrakFBJEUhiN/nRgsuCsi68VSe8rWstz6V1cJ/Sa/PDttr6FRZuNg==}
peerDependencies:
- vitest: 3.1.2
+ vitest: 3.1.3
'@vitest/[email protected]':
resolution: {integrity: sha512-M7RpSSVa98U0gtDcLfoZqLuv4Wk/G7o6TqTULwVbPO/TU7qaw41XNP0t68+JVgtgy/WkVGbxVQMBdj3XsywKcQ==}
@@ -5825,11 +6025,11 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-O8hJgr+zREopCAqWl3uCVaOdqJwZ9qaDwUP7vy3Xigad0phZe9APxKhPcDNqYYi0rX5oMvwJMSCAXY2afqeTSA==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-7FTQQuuLKmN1Ig/h+h/GO+44Q1IlglPlR2es4ab7Yvfx+Uk5xsv+Ykk+MEt/M2Yn/xGmzaLKxGw2lgy2bwuYqg==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-kOtd6K2lc7SQ0mBqYv/wdGedlqPdM/B38paPY+OwJ1XiNi44w3Fpog82UfOibmHaV9Wod18A09I9SCKLyDMqgw==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-PJbLjonJK82uCWHjzgBJZuR7zmAOrSvKk1QBxrennDIgtH4uK0TB1PvYmc0XBCigxxtiAVPfWtAdy4lpz8SQGQ==}
peerDependencies:
msw: ^2.4.9
vite: ^5.0.0 || ^6.0.0
@@ -5845,20 +6045,20 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-R0xAiHuWeDjTSB3kQ3OQpT8Rx3yhdOAIm/JM4axXxnG7Q/fS8XUwggv/A4xzbQA+drYRjzkMnpYnOGAc4oeq8w==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-i6FDiBeJUGLDKADw2Gb01UtUNb12yyXAqC/mmRWuYl+m/U9GS7s8us5ONmGkGpUUo7/iAYzI2ePVfOZTYvUifA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-bhLib9l4xb4sUMPXnThbnhX2Yi8OutBMA8Yahxa7yavQsFDtwY/jrUZwpKp2XH9DhRFJIeytlyGpXCqZ65nR+g==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-Tae+ogtlNfFei5DggOsSUvkIaSuVywujMj6HzR97AHK6XK8i3BuVyIifWAm/sE3a15lF5RH9yQIrbXYuo0IFyA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-Q1qkpazSF/p4ApZg1vfZSQ5Yw6OCQxVMVrLjslbLFA1hMDrT2uxtqMaw8Tc/jy5DLka1sNs1Y7rBcftMiaSH/Q==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-XVa5OPNTYUsyqG9skuUkFzAeFnEzDp8hQu7kZ0N25B1+6KjGm4hWLtURyBbsIAOekfWQ7Wuz/N/XXzgYO3deWQ==}
'@vitest/[email protected]':
resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-OEc5fSXMws6sHVe4kOFyDSj/+4MSwst0ib4un0DlcYgQvRuYQ0+M2HyqGaauUMnjq87tmUaMNDxKQx7wNfVqPA==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-x6w+ctOEmEXdWaa6TO4ilb7l9DxPR5bwEb6hILKuxfU1NqWT2mpJD9NJN7t3OTfxmVlOMrvtoFJGdgyzZ605lQ==}
'@vitest/[email protected]':
resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==}
@@ -5866,8 +6066,8 @@ packages:
'@vitest/[email protected]':
resolution: {integrity: sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==}
- '@vitest/[email protected]':
- resolution: {integrity: sha512-5GGd0ytZ7BH3H6JTj9Kw7Prn1Nbg0wZVrIvou+UWxm54d+WoXXgAgjFJ8wn3LdagWLFSEfpPeyYrByZaGEZHLg==}
+ '@vitest/[email protected]':
+ resolution: {integrity: sha512-2Ltrpht4OmHO9+c/nmHtF09HWiyWdworqnHIwjfvDyWjuwKbdkcS9AnhsDn+8E2RM4x++foD1/tNuLPVvWG1Rg==}
resolution: {integrity: sha512-lN2C1+ByfW9/JRPpqScuZt/4OrUUse57GLI6TbLgTIqBVemdl1wNcZ1qYGEo2+Gw8coYLgCy7SuKqn6IrQcQgg==}
@@ -5878,23 +6078,17 @@ packages:
resolution: {integrity: sha512-2DT+Tdh88Spp5PyPbqhyoYavYCPDsqbHLFwcUI9K1NlY1YgUJvujGdrqUp0zWxnW7KWNTr3xSpMuv2WnaTKDAw==}
- resolution: {integrity: sha512-8IQOTCWnLFqfHzOGm9+P8OPSEDukgg3Huc92qSG49if/xI2SAwLHQO2qaPQbjCWPBcQoO1WYfXfTACUrWV3c5A==}
-
resolution: {integrity: sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==}
- resolution: {integrity: sha512-Osc/c7ABsHXTsETLgykcOwIxFktHfGSUDkb05V61rocEfsFDcjDLH/IHJSNJP+/Sv9KeN2Lx1V6McZzlSb9EhQ==}
-
resolution: {integrity: sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==}
- resolution: {integrity: sha512-s5QfZ+9PzPh3T5H4hsQDJtI8x7zdJaew/dCGgqZ2630XdzaZ3AD8xGZfBqpT8oaD/p2eedd+pL8tD5vvt5ZYJQ==}
+ resolution: {integrity: sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ==}
- resolution: {integrity: sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==}
+ resolution: {integrity: sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA==}
resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==}
@@ -5907,22 +6101,19 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-4vl4wMMVniLsSYYeldAKzbk72+D3hUnkw9z8lDeJacTxAkXeDAP1uE9xr2+aKIN0ipOL8EG2GPouVTH6yF7Gnw==}
+ resolution: {integrity: sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg==}
- resolution: {integrity: sha512-21z3wA99EABtuf+O3IhdxP0iHgkBs1vuoCAsCKLVJPEjpVqvblwBnTj42vzHRlWDCyxu9ptDm7sI2ZMcWrQqlA==}
+ resolution: {integrity: sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw==}
- resolution: {integrity: sha512-afZzmUreU7vKwKsV17H1NDThEEmdYI+GCAK/KY1U957Ig2NATPVjCROv61R19fjZNzMmiU03n79OMnXyJVN0UA==}
+ resolution: {integrity: sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog==}
- resolution: {integrity: sha512-NggOTr82FbPEkkUvBm4fTGcwUY8UuTsnWC/L2YZBmvaQ4C4Jl/Ao4HHTB+l7WnFCt5M/dN3l0XLuyjzswGYVCA==}
+ resolution: {integrity: sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA==}
peerDependencies:
- vue: 3.4.38
-
- resolution: {integrity: sha512-q0xCiLkuWWQLzVrecPb0RMsNWyxICOjPrcrwxTUEHb1fsnvni4dcuyG7RT/Ie7VPTvnjzIaWzRMUBsrqNj/hhw==}
+ vue: 3.5.13
resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==}
@@ -5981,23 +6172,23 @@ packages:
resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
- '@xyflow/[email protected]':
- resolution: {integrity: sha512-mAtHuS4ktYBL1ph5AJt7X/VmpzzlmQBN3+OXxyT/1PzxwrVto6AKc3caerfxzwBsg3cA4J8lB63F3WLAuPMmHw==}
+ '@xyflow/[email protected]':
+ resolution: {integrity: sha512-YzsSK4SlpC6e9Ki1g6O9B1UH7xvz/bzWF+tJ+vWDD8Am5xJmFn0jYnCEuqvzvH8dRKb1NFBmyuqEGqWN39xXsA==}
peerDependencies:
react: '19'
react-dom: '19'
- '@xyflow/[email protected]':
- resolution: {integrity: sha512-6cngWlE4oMXm+zrsbJxerP3wUNUFJcv/cE5kDfu0qO55OWK3fAeSOLW9td3xEVQlomjIW5knds1MzeMnBeCfqw==}
+ '@xyflow/[email protected]':
+ resolution: {integrity: sha512-1YpBo0WgmZLR5wQw9Jvk3Tu0gISi/oYc4uSimrDuAsA/G2rGleulLrKkM59uuT/QU5m6DYC2VdBDAzjSNMGuBA==}
resolution: {integrity: sha512-7kjMwcChYEzMKjeex9ZFXkt1AyNov9R5HZtjBKVsmVpw7pa7ZtlCGvCBC2vnnXctaYN+aRI61HjIqeetZW5ROg==}
- resolution: {integrity: sha512-bVfPiV2kDUkAJ4ArvV4MHcPZA8y3xOX6/SjzSy2kX2ACopbaaAP4wk6hd/byRmfi9MLNai+4SFJMmcATdOyclg==}
+ resolution: {integrity: sha512-03Bv82fFSfjDAvMfdHHdGSS6SOJs0iCcJlWJv1kJHRtoTT02hZpyip/2Lk6oo4l4FtjuwTrsEQTwg/LD8I7dJA==}
- resolution: {integrity: sha512-dUrw6GDXsFbbjvHBlqOrkWiFFNbo9EW+/D3NcoO+28rJdLM330tSMK16m3NrPhDbLbZU6VLEd0yL650w5Kqmkg==}
+ resolution: {integrity: sha512-ioybPtU4w4TqwHvJv0gkAiYNaBkZ/BaGHBpK7viCIRSE8BiiZucVZ8vS0YE04Qy1R120nAnFy1d+tD9ByMO0yw==}
resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==}
@@ -6007,6 +6198,10 @@ packages:
resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:
@@ -6254,8 +6449,8 @@ packages:
resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==}
+ resolution: {integrity: sha512-re4CqKTJaURpzbLHtIi6XpDv20/CnpXOtjRY5/CU32L8gU8ek9UIivcfvSWvmKEngmVbrUtPpdDwWDWL7DNHvg==}
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
@@ -6293,6 +6488,10 @@ packages:
resolution: {integrity: sha512-6R0B4j7qEXI+Q/7nhSk1Vy2hilQHo8MH4Z0lc+iQVY7mrNUWiAFms7kowx96etq5THsHGEYXaZMti0r6b9Dv+w==}
+ resolution: {integrity: sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
@@ -6322,6 +6521,11 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
+ resolution: {integrity: sha512-FDToo4Wo82hIdgc1CQ+NQD0hEhmpPjrZ3hiUgwgOG6IuTdlpr8jdjyG24P6cNP1yJpTLzS5OcGgSw0xmDU1/Tw==}
+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+ hasBin: true
+
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
@@ -6340,6 +6544,10 @@ packages:
resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==}
engines: {node: '>= 0.8'}
+ resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
engines: {node: '>=8'}
@@ -6393,6 +6601,9 @@ packages:
resolution: {integrity: sha512-kRlAGTRWgPsOj7oARC9m1okJEXdL/8fekFVcxA8Hl7GH4r/sN4OJn/i6Flde373T50KS7Y37oFbMwlE8+F42kQ==}
+ resolution: {integrity: sha512-auPpttCq6BDEG8ZAuHJIplGw6GODhjw+/11e7IjpnYCxZcW/ONgPs0KVBJ0d1bY3e2+7PRe5RCLyP+PfwVgkYw==}
+
resolution: {integrity: sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==}
engines: {node: '>=4'}
@@ -6641,6 +6852,14 @@ packages:
resolution: {integrity: sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==}
+ engines: {node: '>= 0.6'}
+
+ resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==}
engines: {node: '>=16'}
@@ -6724,12 +6943,24 @@ packages:
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
+ resolution: {integrity: sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==}
+ engines: {node: '>=6.6.0'}
+
+ resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==}
resolution: {integrity: sha512-RFsU9LySVue9RTwdDVX/T0e2Y6jRYWXERKElIjpuEOEnxaXffI0X7RUwVzfYLfzuLXSNJDYoRYUAmRUcyln20A==}
+ resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==}
+ engines: {node: '>= 0.10'}
+
resolution: {integrity: sha512-tJ1w35ZRUiM5FeTzT7DtYWAFFv37ZLqSRkGi2oeCK1gPhvaWjkAtfXvLmvE1pRfxxp9aQo6ba/Pvg1dKj05D4g==}
engines: {node: '>=v18'}
@@ -6995,6 +7226,10 @@ packages:
resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
engines: {node: '>=0.4.0'}
+ resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==}
@@ -7090,6 +7325,12 @@ packages:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
+ resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==}
+
+ resolution: {integrity: sha512-rOOkP2ZUMx1yL4fCxXQKDHQ8ZXwisb2OycOQVKHgvB3ZI4CvehOd4y2tfnnLDieJ3Zs1RL1Dlp3cMkyIn7nnXA==}
+
resolution: {integrity: sha512-K3C2qf1o+bGzbilTDCTBhTQcMS9KW60yTAaTeeXsfvQuTDDwlokLam/AdqlqcSy9u4UainDgsHV23ksXAOgamw==}
@@ -7102,6 +7343,10 @@ packages:
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
+ resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-r8VyPX7XL8U01Xgnb1CjZ3XV+z90cXIJ9JPE/R9SEC9vpw2P6CfsRPJmp20DppC5N7ZAMCmjYkJIa744Iyg96w==}
@@ -7356,6 +7601,11 @@ packages:
engines: {node: '>=18'}
hasBin: true
+ resolution: {integrity: sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==}
+ engines: {node: '>=18'}
+ hasBin: true
+
resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
engines: {node: '>=6'}
@@ -7364,6 +7614,9 @@ packages:
resolution: {integrity: sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==}
+
resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}
engines: {node: '>=0.8.0'}
@@ -7505,8 +7758,8 @@ packages:
peerDependencies:
eslint: ^9.0.0
- resolution: {integrity: sha512-0ohplE9yStl5U45GLzmTioK8eJ5kg5b3ICCDFZWDkvGKnXtX8IGh39u4/NPjXlOsRr/deDuGHTZCETtuhNFELA==}
+ resolution: {integrity: sha512-d7/5OnbBFPVQG9jVjM1Bs5p24M+xCri0Dv1ExeWxJZO1Gl9xKaqDO4tv6+cL9Kg2+yy6QaD/xD6j6IHjIv2Bmw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7515,8 +7768,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-ZjfqZYDSqOM9M/5UD2jpyCn4jROkKawM2pNFXWGzJMoopq4x5eqx6rba6jsIQFayb5inAy3IzRnzXC/may2EPg==}
+ resolution: {integrity: sha512-gz+rXbU9evjneshMYclUXHCzFSdt4QHRaLZYJXrdzTBTnROM1lrjvmT72Pt8KYQpiRNIcz1pemyJQmdJ2OQ+Ig==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7525,8 +7778,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-/AVmDabUP1xLtOdLN/rlnb76mhdGr31V/fywiHvbe6A4wD/FkHMVpC/e+3qNJ7KhgZhZ1nZ1snSL3b/LulQCiw==}
+ resolution: {integrity: sha512-euvLPhRaYxZIuj1muOB+SKrepcuM9NiPABAyMmGdwSOPdoZX/SphXxzzJLkAWCN1m3QwWXpSFH/J9Z+fQ5Av3w==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7541,8 +7794,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-UlGf+z2Klxyfdo2Z/aA367NKzqnDId/OWuFC5KoBRI+KYbxX3/OEE/O9S+MoN8r7KT/eg8NMBDqMj+UAzMoNWQ==}
+ resolution: {integrity: sha512-TfaLDPdNsdlQy+plRXO6yzae38ZpT+pHQijSxKLYSJvegfe5VYJTltsKPkwa8+WSUnZAS9U4NXwYdi06uP5aiw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7556,8 +7809,8 @@ packages:
peerDependencies:
eslint: '>=8.40'
- resolution: {integrity: sha512-/78LZhfdhRl3v+4ytghzNZOozF8CHXjDnrEfOQ31bwrEyVifGCGsSYnjVOUZ8rfIGB0QNq7rm3Up3CxoOezDYQ==}
+ resolution: {integrity: sha512-Tba3qAKXjwM58jE9gocwgUqcuy+3gsh75HtbBjf2iG9vHoRiLuve9r1zGuI1SSlF+J8NdIfZf9b+1rBDLn+Spw==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7566,8 +7819,8 @@ packages:
typescript:
optional: true
- resolution: {integrity: sha512-XuuKEUbbMjvLPfqO/lPwaq+EGOe1GFhlwGigdPfkuFliY3Vz8tA+/wRgwKQ1Gs/JYqKv3Fn+t2l6OSni9wrNGA==}
+ resolution: {integrity: sha512-yRh5nN8Z1Xoq26dt40Jnbqg8Z3N/svD4v7bT7sAWGslhCpxAGJEnOpj6V0L0xmw4ztz7ZonHt/4ks7mEOpagmQ==}
engines: {bun: '>=1.0.15', node: '>=18.18.0'}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
@@ -7662,8 +7915,8 @@ packages:
resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- resolution: {integrity: sha512-E6Mtz9oGQWDCpV12319d59n4tx9zOTXSTmc8BLVxBx+G/0RdM5MvEEJLU9c0+aleoePYYgVTOsRblx433qmhWQ==}
+ resolution: {integrity: sha512-Hx0MOjPh6uK9oq9nVsATZKE/Wlbai7KFjfCuw9UHaguDW3x+HF0O5nIi3ud39TWgrTjTO5nHxmL3R1eANinWHQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
hasBin: true
peerDependencies:
@@ -7711,6 +7964,10 @@ packages:
resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==}
@@ -7718,6 +7975,14 @@ packages:
resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}
engines: {node: '>=0.8.x'}
+ resolution: {integrity: sha512-VARTJ9CYeuQYb0pZEPbzi740OWFgpHe7AYJ2WFZVnUDUQp5Dk2yJUgF36YsZ81cOyxT0QxmXD2EQpapAouzWVA==}
+ engines: {node: '>=18.0.0'}
+
+ resolution: {integrity: sha512-l19WpE2m9hSuyP06+FbuUUf1G+R0SFLrtQfbRb9PRr+oimOfxQhgGCbVaXg5IvZyyTThJsxh6L/srkMiCeBPDA==}
+ engines: {node: '>=18.0.0'}
+
resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==}
engines: {node: '>=10'}
@@ -7734,6 +7999,16 @@ packages:
resolution: {integrity: sha512-/kP8CAwxzLVEeFrMm4kMmy4CCDlpipyA7MYLVrdJIkV0fYF0UaigQHRsxHiuY/GEea+bh4KSv3TIlgr+2UL6bw==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-eB5zbQh5h+VenMPM3fh+nw1YExi5nMr6HUCR62ELSP11huvxm/Uir1H1QEyTkk5QX6A58pX6NmaTMceKZ0Eodg==}
+ engines: {node: '>= 16'}
+ peerDependencies:
+ express: ^4.11 || 5 || ^5.0.0-beta.1
+
+ resolution: {integrity: sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==}
+ engines: {node: '>= 18'}
+
resolution: {integrity: sha512-ZEcIMbthn2zeX4/wD/DLxDUjuCltHXT8Htvm/JFlTkdYgWh2+HGppgwwNUnIVxzxP7yJOPtuBAec0dLx6lVY8w==}
@@ -7806,6 +8081,10 @@ packages:
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==}
engines: {node: '>=8'}
@@ -7880,12 +8159,20 @@ packages:
resolution: {integrity: sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==}
engines: {node: '>= 6'}
+ resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==}
resolution: {integrity: sha512-1uDIEUSlUZgvJa2AKYR/dmJC66v/PvGQ9mWfI9nOr/kPpMFyvswK0gPXOwpYJYiYD008PpHLkGfG58SPjQJFxw==}
+ resolution: {integrity: sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
engines: {node: '>=12'}
@@ -8156,6 +8443,10 @@ packages:
resolution: {integrity: sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==}
+ resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==}
engines: {node: '>= 14'}
@@ -8280,6 +8571,10 @@ packages:
resolution: {integrity: sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==}
engines: {node: '>= 12'}
+ resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
+ engines: {node: '>= 0.10'}
+
resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==}
engines: {node: '>= 0.4'}
@@ -8447,6 +8742,9 @@ packages:
resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
+ resolution: {integrity: sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==}
+
resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}
engines: {node: '>= 0.4'}
@@ -8927,6 +9225,10 @@ packages:
resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==}
+ resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==}
engines: {node: '>= 4.0.0'}
@@ -8942,6 +9244,10 @@ packages:
resolution: {integrity: sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
@@ -9049,6 +9355,10 @@ packages:
resolution: {integrity: sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==}
engines: {node: '>= 0.6'}
@@ -9057,6 +9367,10 @@ packages:
resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==}
engines: {node: '>=4'}
@@ -9171,6 +9485,10 @@ packages:
resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
@@ -9266,6 +9584,10 @@ packages:
resolution: {integrity: sha512-eJJDYkhJFFbBBAxeh8xW+weHlkI28n2ZdQV/J/DNfWfSKlGEf2xcfAbZTv3riEXHAhL9SVOTs2pRmXiSTf78xg==}
+ resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==}
engines: {node: '>= 0.8'}
@@ -9424,6 +9746,10 @@ packages:
resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==}
+ resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==}
@@ -9471,6 +9797,10 @@ packages:
resolution: {integrity: sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==}
+ resolution: {integrity: sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==}
+ engines: {node: '>=16'}
+
resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
engines: {node: '>=8'}
@@ -9517,6 +9847,10 @@ packages:
resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==}
engines: {node: '>= 6'}
+ resolution: {integrity: sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==}
+ engines: {node: '>=16.20.0'}
+
resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==}
engines: {node: '>=8'}
@@ -9816,8 +10150,8 @@ packages:
resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==}
engines: {node: ^10 || ^12 || >=14}
- resolution: {integrity: sha512-wn9mtxjsp789vtr+5D4M8fIuiol/83u5LV87TJAya0Efr4ScMZGQC+OjTlc2/YFqt3RZTjCQXhDWy15KPMsonA==}
+ resolution: {integrity: sha512-cVlQPOwOPjakUnrueKRCQe1m2Ku+XzKaOos7Tn/zDZkkZFeBT/byP7tbNf7LiwhaBRWFBRowZZb/MsTtSRaorg==}
engines: {node: '>=15.0.0'}
@@ -9844,6 +10178,11 @@ packages:
resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
+ resolution: {integrity: sha512-ey8Ls/+Di31eqzUxC46h8MksNuGx/n0AAC8uKpwFau4RPDYLuE3EXTp8N8G2vX2N7UC/+IXeNUnlWBGGcAG+Ig==}
+ peerDependencies:
+ react: '19'
+
resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==}
engines: {node: '>= 0.6.0'}
@@ -9861,6 +10200,10 @@ packages:
resolution: {integrity: sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==}
+ resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}
+ engines: {node: '>= 0.10'}
+
resolution: {integrity: sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==}
engines: {node: '>= 14'}
@@ -9915,6 +10258,10 @@ packages:
resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-IP0UpfeWQujYC8Jg162rMNc01Rf0gWMMAb2Uxus/Q0qOFw4lCcq6ZnQEZwUoJqWyUGJ9th7JjwI4yIWo+uvoAQ==}
@@ -10297,6 +10644,10 @@ packages:
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
+ resolution: {integrity: sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==}
+ engines: {node: '>= 18'}
+
resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==}
@@ -10393,12 +10744,20 @@ packages:
engines: {node: '>=10'}
hasBin: true
+ resolution: {integrity: sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==}
+ engines: {node: '>= 18'}
+
resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
resolution: {integrity: sha512-x5RL9Y2p5+Sh3D38Fh9i/iQ5ZK+e4xuXRd/pGbM4D13tgo/MGwbttUk8emytcr1YYzBYs+apnUngBDFYfpjPuQ==}
+ resolution: {integrity: sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==}
+ engines: {node: '>= 18'}
+
resolution: {integrity: sha512-qy1S34PJ/fcY8gjVGszDB3EXiPSk5FKhUa7tQe0UPRddxRidc2V6cNHPNewbE1D7MAkgLuWEt3Vw56vYy73tzQ==}
engines: {node: '>= 14'}
@@ -10416,6 +10775,9 @@ packages:
resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==}
+
resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
engines: {node: '>=8'}
@@ -10541,6 +10903,10 @@ packages:
resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==}
+ resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==}
@@ -10720,11 +11086,11 @@ packages:
resolution: {integrity: sha512-FQT/OVqCD+7edmmJpsgCsY820RTD5AkBryuG5IUqR5YQZSdj5xlH5nLgH7YPths7WsLPSpSBNneJdM8aS8aeFA==}
- resolution: {integrity: sha512-pmrtDIZeHyu2idTejfV59SbaJyvp1VRjYxAjZBH0jnyrPRo6HL1kD5Glz8VPagasqr6oAx6M05+Tuw429Z8jxg==}
+ resolution: {integrity: sha512-wAQiIxAPqk0MNTPptVe/xoyWi27y+NRGnTwvn4PQnbvB9kp8QUBiGl/wsfoVBHnQxTmhXJSNt9NHTmcz9EivFA==}
engines: {node: '>=12.13.0'}
peerDependencies:
- tailwindcss: 3.x
+ tailwindcss: 4.x
resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==}
@@ -10830,6 +11196,10 @@ packages:
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
engines: {node: '>=8.0'}
+ resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
+ engines: {node: '>=0.6'}
+
resolution: {integrity: sha512-khrZo4buq4qVmsGzS5yQjKe/WsFvV8fGfOjDQN0q4iy9FjRfPWRgTFrU8u1R2iu/SfWLhY9WnCi4Jhdrcbtg+g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -10942,6 +11312,10 @@ packages:
resolution: {integrity: sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==}
engines: {node: '>=16'}
+ resolution: {integrity: sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==}
+ engines: {node: '>= 0.6'}
+
resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}
engines: {node: '>= 0.4'}
@@ -11028,6 +11402,10 @@ packages:
resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
engines: {node: '>= 10.0.0'}
+ resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}
+ engines: {node: '>= 0.8'}
+
resolution: {integrity: sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==}
engines: {node: '>=14.0.0'}
@@ -11041,6 +11419,12 @@ packages:
peerDependencies:
browserslist: '>= 4.21.0'
+ resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
+ hasBin: true
+ peerDependencies:
+ browserslist: '>= 4.21.0'
+
resolution: {integrity: sha512-5YHsflzHP4t1G+8WGPlvKbJEbAJGCgw+Em+dGR1KmBUbr1J36SJBqlHLjR7oob7sco5hWHGQVcr9B2poIVDDTQ==}
@@ -11085,8 +11469,8 @@ packages:
'@types/react':
optional: true
- resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==}
+ resolution: {integrity: sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==}
peerDependencies:
react: '19'
@@ -11117,8 +11501,8 @@ packages:
resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}
engines: {node: '>= 0.8'}
- resolution: {integrity: sha512-/8iMryv46J3aK13iUXsei5G/A3CUlW4665THCPS+K8xAaqrVWiGB4RfXMQXCLjpK9P2eK//BczrVkn5JLAk6DA==}
+ resolution: {integrity: sha512-uHV4plJ2IxCl4u1up1FQRrqclylKAogbtBfOTwcuJ28xFi+89PZ57BRh+naIRvH70HPwxy5QHYzg1OrEaC7AbA==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
@@ -11135,8 +11519,8 @@ packages:
resolution: {integrity: sha512-5OOg0H0AAPE1ew8DumHP0PnVdhbJncgpxWH4rvyrCt+Sw48ar5+/pCDeQbV3DcZwz7qL/A0JYeRoluPmvz+MMQ==}
engines: {node: '>=14.18.0', vite: '>=3.1.0'}
- resolution: {integrity: sha512-BiReIiMS2fyFqbqNT/Qqt4CVITDU9M9vE+DKcVAsB+ZV0wvTKd+3hMbkpxz1b+NmEDMegpVbisKiAZOnvO92Sw==}
+ resolution: {integrity: sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
peerDependencies:
@@ -11175,16 +11559,16 @@ packages:
yaml:
optional: true
- resolution: {integrity: sha512-WaxpJe092ID1C0mr+LH9MmNrhfzi8I65EX/NRU/Ld016KqQNRgxSOlGNP1hHN+a/F8L15Mh8klwaF77zR3GeDQ==}
+ resolution: {integrity: sha512-188iM4hAHQ0km23TN/adso1q5hhwKqUpv+Sd6p5sOuh6FhQnRNW3IsiIpvxqahtBabsJ2SLZgmGSpcYK4wQYJw==}
engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@types/debug': ^4.1.12
'@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
- '@vitest/browser': 3.1.2
- '@vitest/ui': 3.1.2
+ '@vitest/browser': 3.1.3
+ '@vitest/ui': 3.1.3
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
@@ -11216,8 +11600,8 @@ packages:
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
- resolution: {integrity: sha512-f0ZgN+mZ5KFgVv9wz0f4OgVKukoXtS3nwET4c2vLBGQR50aI8G0cqbFtLlX9Yiyg3LFGBitruPHt2PxwTduJEw==}
+ resolution: {integrity: sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
@@ -11442,8 +11826,16 @@ packages:
resolution: {integrity: sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-/BPMyLKJPtFEvVL0E9E9BTUM63MNyhPGlvxk1XjrfWTUlV+BR8jufjsovHzrtR6YNcBEcL7cMHovL1n9xHawEg==}
+ resolution: {integrity: sha512-/AuWwMP+YqiPbsJx5D6TfgRTc4kTLjsh5SOcd4bLsfUg2RcEXrFMJl1DGgdHy2aCfsIA/cr/1JM0xcB2GZji8g==}
+ peerDependencies:
+ zod: ^3.24.1
+
+ resolution: {integrity: sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==}
+
+ resolution: {integrity: sha512-ibr/n1hBzLLj5Y+yUcU7dYw8p6WnIVzdJbnX+1YpaScvZVF2ziugqHs+LAmHw4lWO9c/zRj+K1ncgWDQuthEdQ==}
engines: {node: '>=12.7.0'}
peerDependencies:
'@types/react': '19'
@@ -11471,50 +11863,50 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.8
'@jridgewell/trace-mapping': 0.3.25
dependencies:
'@antfu/install-pkg': 1.0.0
'@clack/prompts': 0.10.1
- '@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.3.0
- '@stylistic/eslint-plugin': 4.2.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/parser': 8.31.1([email protected]([email protected]))([email protected])
+ '@stylistic/eslint-plugin': 4.2.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.32.0([email protected]([email protected]))([email protected])
ansis: 3.17.0
cac: 6.7.14
- eslint: 9.25.1([email protected])
- eslint-config-flat-gitignore: 2.1.0([email protected]([email protected]))
+ eslint: 9.26.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.1([email protected]([email protected]))
- eslint-plugin-command: 3.2.0([email protected]([email protected]))
- eslint-plugin-import-x: 4.10.2([email protected]([email protected]))([email protected])
- eslint-plugin-jsdoc: 50.6.11([email protected]([email protected]))
- eslint-plugin-jsonc: 2.20.0([email protected]([email protected]))
- eslint-plugin-n: 17.17.0([email protected]([email protected]))
+ eslint-merge-processors: 2.0.0([email protected]([email protected]))
+ eslint-plugin-antfu: 3.1.1([email protected]([email protected]))
+ eslint-plugin-command: 3.2.0([email protected]([email protected]))
+ eslint-plugin-import-x: 4.10.2([email protected]([email protected]))([email protected])
+ eslint-plugin-jsdoc: 50.6.11([email protected]([email protected]))
+ eslint-plugin-jsonc: 2.20.0([email protected]([email protected]))
+ eslint-plugin-n: 17.17.0([email protected]([email protected]))
eslint-plugin-no-only-tests: 3.3.0
- eslint-plugin-perfectionist: 4.11.0([email protected]([email protected]))([email protected])
- eslint-plugin-pnpm: 0.3.1([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: 58.0.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.11.0([email protected]([email protected]))([email protected])
+ eslint-plugin-pnpm: 0.3.1([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: 58.0.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: 16.0.0
jsonc-eslint-parser: 2.4.0
local-pkg: 1.1.1
parse-gitignore: 2.0.0
toml-eslint-parser: 0.10.0
- vue-eslint-parser: 10.1.3([email protected]([email protected]))
+ vue-eslint-parser: 10.1.3([email protected]([email protected]))
yaml-eslint-parser: 1.3.0
optionalDependencies:
- eslint-plugin-format: 1.0.1([email protected]([email protected]))
- eslint-plugin-react-hooks: 5.2.0([email protected]([email protected]))
- eslint-plugin-react-refresh: 0.4.20([email protected]([email protected]))
+ eslint-plugin-format: 1.0.1([email protected]([email protected]))
+ eslint-plugin-react-hooks: 5.2.0([email protected]([email protected]))
+ eslint-plugin-react-refresh: 0.4.20([email protected]([email protected]))
transitivePeerDependencies:
- '@eslint/json'
- '@vue/compiler-sfc'
@@ -11544,8 +11936,16 @@ snapshots:
js-tokens: 4.0.0
picocolors: 1.1.1
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-validator-identifier': 7.27.1
+ js-tokens: 4.0.0
+ picocolors: 1.1.1
+
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
dependencies:
'@ampproject/remapping': 2.3.0
@@ -11566,6 +11966,26 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@babel/[email protected]':
+ dependencies:
+ '@ampproject/remapping': 2.3.0
+ '@babel/code-frame': 7.27.1
+ '@babel/generator': 7.27.1
+ '@babel/helper-compilation-targets': 7.27.1
+ '@babel/helper-module-transforms': 7.27.1(@babel/[email protected])
+ '@babel/helpers': 7.27.1
+ '@babel/parser': 7.27.1
+ '@babel/template': 7.27.1
+ '@babel/traverse': 7.27.1
+ '@babel/types': 7.27.1
+ convert-source-map: 2.0.0
+ debug: 4.4.0
+ gensync: 1.0.0-beta.2
+ json5: 2.2.3
+ semver: 6.3.1
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@babel/parser': 7.26.9
@@ -11582,6 +12002,14 @@ snapshots:
'@jridgewell/trace-mapping': 0.3.25
jsesc: 3.1.0
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/parser': 7.27.1
+ '@babel/types': 7.27.1
+ '@jridgewell/gen-mapping': 0.3.8
+ '@jridgewell/trace-mapping': 0.3.25
+ jsesc: 3.1.0
+
dependencies:
'@babel/compat-data': 7.26.8
@@ -11590,6 +12018,14 @@ snapshots:
lru-cache: 5.1.1
semver: 6.3.1
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/compat-data': 7.27.1
+ '@babel/helper-validator-option': 7.27.1
+ browserslist: 4.24.5
+ lru-cache: 5.1.1
+ semver: 6.3.1
+
dependencies:
'@babel/traverse': 7.26.9
@@ -11597,6 +12033,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/traverse': 7.27.1
+ '@babel/types': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@babel/core': 7.26.10
@@ -11606,23 +12049,43 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@babel/core': 7.27.1
+ '@babel/helper-module-imports': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+ '@babel/traverse': 7.27.1
+ transitivePeerDependencies:
+ - supports-color
+
'@babel/[email protected]': {}
'@babel/[email protected]': {}
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
'@babel/[email protected]': {}
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
'@babel/[email protected]': {}
+ '@babel/[email protected]': {}
+
dependencies:
'@babel/template': 7.27.0
'@babel/types': 7.27.0
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/template': 7.27.1
+ '@babel/types': 7.27.1
+
dependencies:
'@babel/helper-validator-identifier': 7.25.9
@@ -11630,10 +12093,6 @@ snapshots:
js-tokens: 4.0.0
picocolors: 1.1.1
- '@babel/[email protected]':
- dependencies:
- '@babel/types': 7.26.9
-
dependencies:
'@babel/types': 7.26.9
@@ -11642,6 +12101,10 @@ snapshots:
dependencies:
'@babel/types': 7.27.0
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/types': 7.27.1
+
dependencies:
'@babel/core': 7.26.10
@@ -11676,6 +12139,12 @@ snapshots:
'@babel/parser': 7.27.0
'@babel/types': 7.27.0
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/parser': 7.27.1
+ '@babel/types': 7.27.1
+
dependencies:
'@babel/code-frame': 7.26.2
@@ -11700,6 +12169,18 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/code-frame': 7.27.1
+ '@babel/generator': 7.27.1
+ '@babel/parser': 7.27.1
+ '@babel/template': 7.27.1
+ '@babel/types': 7.27.1
+ debug: 4.4.0
+ globals: 11.12.0
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@babel/helper-string-parser': 7.24.8
@@ -11716,6 +12197,11 @@ snapshots:
'@babel/helper-string-parser': 7.25.9
'@babel/helper-validator-identifier': 7.25.9
+ '@babel/[email protected]':
+ dependencies:
+ '@babel/helper-string-parser': 7.27.1
+ '@babel/helper-validator-identifier': 7.27.1
+
dependencies:
chromatic: 11.20.2
@@ -12150,105 +12636,180 @@ 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
+
'@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
+
dependencies:
escape-string-regexp: 4.0.0
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
ignore: 5.3.2
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
eslint-visitor-keys: 3.4.3
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
eslint-visitor-keys: 3.4.3
'@eslint-community/[email protected]': {}
dependencies:
- '@eslint-react/eff': 1.48.5
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/typescript-estree': 8.31.0([email protected])
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.49.0
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/typescript-estree': 8.32.0([email protected])
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
string-ts: 2.2.1
ts-pattern: 5.7.0
transitivePeerDependencies:
@@ -12256,17 +12817,17 @@ snapshots:
- supports-color
- typescript
- dependencies:
- '@eslint-react/eff': 1.48.5
- '@eslint-react/shared': 1.48.5([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/type-utils': 8.31.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/eff': 1.49.0
+ '@eslint-react/shared': 1.49.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/type-utils': 8.32.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
birecord: 0.1.1
ts-pattern: 5.7.0
transitivePeerDependencies:
@@ -12274,60 +12835,60 @@ snapshots:
- supports-color
- typescript
- '@eslint-react/[email protected]': {}
-
- dependencies:
- '@eslint-react/eff': 1.48.5
- '@eslint-react/shared': 1.48.5([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/type-utils': 8.31.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
- eslint: 9.25.1([email protected])
- eslint-plugin-react-debug: 1.48.5([email protected]([email protected]))([email protected])
- eslint-plugin-react-dom: 1.48.5([email protected]([email protected]))([email protected])
- eslint-plugin-react-hooks-extra: 1.48.5([email protected]([email protected]))([email protected])
- eslint-plugin-react-naming-convention: 1.48.5([email protected]([email protected]))([email protected])
- eslint-plugin-react-web-api: 1.48.5([email protected]([email protected]))([email protected])
+ '@eslint-react/[email protected]': {}
+
+ dependencies:
+ '@eslint-react/eff': 1.49.0
+ '@eslint-react/shared': 1.49.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/type-utils': 8.32.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
+ eslint: 9.26.0([email protected])
+ eslint-plugin-react-debug: 1.49.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-dom: 1.49.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-hooks-extra: 1.49.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-naming-convention: 1.49.0([email protected]([email protected]))([email protected])
+ eslint-plugin-react-web-api: 1.49.0([email protected]([email protected]))([email protected])
optionalDependencies:
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
- ts-api-utils
dependencies:
- '@eslint-react/eff': 1.48.5
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
- '@zod/mini': 4.0.0-beta.20250424T163858
+ '@eslint-react/eff': 1.49.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
+ '@zod/mini': 4.0.0-beta.20250505T195954
ts-pattern: 5.7.0
transitivePeerDependencies:
- eslint
- supports-color
- typescript
dependencies:
- '@eslint-react/eff': 1.48.5
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
- '@zod/mini': 4.0.0-beta.20250424T163858
+ '@eslint-react/eff': 1.49.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
+ '@zod/mini': 4.0.0-beta.20250505T195954
ts-pattern: 5.7.0
transitivePeerDependencies:
- eslint
- supports-color
- typescript
dependencies:
- '@eslint-react/eff': 1.48.5
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.49.0
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
string-ts: 2.2.1
ts-pattern: 5.7.0
transitivePeerDependencies:
@@ -12335,9 +12896,9 @@ snapshots:
- supports-color
- typescript
optionalDependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
'@eslint/[email protected]':
dependencies:
@@ -12347,7 +12908,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@eslint/[email protected]': {}
+ '@eslint/[email protected]': {}
'@eslint/[email protected]':
dependencies:
@@ -12371,7 +12932,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@eslint/[email protected]': {}
+ '@eslint/[email protected]': {}
'@eslint/[email protected]':
dependencies:
@@ -12501,23 +13062,23 @@ snapshots:
'@types/react': 19.1.2
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.11.0(@types/[email protected])
+ '@rushstack/node-core-library': 5.11.0(@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.3(@types/[email protected])
+ '@microsoft/api-extractor-model': 7.30.3(@types/[email protected])
'@microsoft/tsdoc': 0.15.1
'@microsoft/tsdoc-config': 0.17.1
- '@rushstack/node-core-library': 5.11.0(@types/[email protected])
+ '@rushstack/node-core-library': 5.11.0(@types/[email protected])
'@rushstack/rig-package': 0.5.3
- '@rushstack/terminal': 0.15.0(@types/[email protected])
- '@rushstack/ts-command-line': 4.23.5(@types/[email protected])
+ '@rushstack/terminal': 0.15.0(@types/[email protected])
+ '@rushstack/ts-command-line': 4.23.5(@types/[email protected])
lodash: 4.17.21
minimatch: 3.0.8
resolve: 1.22.10
@@ -12536,6 +13097,21 @@ snapshots:
'@microsoft/[email protected]': {}
+ '@modelcontextprotocol/[email protected]':
+ dependencies:
+ content-type: 1.0.5
+ cors: 2.8.5
+ cross-spawn: 7.0.6
+ eventsource: 3.0.6
+ express: 5.1.0
+ express-rate-limit: 7.5.0([email protected])
+ pkce-challenge: 5.0.0
+ raw-body: 3.0.0
+ zod: 3.24.4
+ zod-to-json-schema: 3.24.5([email protected])
+ transitivePeerDependencies:
+ - supports-color
+
'@napi-rs/[email protected]':
dependencies:
'@emnapi/core': 1.4.0
@@ -12666,21 +13242,21 @@ snapshots:
'@radix-ui/[email protected]': {}
dependencies:
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
@@ -12699,19 +13275,19 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.2
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
aria-hidden: 1.2.4
react: 19.0.0
@@ -12727,11 +13303,11 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.2
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])
react: 19.0.0
@@ -12740,14 +13316,14 @@ snapshots:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -12761,10 +13337,10 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.2
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -12779,23 +13355,23 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.2
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])
+ '@radix-ui/react-roving-focus': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
aria-hidden: 1.2.4
react: 19.0.0
@@ -12805,20 +13381,20 @@ snapshots:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
aria-hidden: 1.2.4
react: 19.0.0
@@ -12828,13 +13404,13 @@ snapshots:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@floating-ui/react-dom': 2.1.2([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])
@@ -12846,9 +13422,9 @@ snapshots:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -12866,24 +13442,24 @@ snapshots:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
@@ -12892,36 +13468,36 @@ snapshots:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
'@types/react': 19.1.2
'@types/react-dom': 19.1.2(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
react: 19.0.0
optionalDependencies:
'@types/react': 19.1.2
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])
+ '@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.2.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
@@ -12976,9 +13552,9 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.2
dependencies:
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
@@ -13103,7 +13679,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])
@@ -13114,23 +13690,23 @@ snapshots:
resolve: 1.22.10
semver: 7.5.4
optionalDependencies:
- '@types/node': 22.15.3
+ '@types/node': 22.15.11
'@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.11.0(@types/[email protected])
+ '@rushstack/node-core-library': 5.11.0(@types/[email protected])
supports-color: 8.1.1
optionalDependencies:
- '@types/node': 22.15.3
+ '@types/node': 22.15.11
- '@rushstack/[email protected](@types/[email protected])':
+ '@rushstack/[email protected](@types/[email protected])':
dependencies:
- '@rushstack/terminal': 0.15.0(@types/[email protected])
+ '@rushstack/terminal': 0.15.0(@types/[email protected])
'@types/argparse': 1.0.38
argparse: 1.0.10
string-argv: 0.3.2
@@ -13449,10 +14025,10 @@ snapshots:
dependencies:
storybook: 8.6.12([email protected])
dependencies:
- '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
- eslint: 9.25.1([email protected])
+ '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
+ eslint: 9.26.0([email protected])
eslint-visitor-keys: 4.2.0
espree: 10.3.0
estraverse: 5.3.0
@@ -13594,22 +14170,22 @@ snapshots:
dependencies:
- '@types/d3-selection': 3.0.10
+ '@types/d3-selection': 3.0.11
dependencies:
'@types/d3-color': 3.1.3
- '@types/[email protected]': {}
+ '@types/[email protected]': {}
- '@types/[email protected]':
+ '@types/[email protected]':
dependencies:
- '@types/d3-selection': 3.0.10
+ '@types/d3-selection': 3.0.11
dependencies:
'@types/d3-interpolate': 3.0.4
- '@types/d3-selection': 3.0.10
+ '@types/d3-selection': 3.0.11
dependencies:
@@ -13662,6 +14238,10 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 6.21.0
+
dependencies:
undici-types: 6.21.0
@@ -13678,6 +14258,8 @@ snapshots:
'@types/[email protected]': {}
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
@@ -13718,15 +14300,15 @@ snapshots:
'@types/[email protected]': {}
dependencies:
'@eslint-community/regexpp': 4.12.1
- '@typescript-eslint/parser': 8.31.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/parser': 8.32.0([email protected]([email protected]))([email protected])
'@typescript-eslint/scope-manager': 8.29.1
- '@typescript-eslint/type-utils': 8.29.1([email protected]([email protected]))([email protected])
- '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/type-utils': 8.29.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
'@typescript-eslint/visitor-keys': 8.29.1
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
graphemer: 1.4.0
ignore: 5.3.2
natural-compare: 1.4.0
@@ -13735,14 +14317,14 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/scope-manager': 8.31.1
- '@typescript-eslint/types': 8.31.1
- '@typescript-eslint/typescript-estree': 8.31.1([email protected])
- '@typescript-eslint/visitor-keys': 8.31.1
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/typescript-estree': 8.32.0([email protected])
+ '@typescript-eslint/visitor-keys': 8.32.0
debug: 4.4.0
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
@@ -13752,33 +14334,28 @@ snapshots:
'@typescript-eslint/types': 8.29.1
'@typescript-eslint/visitor-keys': 8.29.1
- '@typescript-eslint/[email protected]':
- dependencies:
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/visitor-keys': 8.31.0
-
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.31.1
- '@typescript-eslint/visitor-keys': 8.31.1
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/visitor-keys': 8.32.0
dependencies:
'@typescript-eslint/typescript-estree': 8.29.1([email protected])
- '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
debug: 4.4.0
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
ts-api-utils: 2.1.0([email protected])
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@typescript-eslint/typescript-estree': 8.31.0([email protected])
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/typescript-estree': 8.32.0([email protected])
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
debug: 4.4.0
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
ts-api-utils: 2.1.0([email protected])
typescript: 5.8.3
transitivePeerDependencies:
@@ -13786,9 +14363,7 @@ snapshots:
'@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]': {}
-
- '@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
'@typescript-eslint/[email protected]([email protected])':
dependencies:
@@ -13804,24 +14379,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
- dependencies:
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/visitor-keys': 8.31.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.1.0([email protected])
- typescript: 5.8.3
- transitivePeerDependencies:
- - supports-color
-
- '@typescript-eslint/[email protected]([email protected])':
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/types': 8.31.1
- '@typescript-eslint/visitor-keys': 8.31.1
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/visitor-keys': 8.32.0
debug: 4.4.0
fast-glob: 3.3.3
is-glob: 4.0.3
@@ -13832,24 +14393,24 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
'@typescript-eslint/scope-manager': 8.29.1
'@typescript-eslint/types': 8.29.1
'@typescript-eslint/typescript-estree': 8.29.1([email protected])
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.6.1([email protected]([email protected]))
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/typescript-estree': 8.31.0([email protected])
- eslint: 9.25.1([email protected])
+ '@eslint-community/eslint-utils': 4.7.0([email protected]([email protected]))
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/typescript-estree': 8.32.0([email protected])
+ eslint: 9.26.0([email protected])
typescript: 5.8.3
transitivePeerDependencies:
- supports-color
@@ -13859,14 +14420,9 @@ snapshots:
'@typescript-eslint/types': 8.29.1
eslint-visitor-keys: 4.2.0
- '@typescript-eslint/[email protected]':
- dependencies:
- '@typescript-eslint/types': 8.31.0
- eslint-visitor-keys: 4.2.0
-
- '@typescript-eslint/[email protected]':
+ '@typescript-eslint/[email protected]':
dependencies:
- '@typescript-eslint/types': 8.31.1
+ '@typescript-eslint/types': 8.32.0
eslint-visitor-keys: 4.2.0
'@univerjs/[email protected]': {}
@@ -13928,23 +14484,34 @@ snapshots:
optional: true
dependencies:
'@babel/core': 7.26.10
'@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.17.0
transitivePeerDependencies:
- supports-color
dependencies:
- vue: 3.4.38([email protected])
+ '@babel/core': 7.26.10
+ '@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.17.0
+ transitivePeerDependencies:
+ - supports-color
+ dependencies:
+ vue: 3.5.13([email protected])
+
dependencies:
'@istanbuljs/schema': 0.1.3
debug: 4.4.0
@@ -13956,16 +14523,16 @@ snapshots:
magicast: 0.3.5
test-exclude: 7.0.1
tinyrainbow: 2.0.0
transitivePeerDependencies:
- supports-color
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
optionalDependencies:
typescript: 5.8.3
'@vitest/[email protected]':
dependencies:
@@ -13974,20 +14541,28 @@ snapshots:
chai: 5.2.0
tinyrainbow: 1.2.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/spy': 3.1.2
- '@vitest/utils': 3.1.2
+ '@vitest/spy': 3.1.3
+ '@vitest/utils': 3.1.3
chai: 5.2.0
tinyrainbow: 2.0.0
dependencies:
- '@vitest/spy': 3.1.2
+ '@vitest/spy': 3.1.3
estree-walker: 3.0.3
magic-string: 0.30.17
optionalDependencies:
+
+ dependencies:
+ '@vitest/spy': 3.1.3
+ estree-walker: 3.0.3
+ magic-string: 0.30.17
+ optionalDependencies:
'@vitest/[email protected]':
dependencies:
@@ -13997,18 +14572,18 @@ snapshots:
dependencies:
tinyrainbow: 1.2.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
tinyrainbow: 2.0.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/utils': 3.1.2
+ '@vitest/utils': 3.1.3
pathe: 2.0.3
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 3.1.2
+ '@vitest/pretty-format': 3.1.3
magic-string: 0.30.17
pathe: 2.0.3
@@ -14016,7 +14591,7 @@ snapshots:
dependencies:
tinyspy: 3.0.2
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
tinyspy: 3.0.2
@@ -14033,9 +14608,9 @@ snapshots:
loupe: 3.1.3
tinyrainbow: 1.2.0
- '@vitest/[email protected]':
+ '@vitest/[email protected]':
dependencies:
- '@vitest/pretty-format': 3.1.2
+ '@vitest/pretty-format': 3.1.3
loupe: 3.1.3
tinyrainbow: 2.0.0
@@ -14051,48 +14626,35 @@ snapshots:
path-browserify: 1.0.1
vscode-uri: 3.0.8
- dependencies:
- '@babel/parser': 7.26.1
- '@vue/shared': 3.4.38
- entities: 4.5.0
- estree-walker: 2.0.2
- source-map-js: 1.2.1
-
dependencies:
- '@babel/parser': 7.26.9
+ '@babel/parser': 7.27.1
'@vue/shared': 3.5.13
entities: 4.5.0
estree-walker: 2.0.2
source-map-js: 1.2.1
- dependencies:
- '@vue/compiler-core': 3.4.38
- '@vue/shared': 3.4.38
-
dependencies:
'@vue/compiler-core': 3.5.13
'@vue/shared': 3.5.13
dependencies:
- '@babel/parser': 7.26.1
- '@vue/compiler-core': 3.4.38
- '@vue/compiler-dom': 3.4.38
- '@vue/compiler-ssr': 3.4.38
- '@vue/shared': 3.4.38
+ '@babel/parser': 7.27.1
+ '@vue/compiler-core': 3.5.13
+ '@vue/compiler-dom': 3.5.13
+ '@vue/compiler-ssr': 3.5.13
+ '@vue/shared': 3.5.13
estree-walker: 2.0.2
magic-string: 0.30.17
postcss: 8.5.3
source-map-js: 1.2.1
dependencies:
- '@vue/compiler-dom': 3.4.38
- '@vue/shared': 3.4.38
+ '@vue/compiler-dom': 3.5.13
+ '@vue/shared': 3.5.13
dependencies:
@@ -14112,29 +14674,27 @@ snapshots:
optionalDependencies:
typescript: 5.8.3
dependencies:
- '@vue/shared': 3.4.38
+ '@vue/shared': 3.5.13
dependencies:
- '@vue/reactivity': 3.4.38
- '@vue/shared': 3.4.38
+ '@vue/reactivity': 3.5.13
+ '@vue/shared': 3.5.13
dependencies:
- '@vue/reactivity': 3.4.38
- '@vue/runtime-core': 3.4.38
- '@vue/shared': 3.4.38
+ '@vue/reactivity': 3.5.13
+ '@vue/runtime-core': 3.5.13
+ '@vue/shared': 3.5.13
csstype: 3.1.3
dependencies:
- '@vue/compiler-ssr': 3.4.38
- '@vue/shared': 3.4.38
- vue: 3.4.38([email protected])
-
- '@vue/[email protected]': {}
+ '@vue/compiler-ssr': 3.5.13
+ '@vue/shared': 3.5.13
+ vue: 3.5.13([email protected])
'@vue/[email protected]': {}
@@ -14220,22 +14780,22 @@ snapshots:
'@xtuc/[email protected]': {}
dependencies:
- '@xyflow/system': 0.0.55
+ '@xyflow/system': 0.0.57
classcat: 5.0.5
react: 19.0.0
react-dom: 19.0.0([email protected])
- zustand: 4.5.4(@types/[email protected])([email protected])
+ zustand: 4.5.6(@types/[email protected])([email protected])
transitivePeerDependencies:
- '@types/react'
- immer
- '@xyflow/[email protected]':
+ '@xyflow/[email protected]':
dependencies:
'@types/d3-drag': 3.0.7
- '@types/d3-selection': 3.0.10
- '@types/d3-transition': 3.0.8
+ '@types/d3-selection': 3.0.11
+ '@types/d3-transition': 3.0.9
'@types/d3-zoom': 3.0.8
d3-drag: 3.0.0
d3-selection: 3.0.0
@@ -14243,11 +14803,11 @@ snapshots:
'@zeit/[email protected]': {}
- '@zod/[email protected]': {}
+ '@zod/[email protected]': {}
dependencies:
- '@zod/core': 0.9.0
+ '@zod/core': 0.11.6
dependencies:
@@ -14259,6 +14819,11 @@ snapshots:
mime-types: 2.1.35
negotiator: 0.6.3
+ dependencies:
+ mime-types: 3.0.1
+ negotiator: 1.0.0
+
dependencies:
acorn: 8.14.1
@@ -14501,7 +15066,7 @@ snapshots:
dependencies:
possible-typed-array-names: 1.0.0
dependencies:
follow-redirects: 1.15.9
form-data: 4.0.2
@@ -14551,6 +15116,20 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ bytes: 3.1.2
+ content-type: 1.0.5
+ debug: 4.4.0
+ http-errors: 2.0.0
+ iconv-lite: 0.6.3
+ on-finished: 2.4.1
+ qs: 6.14.0
+ raw-body: 3.0.0
+ type-is: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
+
@@ -14597,6 +15176,13 @@ snapshots:
node-releases: 2.0.19
update-browserslist-db: 1.1.2([email protected])
+ dependencies:
+ caniuse-lite: 1.0.30001717
+ electron-to-chromium: 1.5.150
+ node-releases: 2.0.19
+ update-browserslist-db: 1.1.3([email protected])
+
@@ -14612,6 +15198,8 @@ snapshots:
+
@@ -14666,6 +15254,8 @@ snapshots:
+
@@ -14888,6 +15478,12 @@ snapshots:
+ dependencies:
+ safe-buffer: 5.2.1
+
+
dependencies:
compare-func: 2.0.0
@@ -14984,6 +15580,10 @@ snapshots:
+
+
dependencies:
is-what: 3.14.1
@@ -14992,6 +15592,11 @@ snapshots:
dependencies:
browserslist: 4.24.4
+ dependencies:
+ object-assign: 4.1.1
+ vary: 1.1.2
+
dependencies:
'@types/node': 22.15.3
@@ -15241,6 +15846,8 @@ snapshots:
+
@@ -15337,6 +15944,10 @@ snapshots:
+
+
@@ -15345,6 +15956,8 @@ snapshots:
+
dependencies:
dedent: 0.7.0
@@ -15556,11 +16169,11 @@ snapshots:
fs-extra: 10.1.0
globby: 11.1.0
dependencies:
esbuild: 0.14.54
typescript: 4.9.5
- vue: 3.4.38([email protected])
+ vue: 3.5.13([email protected])
optionalDependencies:
sass: 1.77.5
@@ -15644,10 +16257,40 @@ snapshots:
'@esbuild/win32-ia32': 0.25.3
'@esbuild/win32-x64': 0.25.3
+ optionalDependencies:
+ '@esbuild/aix-ppc64': 0.25.4
+ '@esbuild/android-arm': 0.25.4
+ '@esbuild/android-arm64': 0.25.4
+ '@esbuild/android-x64': 0.25.4
+ '@esbuild/darwin-arm64': 0.25.4
+ '@esbuild/darwin-x64': 0.25.4
+ '@esbuild/freebsd-arm64': 0.25.4
+ '@esbuild/freebsd-x64': 0.25.4
+ '@esbuild/linux-arm': 0.25.4
+ '@esbuild/linux-arm64': 0.25.4
+ '@esbuild/linux-ia32': 0.25.4
+ '@esbuild/linux-loong64': 0.25.4
+ '@esbuild/linux-mips64el': 0.25.4
+ '@esbuild/linux-ppc64': 0.25.4
+ '@esbuild/linux-riscv64': 0.25.4
+ '@esbuild/linux-s390x': 0.25.4
+ '@esbuild/linux-x64': 0.25.4
+ '@esbuild/netbsd-arm64': 0.25.4
+ '@esbuild/netbsd-x64': 0.25.4
+ '@esbuild/openbsd-arm64': 0.25.4
+ '@esbuild/openbsd-x64': 0.25.4
+ '@esbuild/sunos-x64': 0.25.4
+ '@esbuild/win32-arm64': 0.25.4
+ '@esbuild/win32-ia32': 0.25.4
+ '@esbuild/win32-x64': 0.25.4
+
+
@@ -15662,28 +16305,28 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
semver: 7.7.1
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
semver: 7.7.1
dependencies:
- '@eslint/compat': 1.2.8([email protected]([email protected]))
- eslint: 9.25.1([email protected])
+ '@eslint/compat': 1.2.8([email protected]([email protected]))
+ eslint: 9.26.0([email protected])
dependencies:
pathe: 2.0.3
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
prettier-linter-helpers: 1.0.0
@@ -15694,57 +16337,57 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
esquery: 1.6.0
jsonc-eslint-parser: 2.4.0
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
dependencies:
'@es-joy/jsdoccomment': 0.50.0
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.1
- eslint: 9.25.1([email protected])
- eslint-compat-utils: 0.5.1([email protected]([email protected]))
+ eslint: 9.26.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.25.1([email protected])
- eslint-formatting-reporter: 0.0.0([email protected]([email protected]))
+ eslint: 9.26.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.25.1([email protected])
+ eslint: 9.26.0([email protected])
dependencies:
'@pkgr/core': 0.2.2
'@types/doctrine': 0.0.9
- '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
debug: 4.4.0
doctrine: 3.0.0
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
eslint-import-resolver-node: 0.3.9
get-tsconfig: 4.10.0
is-glob: 4.0.3
@@ -15757,14 +16400,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.25.1([email protected])
+ eslint: 9.26.0([email protected])
espree: 10.3.0
esquery: 1.6.0
parse-imports-exports: 0.2.4
@@ -15773,12 +16416,12 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
- eslint: 9.25.1([email protected])
- eslint-compat-utils: 0.6.5([email protected]([email protected]))
- eslint-json-compat-utils: 0.2.1([email protected]([email protected]))([email protected])
+ '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
+ eslint: 9.26.0([email protected])
+ eslint-compat-utils: 0.6.5([email protected]([email protected]))
+ eslint-json-compat-utils: 0.2.1([email protected]([email protected]))([email protected])
espree: 10.3.0
graphemer: 1.4.0
jsonc-eslint-parser: 2.4.0
@@ -15787,43 +16430,43 @@ snapshots:
transitivePeerDependencies:
- '@eslint/json'
dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
enhanced-resolve: 5.18.1
- eslint: 9.25.1([email protected])
- eslint-plugin-es-x: 7.8.0([email protected]([email protected]))
+ eslint: 9.26.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.25.1([email protected])
+ eslint: 9.26.0([email protected])
requireindex: 1.2.0
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
requireindex: 1.2.0
dependencies:
'@typescript-eslint/types': 8.29.1
- '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
- eslint: 9.25.1([email protected])
+ '@typescript-eslint/utils': 8.29.1([email protected]([email protected]))([email protected])
+ eslint: 9.26.0([email protected])
natural-orderby: 5.0.0
transitivePeerDependencies:
- supports-color
- typescript
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
find-up-simple: 1.0.1
jsonc-eslint-parser: 2.4.0
pathe: 2.0.3
@@ -15831,19 +16474,19 @@ snapshots:
tinyglobby: 0.2.12
yaml-eslint-parser: 1.3.0
- dependencies:
- '@eslint-react/core': 1.48.5([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.48.5
- '@eslint-react/shared': 1.48.5([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/type-utils': 8.31.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
- eslint: 9.25.1([email protected])
+ dependencies:
+ '@eslint-react/core': 1.49.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.49.0
+ '@eslint-react/shared': 1.49.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/type-utils': 8.32.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
+ eslint: 9.26.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.7.0
optionalDependencies:
@@ -15851,19 +16494,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.48.5([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.48.5
- '@eslint-react/shared': 1.48.5([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.49.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.49.0
+ '@eslint-react/shared': 1.49.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
compare-versions: 6.1.1
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.7.0
optionalDependencies:
@@ -15871,19 +16514,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.48.5([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.48.5
- '@eslint-react/shared': 1.48.5([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/type-utils': 8.31.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
- eslint: 9.25.1([email protected])
+ dependencies:
+ '@eslint-react/core': 1.49.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.49.0
+ '@eslint-react/shared': 1.49.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/type-utils': 8.32.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
+ eslint: 9.26.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.7.0
optionalDependencies:
@@ -15891,23 +16534,23 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
dependencies:
- '@eslint-react/core': 1.48.5([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.48.5
- '@eslint-react/shared': 1.48.5([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/type-utils': 8.31.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
- eslint: 9.25.1([email protected])
+ '@eslint-react/core': 1.49.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.49.0
+ '@eslint-react/shared': 1.49.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/type-utils': 8.32.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
+ eslint: 9.26.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.7.0
optionalDependencies:
@@ -15915,22 +16558,22 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
dependencies:
- '@eslint-react/core': 1.48.5([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.48.5
- '@eslint-react/shared': 1.48.5([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
- eslint: 9.25.1([email protected])
+ '@eslint-react/core': 1.49.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.49.0
+ '@eslint-react/shared': 1.49.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
+ eslint: 9.26.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.7.0
optionalDependencies:
@@ -15938,21 +16581,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-react/core': 1.48.5([email protected]([email protected]))([email protected])
- '@eslint-react/eff': 1.48.5
- '@eslint-react/shared': 1.48.5([email protected]([email protected]))([email protected])
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/type-utils': 8.31.0([email protected]([email protected]))([email protected])
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
+ dependencies:
+ '@eslint-react/core': 1.49.0([email protected]([email protected]))([email protected])
+ '@eslint-react/eff': 1.49.0
+ '@eslint-react/shared': 1.49.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/scope-manager': 8.32.0
+ '@typescript-eslint/type-utils': 8.32.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/types': 8.32.0
+ '@typescript-eslint/utils': 8.32.0([email protected]([email protected]))([email protected])
compare-versions: 6.1.1
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
string-ts: 2.2.1
ts-pattern: 5.7.0
optionalDependencies:
@@ -15961,7 +16604,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
array-includes: 3.1.8
array.prototype.findlast: 1.2.5
@@ -15969,7 +16612,7 @@ snapshots:
array.prototype.tosorted: 1.1.4
doctrine: 2.1.0
es-iterator-helpers: 1.2.1
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
estraverse: 5.3.0
hasown: 2.0.2
jsx-ast-utils: 3.3.5
@@ -15983,41 +16626,41 @@ snapshots:
string.prototype.matchall: 4.0.12
string.prototype.repeat: 1.0.0
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
tailwindcss: 3.4.17
dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.1
comment-parser: 1.4.1
- eslint: 9.25.1([email protected])
+ eslint: 9.26.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.25.1([email protected])
- eslint-compat-utils: 0.6.5([email protected]([email protected]))
+ eslint: 9.26.0([email protected])
+ eslint-compat-utils: 0.6.5([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.5.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
'@eslint/plugin-kit': 0.2.8
ci-info: 4.2.0
clean-regexp: 1.0.0
core-js-compat: 3.41.0
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
esquery: 1.6.0
globals: 16.0.0
indent-string: 5.0.0
@@ -16030,38 +16673,38 @@ snapshots:
semver: 7.7.1
strip-indent: 4.0.0
dependencies:
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
optionalDependencies:
dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
- eslint: 9.25.1([email protected])
+ '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
+ eslint: 9.26.0([email protected])
natural-compare: 1.4.0
nth-check: 2.1.1
postcss-selector-parser: 6.1.2
semver: 7.7.1
- vue-eslint-parser: 10.1.3([email protected]([email protected]))
+ vue-eslint-parser: 10.1.3([email protected]([email protected]))
xml-name-validator: 4.0.0
dependencies:
debug: 4.4.0
escape-string-regexp: 4.0.0
- eslint: 9.25.1([email protected])
- eslint-compat-utils: 0.6.5([email protected]([email protected]))
+ eslint: 9.26.0([email protected])
+ eslint-compat-utils: 0.6.5([email protected]([email protected]))
natural-compare: 1.4.0
yaml-eslint-parser: 1.3.0
transitivePeerDependencies:
- supports-color
dependencies:
- '@vue/compiler-sfc': 3.4.38
- eslint: 9.25.1([email protected])
+ '@vue/compiler-sfc': 3.5.13
+ eslint: 9.26.0([email protected])
dependencies:
@@ -16084,19 +16727,20 @@ snapshots:
dependencies:
- '@eslint-community/eslint-utils': 4.6.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.7.0([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.1
'@eslint/config-array': 0.20.0
- '@eslint/config-helpers': 0.2.1
+ '@eslint/config-helpers': 0.2.2
'@eslint/core': 0.13.0
'@eslint/eslintrc': 3.3.1
- '@eslint/js': 9.25.1
+ '@eslint/js': 9.26.0
'@eslint/plugin-kit': 0.2.8
'@humanfs/node': 0.16.6
'@humanwhocodes/module-importer': 1.0.1
'@humanwhocodes/retry': 0.4.2
+ '@modelcontextprotocol/sdk': 1.11.0
'@types/estree': 1.0.7
'@types/json-schema': 7.0.15
ajv: 6.12.6
@@ -16121,6 +16765,7 @@ snapshots:
minimatch: 3.1.2
natural-compare: 1.4.0
optionator: 0.9.4
+ zod: 3.24.4
optionalDependencies:
jiti: 2.4.2
transitivePeerDependencies:
@@ -16160,10 +16805,18 @@ snapshots:
+
+
+ dependencies:
+ eventsource-parser: 3.0.1
+
dependencies:
cross-spawn: 7.0.6
@@ -16202,6 +16855,42 @@ snapshots:
+ dependencies:
+ express: 5.1.0
+
+ dependencies:
+ accepts: 2.0.0
+ body-parser: 2.2.0
+ content-disposition: 1.0.0
+ content-type: 1.0.5
+ cookie: 0.7.2
+ cookie-signature: 1.2.2
+ debug: 4.4.0
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ etag: 1.8.1
+ finalhandler: 2.1.0
+ fresh: 2.0.0
+ http-errors: 2.0.0
+ merge-descriptors: 2.0.0
+ mime-types: 3.0.1
+ on-finished: 2.4.1
+ once: 1.4.0
+ parseurl: 1.3.3
+ proxy-addr: 2.0.7
+ qs: 6.14.0
+ range-parser: 1.2.1
+ router: 2.2.0
+ send: 1.2.0
+ serve-static: 2.2.0
+ statuses: 2.0.1
+ type-is: 2.0.1
+ vary: 1.1.2
+ transitivePeerDependencies:
+ - supports-color
+
@@ -16264,6 +16953,17 @@ snapshots:
dependencies:
to-regex-range: 5.0.1
+ dependencies:
+ debug: 4.4.0
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ on-finished: 2.4.1
+ parseurl: 1.3.3
+ statuses: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
commondir: 1.0.1
@@ -16353,12 +17053,16 @@ snapshots:
es-set-tostringtag: 2.1.0
mime-types: 2.1.35
+
dependencies:
trigram-utils: 2.0.1
+
dependencies:
graceful-fs: 4.2.11
@@ -16669,6 +17373,14 @@ snapshots:
domutils: 2.8.0
entities: 2.2.0
+ dependencies:
+ depd: 2.0.0
+ inherits: 2.0.4
+ setprototypeof: 1.2.0
+ statuses: 2.0.1
+ toidentifier: 1.0.1
+
dependencies:
agent-base: 7.1.3
@@ -16779,6 +17491,8 @@ snapshots:
jsbn: 1.1.0
sprintf-js: 1.1.3
+
dependencies:
call-bind: 1.0.7
@@ -16869,10 +17583,10 @@ snapshots:
dependencies:
is-extglob: 2.1.1
dependencies:
- '@typescript-eslint/type-utils': 8.31.0([email protected]([email protected]))([email protected])
- eslint: 9.25.1([email protected])
+ '@typescript-eslint/type-utils': 8.32.0([email protected]([email protected]))([email protected])
+ eslint: 9.26.0([email protected])
ts-api-utils: 2.1.0([email protected])
ts-declaration-location: 1.0.7([email protected])
typescript: 5.8.3
@@ -16924,6 +17638,8 @@ snapshots:
+
dependencies:
call-bound: 1.0.4
@@ -17013,8 +17729,8 @@ snapshots:
dependencies:
- '@babel/core': 7.26.10
- '@babel/parser': 7.27.0
+ '@babel/core': 7.27.1
+ '@babel/parser': 7.27.1
'@istanbuljs/schema': 0.1.3
istanbul-lib-coverage: 3.2.2
semver: 7.7.1
@@ -17374,8 +18090,8 @@ snapshots:
dependencies:
- '@babel/parser': 7.27.0
- '@babel/types': 7.27.0
+ '@babel/parser': 7.27.1
+ '@babel/types': 7.27.1
source-map-js: 1.2.1
@@ -17511,6 +18227,8 @@ snapshots:
dependencies:
'@types/mdast': 4.0.4
+
dependencies:
fs-monkey: 1.0.6
@@ -17523,6 +18241,8 @@ snapshots:
+
@@ -17729,6 +18449,8 @@ snapshots:
+
dependencies:
mime-db: 1.33.0
@@ -17737,6 +18459,10 @@ snapshots:
dependencies:
mime-db: 1.52.0
+ dependencies:
+ mime-db: 1.54.0
+
optional: true
@@ -17829,6 +18555,8 @@ snapshots:
+
@@ -17921,6 +18649,10 @@ snapshots:
+ dependencies:
+ ee-first: 1.1.1
+
@@ -18127,6 +18859,8 @@ snapshots:
dependencies:
entities: 4.5.0
+
dependencies:
no-case: 3.0.4
@@ -18161,6 +18895,8 @@ snapshots:
+
@@ -18186,6 +18922,8 @@ snapshots:
+
dependencies:
find-up: 4.1.0
@@ -18545,9 +19283,9 @@ snapshots:
picocolors: 1.1.1
source-map-js: 1.2.1
dependencies:
- axios: 1.8.4
+ axios: 1.9.0
transitivePeerDependencies:
- debug
@@ -18572,6 +19310,12 @@ snapshots:
ansi-styles: 5.2.0
react-is: 17.0.2
+ dependencies:
+ '@types/prismjs': 1.26.5
+ clsx: 2.1.1
+ react: 19.0.0
+
@@ -18594,11 +19338,16 @@ snapshots:
'@protobufjs/path': 1.1.2
'@protobufjs/pool': 1.1.0
'@protobufjs/utf8': 1.1.0
- '@types/node': 22.15.3
+ '@types/node': 22.15.11
long: 5.3.2
+ dependencies:
+ forwarded: 0.2.0
+ ipaddr.js: 1.9.1
+
dependencies:
agent-base: 7.1.3
@@ -18649,6 +19398,13 @@ snapshots:
+ dependencies:
+ bytes: 3.1.2
+ http-errors: 2.0.0
+ iconv-lite: 0.6.3
+ unpipe: 1.0.0
+
dependencies:
quickselect: 3.0.0
@@ -18771,26 +19527,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
@@ -18799,7 +19555,7 @@ snapshots:
hoist-non-react-statics: 3.3.2
react: 19.0.0
optionalDependencies:
- '@types/node': 22.15.3
+ '@types/node': 22.15.11
'@types/react': 19.1.2
@@ -18850,7 +19606,7 @@ snapshots:
dependencies:
classnames: 2.5.1
immutability-helper: 3.1.1
@@ -18858,9 +19614,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:
@@ -19144,6 +19900,16 @@ snapshots:
'@rollup/rollup-win32-x64-msvc': 4.40.1
fsevents: 2.3.3
+ dependencies:
+ debug: 4.4.0
+ depd: 2.0.0
+ is-promise: 4.0.0
+ parseurl: 1.3.3
+ path-to-regexp: 8.2.0
+ transitivePeerDependencies:
+ - supports-color
+
@@ -19234,6 +20000,22 @@ snapshots:
+ dependencies:
+ debug: 4.4.0
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ etag: 1.8.1
+ fresh: 2.0.0
+ http-errors: 2.0.0
+ mime-types: 3.0.1
+ ms: 2.1.3
+ on-finished: 2.4.1
+ range-parser: 1.2.1
+ statuses: 2.0.1
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
randombytes: 2.1.0
@@ -19248,6 +20030,15 @@ snapshots:
path-to-regexp: 3.3.0
range-parser: 1.2.0
+ dependencies:
+ encodeurl: 2.0.0
+ escape-html: 1.0.3
+ parseurl: 1.3.3
+ send: 1.2.0
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@zeit/schemas': 2.36.0
@@ -19286,6 +20077,8 @@ snapshots:
es-errors: 1.3.0
es-object-atoms: 1.1.1
+
dependencies:
shebang-regex: 3.0.0
@@ -19412,6 +20205,8 @@ snapshots:
+
@@ -19601,9 +20396,12 @@ snapshots:
dependencies:
+ prism-react-renderer: 2.4.1([email protected])
tailwindcss: 3.4.17
+ transitivePeerDependencies:
+ - react
dependencies:
@@ -19717,6 +20515,8 @@ snapshots:
dependencies:
is-number: 7.0.0
+
dependencies:
eslint-visitor-keys: 3.4.3
@@ -19819,6 +20619,12 @@ snapshots:
+ dependencies:
+ content-type: 1.0.5
+ media-typer: 1.1.0
+ mime-types: 3.0.1
+
dependencies:
call-bound: 1.0.4
@@ -19909,6 +20715,8 @@ snapshots:
+
dependencies:
acorn: 8.14.1
@@ -19938,6 +20746,12 @@ snapshots:
escalade: 3.2.0
picocolors: 1.1.1
+ dependencies:
+ browserslist: 4.24.5
+ escalade: 3.2.0
+ picocolors: 1.1.1
+
dependencies:
registry-auth-token: 3.3.2
@@ -19989,7 +20803,7 @@ snapshots:
optionalDependencies:
'@types/react': 19.1.2
dependencies:
react: 19.0.0
@@ -20021,13 +20835,13 @@ snapshots:
dependencies:
cac: 6.7.14
debug: 4.4.0
es-module-lexer: 1.7.0
pathe: 2.0.3
transitivePeerDependencies:
- '@types/node'
- jiti
@@ -20042,9 +20856,30 @@ snapshots:
- tsx
- yaml
dependencies:
- '@microsoft/api-extractor': 7.51.1(@types/[email protected])
+ cac: 6.7.14
+ debug: 4.4.0
+ es-module-lexer: 1.7.0
+ pathe: 2.0.3
+ transitivePeerDependencies:
+ - '@types/node'
+ - jiti
+ - less
+ - lightningcss
+ - sass
+ - sass-embedded
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
+ - tsx
+ - yaml
+
+ dependencies:
+ '@microsoft/api-extractor': 7.51.1(@types/[email protected])
'@rollup/pluginutils': 5.1.4([email protected])
'@volar/typescript': 2.4.11
'@vue/language-core': 2.2.0([email protected])
@@ -20055,7 +20890,7 @@ snapshots:
magic-string: 0.30.17
typescript: 5.8.3
optionalDependencies:
transitivePeerDependencies:
- '@types/node'
- rollup
@@ -20069,9 +20904,27 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- esbuild: 0.25.3
+ esbuild: 0.25.4
+ fdir: 6.4.4([email protected])
+ picomatch: 4.0.2
+ postcss: 8.5.3
+ rollup: 4.40.1
+ tinyglobby: 0.2.13
+ optionalDependencies:
+ '@types/node': 22.15.11
+ fsevents: 2.3.3
+ jiti: 2.4.2
+ less: 4.3.0
+ sass: 1.77.5
+ terser: 5.39.0
+ tsx: 4.19.4
+ yaml: 2.7.1
+
+ dependencies:
+ esbuild: 0.25.4
fdir: 6.4.4([email protected])
picomatch: 4.0.2
postcss: 8.5.3
@@ -20087,15 +20940,15 @@ snapshots:
tsx: 4.19.4
yaml: 2.7.1
dependencies:
- '@vitest/expect': 3.1.2
- '@vitest/pretty-format': 3.1.2
- '@vitest/runner': 3.1.2
- '@vitest/snapshot': 3.1.2
- '@vitest/spy': 3.1.2
- '@vitest/utils': 3.1.2
+ '@vitest/expect': 3.1.3
+ '@vitest/pretty-format': 3.1.3
+ '@vitest/runner': 3.1.3
+ '@vitest/snapshot': 3.1.3
+ '@vitest/spy': 3.1.3
+ '@vitest/utils': 3.1.3
chai: 5.2.0
debug: 4.4.0
expect-type: 1.2.1
@@ -20107,8 +20960,50 @@ snapshots:
tinyglobby: 0.2.13
tinypool: 1.0.2
tinyrainbow: 2.0.0
+ why-is-node-running: 2.3.0
+ optionalDependencies:
+ '@types/debug': 4.1.12
+ '@types/node': 22.15.11
+ happy-dom: 17.4.4
+ jsdom: 24.1.1
+ transitivePeerDependencies:
+ - jiti
+ - less
+ - lightningcss
+ - msw
+ - sass
+ - sass-embedded
+ - stylus
+ - sugarss
+ - supports-color
+ - terser
+ - tsx
+ - yaml
+
+ dependencies:
+ '@vitest/expect': 3.1.3
+ '@vitest/pretty-format': 3.1.3
+ '@vitest/runner': 3.1.3
+ '@vitest/snapshot': 3.1.3
+ '@vitest/spy': 3.1.3
+ '@vitest/utils': 3.1.3
+ chai: 5.2.0
+ debug: 4.4.0
+ expect-type: 1.2.1
+ magic-string: 0.30.17
+ pathe: 2.0.3
+ std-env: 3.9.0
+ tinybench: 2.9.0
+ tinyexec: 0.3.2
+ tinyglobby: 0.2.13
+ tinypool: 1.0.2
+ tinyrainbow: 2.0.0
why-is-node-running: 2.3.0
optionalDependencies:
'@types/debug': 4.1.12
@@ -20142,10 +21037,10 @@ snapshots:
dependencies:
debug: 4.4.0
- eslint: 9.25.1([email protected])
+ eslint: 9.26.0([email protected])
eslint-scope: 8.3.0
eslint-visitor-keys: 4.2.0
espree: 10.3.0
@@ -20155,13 +21050,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@vue/compiler-dom': 3.4.38
- '@vue/compiler-sfc': 3.4.38
- '@vue/runtime-dom': 3.4.38
- '@vue/server-renderer': 3.4.38([email protected]([email protected]))
- '@vue/shared': 3.4.38
+ '@vue/compiler-dom': 3.5.13
+ '@vue/compiler-sfc': 3.5.13
+ '@vue/runtime-dom': 3.5.13
+ '@vue/server-renderer': 3.5.13([email protected]([email protected]))
+ '@vue/shared': 3.5.13
optionalDependencies:
typescript: 5.8.3
@@ -20401,9 +21296,15 @@ snapshots:
+ dependencies:
+ zod: 3.24.4
+
+
dependencies:
- use-sync-external-store: 1.2.0([email protected])
+ use-sync-external-store: 1.5.0([email protected])
optionalDependencies:
'@types/react': 19.1.2
react: 19.0.0
diff --git a/tests/formula-integration/package.json b/tests/formula-integration/package.json
index 616a7bbd23..4087092df4 100644
--- a/tests/formula-integration/package.json
+++ b/tests/formula-integration/package.json
@@ -26,6 +26,6 @@
"devDependencies": {
"@univerjs-infra/shared": "workspace:*",
"typescript": "^5.8.3",
- "vitest": "^3.1.2"
+ "vitest": "^3.1.3"
}
}