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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: add React version manager and support for React 16 in examples (#4811)
白熱4a5d19d89f0e
diff --git a/.github/workflows/playwright.yml b/.github/workflows/e2e.ymlsimilarity index 100%rename from .github/workflows/playwright.ymlrename to .github/workflows/e2e.ymldiff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.ymlindex 04707f66a5..e881a14661 100644--- a/.github/workflows/preview-deploy.yml+++ b/.github/workflows/preview-deploy.yml@@ -133,6 +133,15 @@ jobs:mkdir .workspacecp -r ./examples/local/* .workspace+ - name: 📦 Build react16 demo+ run: |+ pnpm use:react16+ pnpm build:demo++ - name: Copy demo to workspace+ run: |+ cp -r ./examples/local/* .workspace/react16+- name: 🚀 Deploy to Vercel (demo)uses: amondnet/vercel-action@v25if: ${{ needs.setup.outputs.ref == '' }}@@ -208,28 +217,6 @@ jobs:needs: [setup, build-demo, build-storybook]steps:- - name: Invoke deployment hook- uses: distributhor/workflow-webhook@v3- with:- webhook_url: ${{ secrets.WEBHOOK_URL }}- data: >- {- "type": "build",- "workflow": {- "id": "${{ github.run_id }}"- },- "commit": {- "ref": "${{ needs.setup.outputs.ref }}",- "message": "${{ needs.build-demo.outputs.commit-message }}",- "id": "${{ github.event.workflow_run.head_commit.id }}",- "author": "${{ github.event.workflow_run.head_commit.author.name }}"- },- "preview": {- "📑 Examples": "${{ needs.build-demo.outputs.preview-url }}/",- "📚 Storybook": "${{ needs.build-storybook.outputs.preview-url }}/"- }- }-# ================= Create Comment =================- name: 🧽 Find And Delete Commentuses: peter-evans/find-comment@v2@@ -248,7 +235,7 @@ jobs:issue-number: ${{ needs.setup.outputs.id }}body: |## View Deployment- | 📑 Examples | 📚 Storybook |+ | 📑 Demo (React@19) | Demo (React@16) | 📚 Storybook || --- | --- |- | [🔗 Preview link](${{ needs.build-demo.outputs.preview-url }}/) | [🔗 Preview link](${{ needs.build-storybook.outputs.preview-url }}/) |+ | [🔗 Preview link](${{ needs.build-demo.outputs.preview-url }}/) | [🔗 Preview link](${{ needs.build-demo.outputs.preview-url }}/react16/) | [🔗 Preview link](${{ needs.build-storybook.outputs.preview-url }}/) |edit-mode: replacediff --git a/examples/esbuild.config.ts b/examples/esbuild.config.tsindex 4232b610dc..5ba1d0052e 100644--- a/examples/esbuild.config.ts+++ b/examples/esbuild.config.ts@@ -18,8 +18,10 @@ import type { BuildOptions, Plugin, SameShape } from 'esbuild';import { execSync } from 'node:child_process';import path from 'node:path';import process from 'node:process';+import { fileURLToPath } from 'node:url';import detect from 'detect-port';import esbuild from 'esbuild';+import aliasPlugin from 'esbuild-plugin-alias';import cleanPlugin from 'esbuild-plugin-clean';import copyPlugin from 'esbuild-plugin-copy';import vue from 'esbuild-plugin-vue3';@@ -27,13 +29,17 @@ import stylePlugin from 'esbuild-style-plugin';import glob from 'fast-glob';import fs from 'fs-extra';import minimist from 'minimist';+import React from 'react';import tailwindcss from 'tailwindcss';+const __dirname = path.dirname(fileURLToPath(import.meta.url));+const LINK_TO_LIB = process.env.LINK_TO_LIB === 'true';const nodeModules = path.resolve(process.cwd(), './node_modules');const args = minimist(process.argv.slice(2));const isE2E = !!args.e2e;+const isReact16 = React.version.startsWith('16');// User should also config their bundler to build monaco editor's resources for web worker.const monacoEditorEntryPoints = [@@ -286,6 +292,14 @@ const config: SameShape<BuildOptions, BuildOptions> = {alias: LINK_TO_LIB ? generateAliases() : {},};+if (isReact16) {+ config.plugins?.push(+ aliasPlugin({+ 'react-dom/client': path.resolve(__dirname, './src/client.ts'),+ })+ );+}+/*** Build the project*/diff --git a/examples/package.json b/examples/package.jsonindex 8f87d5380b..406d381c43 100644--- a/examples/package.json+++ b/examples/package.json@@ -87,6 +87,7 @@"cross-env": "^7.0.3","detect-port": "^2.1.0","esbuild": "^0.25.0",+ "esbuild-plugin-alias": "^0.2.1","esbuild-plugin-clean": "^1.0.1","esbuild-plugin-copy": "^2.1.1","esbuild-plugin-vue3": "^0.4.2",diff --git a/examples/src/client.ts b/examples/src/client.tsnew file mode 100644index 0000000000..77d92f962e--- /dev/null+++ b/examples/src/client.ts@@ -0,0 +1,26 @@+/**+ * Copyright 2023-present DreamNum Co., Ltd.+ *+ * Licensed under the Apache License, Version 2.0 (the "License");+ * you may not use this file except in compliance with the License.+ * You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++// @ts-nocheck+import ReactDOM from 'react-dom';++export function createRoot(container: HTMLElement) {+ return {+ render: (element: JSX.Element) => {+ ReactDOM.render(element, container);+ },+ };+}diff --git a/package.json b/package.jsonindex fe80d91b02..a74c1f13f1 100644--- a/package.json+++ b/package.json@@ -28,6 +28,8 @@"dev": "turbo dev:demo -- --host 0.0.0.0","dev:libs": "pnpm --filter univer-examples dev:demo-libs","dev:e2e": "pnpm --filter univer-examples dev:e2e",+ "use:react16": "tsx ./scripts/react-version-manager.ts --react=16",+ "use:react19": "tsx ./scripts/react-version-manager.ts --react=19","lint:types": "turbo lint:types","test": "turbo test -- --passWithNoTests","coverage": "turbo coverage -- --passWithNoTests",@@ -52,6 +54,7 @@"@release-it-plugins/workspaces": "^4.2.0","@release-it/conventional-changelog": "^9.0.4","@storybook/react": "8.6.4",+ "@types/fs-extra": "^11.0.4","@types/node": "^22.13.10","@types/react": "^19.0.10","@types/react-dom": "^19.0.4",@@ -67,6 +70,7 @@"eslint-plugin-react": "^7.37.4","eslint-plugin-react-hooks": "5.2.0","eslint-plugin-react-refresh": "^0.4.19",+ "fs-extra": "^11.3.0","husky": "^9.1.7","lint-staged": "^15.4.3","posthog-node": "^4.10.1",@@ -85,10 +89,10 @@]},"resolutions": {- "@types/react": "^19.0.8",- "@types/react-dom": "^19.0.3",- "react": "19.0.0",- "react-dom": "19.0.0"+ "@types/react": "19",+ "@types/react-dom": "19",+ "react": "19",+ "react-dom": "19"},"lint-staged": {"*": "eslint --fix"diff --git a/packages/sheets-conditional-formatting-ui/src/components/panel/rule-list/index.tsx b/packages/sheets-conditional-formatting-ui/src/components/panel/rule-list/index.tsxindex afe0257187..c6eeaeedf7 100644--- a/packages/sheets-conditional-formatting-ui/src/components/panel/rule-list/index.tsx+++ b/packages/sheets-conditional-formatting-ui/src/components/panel/rule-list/index.tsx@@ -16,23 +16,32 @@import type { IRange, Workbook } from '@univerjs/core';import type { IConditionFormattingRule, IDeleteCfCommandParams, IMoveCfCommandParams } from '@univerjs/sheets-conditional-formatting';-import { ICommandService, Injector, IUniverInstanceService, LocaleService, Rectangle, UniverInstanceType } from '@univerjs/core';-import { Select, Tooltip } from '@univerjs/design';+import { clsx, Select, Tooltip } from '@univerjs/design';import { serializeRange } from '@univerjs/engine-formula';import { DeleteSingle, IncreaseSingle, SequenceSingle } from '@univerjs/icons';import { checkRangesEditablePermission, SetSelectionsOperation, SetWorksheetActiveOperation, SheetsSelectionsService } from '@univerjs/sheets';-import { AddConditionalRuleMutation, CFRuleType, CFSubRuleType, ClearWorksheetCfCommand, ConditionalFormattingRuleModel, DeleteCfCommand, DeleteConditionalRuleMutation, MoveCfCommand, MoveConditionalRuleMutation, SetConditionalRuleMutation } from '@univerjs/sheets-conditional-formatting';+import {+ AddConditionalRuleMutation,+ CFRuleType,+ CFSubRuleType,+ ClearWorksheetCfCommand,+ ConditionalFormattingRuleModel,+ DeleteCfCommand,+ DeleteConditionalRuleMutation,+ MoveCfCommand,+ MoveConditionalRuleMutation,+ SetConditionalRuleMutation,+} from '@univerjs/sheets-conditional-formatting';import { useHighlightRange } from '@univerjs/sheets-ui';-import { useDependency, useObservable } from '@univerjs/ui';-import React, { useEffect, useMemo, useRef, useState } from 'react';+import { ISidebarService, useDependency, useObservable } from '@univerjs/ui';+import { useEffect, useMemo, useRef, useState } from 'react';import GridLayout from 'react-grid-layout';import { debounceTime, Observable } from 'rxjs';import { ConditionalFormattingI18nController } from '../../../controllers/cf.i18n.controller';import { Preview } from '../../preview';import styles from './index.module.less';import 'react-grid-layout/css/styles.css';-import 'react-resizable/css/styles.css';interface IRuleListProps {@@ -98,6 +107,7 @@ const getRuleDescribe = (rule: IConditionFormattingRule, localeService: LocaleSe}}};+let defaultWidth = 0;export const RuleList = (props: IRuleListProps) => {const { onClick } = props;@@ -107,6 +117,7 @@ export const RuleList = (props: IRuleListProps) => {const commandService = useDependency(ICommandService);const localeService = useDependency(LocaleService);const injector = useDependency(Injector);+ const sidebarService = useDependency(ISidebarService);const conditionalFormattingI18nController = useDependency(ConditionalFormattingI18nController);@@ -120,10 +131,10 @@ export const RuleList = (props: IRuleListProps) => {const subUnitId = worksheet.getSheetId();const [currentRuleRanges, currentRuleRangesSet] = useState<IRange[]>([]);- const [selectValue, selectValueSet] = useState('2');- const [fetchRuleListId, fetchRuleListIdSet] = useState(0);- const [draggingId, draggingIdSet] = useState<number>(-1);- const [layoutWidth, layoutWidthSet] = useState(defaultWidth);+ const [selectValue, setSelectValue] = useState('2');+ const [fetchRuleListId, setFetchRuleListId] = useState(0);+ const [draggingId, setDraggingId] = useState<number>(-1);+ const [layoutWidth, setLayoutWidth] = useState(defaultWidth);const layoutContainerRef = useRef<HTMLDivElement>(null);const selectOption = [@@ -159,7 +170,7 @@ export const RuleList = (props: IRuleListProps) => {useEffect(() => {const disposable = commandService.onCommandExecuted((commandInfo) => {if (commandInfo.id === SetWorksheetActiveOperation.id) {- fetchRuleListIdSet(Math.random());+ setFetchRuleListId(Math.random());}});return () => disposable.dispose();@@ -178,7 +189,7 @@ export const RuleList = (props: IRuleListProps) => {const commandList = [SetSelectionsOperation.id, AddConditionalRuleMutation.id, SetConditionalRuleMutation.id, DeleteConditionalRuleMutation.id, MoveConditionalRuleMutation.id];const disposable = commandService.onCommandExecuted((commandInfo) => {const { id, params } = commandInfo;- const unitId = univerInstanceService.getCurrentUnitForType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getUnitId();+ const unitId = univerInstanceService.getCurrentUnitOfType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getUnitId();if (commandList.includes(id) && (params as { unitId: string }).unitId === unitId) {commandSubscribe.next(null);}@@ -194,7 +205,7 @@ export const RuleList = (props: IRuleListProps) => {useEffect(() => {const dispose = conditionalFormattingRuleModel.$ruleChange.subscribe(() => {- fetchRuleListIdSet(Math.random());+ setFetchRuleListId(Math.random());});return () => dispose.unsubscribe();}, [conditionalFormattingRuleModel]);@@ -204,12 +215,12 @@ export const RuleList = (props: IRuleListProps) => {// Also set a global width as the default width to avoid a gap before the first calculation.const getWidth = () => {// 8 is padding-left- const width = Math.max(0, (layoutContainerRef.current?.getBoundingClientRect().width || 0) - 8);+ const width = Math.max(0, (layoutContainerRef.current?.getBoundingClientRect().width ?? 0) - 8);defaultWidth = width;return width;};const observer = new Observable((subscribe) => {- const targetElement = document.querySelector('.univer-sidebar');+ const targetElement = sidebarService.getContainer();if (targetElement) {let time = setTimeout(() => {subscribe.next();@@ -232,7 +243,7 @@ export const RuleList = (props: IRuleListProps) => {}});const subscription = observer.pipe(debounceTime(16)).subscribe(() => {- layoutWidthSet(getWidth());+ setLayoutWidth(getWidth());});return () => {subscription.unsubscribe();@@ -240,8 +251,8 @@ export const RuleList = (props: IRuleListProps) => {}, []);const handleDelete = (rule: IConditionFormattingRule) => {- const unitId = univerInstanceService.getCurrentUnitForType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getUnitId();- const subUnitId = univerInstanceService.getCurrentUnitForType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getActiveSheet()?.getSheetId();+ const unitId = univerInstanceService.getCurrentUnitOfType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getUnitId();+ const subUnitId = univerInstanceService.getCurrentUnitOfType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getActiveSheet()?.getSheetId();if (!unitId || !subUnitId) {throw new Error('No active sheet found');}@@ -249,13 +260,13 @@ export const RuleList = (props: IRuleListProps) => {};const handleDragStart = (_layout: unknown, from: { y: number }) => {- draggingIdSet(from.y);+ setDraggingId(from.y);};const handleDragStop = (_layout: unknown, from: { y: number }, to: { y: number }) => {- draggingIdSet(-1);- const unitId = univerInstanceService.getCurrentUnitForType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getUnitId();- const subUnitId = univerInstanceService.getCurrentUnitForType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getActiveSheet()?.getSheetId();+ setDraggingId(-1);+ const unitId = univerInstanceService.getCurrentUnitOfType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getUnitId();+ const subUnitId = univerInstanceService.getCurrentUnitOfType<Workbook>(UniverInstanceType.UNIVER_SHEET)!.getActiveSheet()?.getSheetId();if (!unitId || !subUnitId) {throw new Error('No active sheet found');}@@ -286,7 +297,7 @@ export const RuleList = (props: IRuleListProps) => {}};const ruleListByPermissionCheck = useMemo(() => {- const workbook = univerInstanceService.getCurrentUnitForType<Workbook>(UniverInstanceType.UNIVER_SHEET)!;+ const workbook = univerInstanceService.getCurrentUnitOfType<Workbook>(UniverInstanceType.UNIVER_SHEET)!;const worksheet = workbook.getActiveSheet();return ruleList.filter((rule) => {const ranges = rule.ranges;@@ -298,7 +309,7 @@ export const RuleList = (props: IRuleListProps) => {const layout = ruleListByPermissionCheck.map((rule, index) => ({ i: rule.cfId, x: 0, w: 12, y: index, h: 1, isResizable: false }));const isHasAllRuleEditPermission = useMemo(() => {- const workbook = univerInstanceService.getCurrentUnitForType<Workbook>(UniverInstanceType.UNIVER_SHEET)!;+ const workbook = univerInstanceService.getCurrentUnitOfType<Workbook>(UniverInstanceType.UNIVER_SHEET)!;const worksheet = workbook.getActiveSheet();return ruleList.every((rule) => {const ranges = rule.ranges;@@ -311,15 +322,20 @@ export const RuleList = (props: IRuleListProps) => {<div className={styles.cfRuleList}><div className={styles.ruleSelector}><div>- {conditionalFormattingI18nController.tWithReactNode('sheet.cf.panel.managerRuleSelect', <Select className={styles.select} options={selectOption} value={selectValue} onChange={(v) => { selectValueSet(v); }} />)- .map((ele, index) => <span key={index}>{ele}</span>)}+ {conditionalFormattingI18nController.tWithReactNode(+ 'sheet.cf.panel.managerRuleSelect',+ <Select+ className={styles.select}+ options={selectOption}+ value={selectValue}+ onChange={(v) => { setSelectValue(v); }}+ />+ ).map((ele, index) => <span key={index}>{ele}</span>)}</div><div className={styles.btnList}><Tooltip title={localeService.t('sheet.cf.panel.createRule')} placement="bottom"><div- className={`- ${styles.icon}- `}+ className={styles.icon}onClick={handleCreate}><IncreaseSingle />@@ -329,10 +345,7 @@ export const RuleList = (props: IRuleListProps) => {? (<Tooltip title={localeService.t('sheet.cf.panel.clear')} placement="bottom"><div- className={`- ${styles.gap}- ${styles.icon}- `}+ className={clsx(styles.gap, styles.icon)}onClick={handleClear}><DeleteSingle />@@ -340,12 +353,7 @@ export const RuleList = (props: IRuleListProps) => {</Tooltip>): (- <div- className={`- ${styles.gap}- ${styles.disabled}- `}- >+ <div className={clsx(styles.gap, styles.disabled)}><DeleteSingle /></div>)}@@ -357,19 +365,22 @@ export const RuleList = (props: IRuleListProps) => {{layoutWidth? (<GridLayout- onDragStop={handleDragStop}- onDragStart={handleDragStart}+ draggableHandle=".draggableHandle"layout={layout}cols={12}rowHeight={60}width={layoutWidth}margin={[0, 10]}- draggableHandle=".draggableHandle"+ onDragStop={handleDragStop}+ onDragStart={handleDragStart}>{ruleListByPermissionCheck?.map((rule, index) => {return (<div key={`${rule.cfId}`}><div+ className={clsx(styles.ruleItem, {+ [styles.active]: draggingId === index,+ })}onMouseMove={() => {rule.ranges !== currentRuleRanges && currentRuleRangesSet(rule.ranges);}}@@ -377,30 +388,28 @@ export const RuleList = (props: IRuleListProps) => {onClick={() => {onClick(rule);}}- className={`- ${styles.ruleItem}- ${draggingId === index ? styles.active : ''}- `}><div- className={`- ${styles.draggableHandle}- draggableHandle- `}+ className={clsx(styles.draggableHandle, 'draggableHandle')}onClick={(e) => e.stopPropagation()}><SequenceSingle /></div><div className={styles.ruleDescribe}>- <div className={styles.ruleType}>{getRuleDescribe(rule, localeService)}</div>- <div className={styles.ruleRange}>{rule.ranges.map((range) => serializeRange(range)).join(',')}</div>+ <div className={styles.ruleType}>+ {getRuleDescribe(rule, localeService)}+ </div>+ <div className={styles.ruleRange}>+ {rule.ranges.map((range) => serializeRange(range)).join(',')}+ </div>+ </div>+ <div className={styles.preview}>+ <Preview rule={rule.rule} /></div>- <div className={styles.preview}><Preview rule={rule.rule} /></div><div- className={`- ${styles.deleteItem}- ${draggingId === index ? styles.active : ''}- `}+ className={clsx(styles.deleteItem, {+ [styles.active]: draggingId === index,+ })}onClick={(e) => {e.stopPropagation();handleDelete(rule);@@ -416,7 +425,6 @@ export const RuleList = (props: IRuleListProps) => {</GridLayout>): null}-</div></div>);diff --git a/packages/ui/src/services/sidebar/desktop-sidebar.service.ts b/packages/ui/src/services/sidebar/desktop-sidebar.service.tsindex d4b4377b4a..798bbf2853 100644--- a/packages/ui/src/services/sidebar/desktop-sidebar.service.ts+++ b/packages/ui/src/services/sidebar/desktop-sidebar.service.ts@@ -26,7 +26,7 @@ export class DesktopSidebarService implements ISidebarService {readonly scrollEvent$ = new Subject<Event>();- private container?: HTMLElement;+ private _container?: HTMLElement;get visible(): boolean {return this._sidebarOptions.visible || false;@@ -63,10 +63,10 @@ export class DesktopSidebarService implements ISidebarService {}getContainer() {- return this.container;+ return this._container;}setContainer(element: HTMLElement) {- this.container = element;+ this._container = element;}}diff --git a/packages/ui/src/views/components/sidebar/Sidebar.tsx b/packages/ui/src/views/components/sidebar/Sidebar.tsxindex d52b0e1575..bba9c3bf9e 100644--- a/packages/ui/src/views/components/sidebar/Sidebar.tsx+++ b/packages/ui/src/views/components/sidebar/Sidebar.tsx@@ -58,10 +58,10 @@ export function Sidebar() {const k = key as keyof ISidebarMethodOptions;if (sidebarOptions[k]) {- const props = sidebarOptions[k] as any;+ const { key, ...props } = sidebarOptions[k] as any;if (props) {- (copy as any)[k] = <CustomLabel {...props} />;+ (copy as any)[k] = <CustomLabel key={key} {...props} />;}}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e0a3a653b3..ccf6779f3b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -5,10 +5,10 @@ settings:excludeLinksFromLockfile: falseoverrides:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'importers:@@ -38,14 +38,17 @@ importers:'@storybook/react':specifier: 8.6.4version: 8.6.4([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])+ '@types/fs-extra':+ specifier: ^11.0.4+ version: 11.0.4'@types/node':specifier: ^22.13.10version: 22.13.10'@types/react':- specifier: ^19.0.8+ specifier: '19'version: 19.0.8'@types/react-dom':- specifier: ^19.0.3+ specifier: '19'version: 19.0.4(@types/[email protected])'@univerjs-infra/shared':specifier: workspace:*@@ -83,6 +86,9 @@ importers:eslint-plugin-react-refresh:specifier: ^0.4.19version: 0.4.19([email protected]([email protected]))+ fs-extra:+ specifier: ^11.3.0+ version: 11.3.0husky:specifier: ^9.1.7version: 9.1.7@@ -93,10 +99,10 @@ importers:specifier: ^4.10.1version: 4.10.1react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0react-dom:- specifier: 19.0.0+ specifier: '19'version: 19.0.0([email protected])release-it:specifier: ^17.11.0@@ -455,10 +461,10 @@ importers:specifier: 0.52.2version: 0.52.2react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0react-dom:- specifier: 19.0.0+ specifier: '19'version: 19.0.0([email protected])react-mosaic-component:specifier: ^6.1.1@@ -479,6 +485,9 @@ importers:esbuild:specifier: ^0.25.0version: 0.25.0+ esbuild-plugin-alias:+ specifier: ^0.2.1+ version: 0.2.1esbuild-plugin-clean:specifier: ^1.0.1version: 1.0.1([email protected])@@ -605,7 +614,7 @@ importers:specifier: ^4.2.2version: 4.2.2react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -663,7 +672,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -821,7 +830,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -879,7 +888,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -931,7 +940,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -989,10 +998,10 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0react-dom:- specifier: 19.0.0+ specifier: '19'version: 19.0.0([email protected])rxjs:specifier: ^7.8.1@@ -1181,10 +1190,10 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0react-dom:- specifier: 19.0.0+ specifier: '19'version: 19.0.0([email protected])tailwindcss:specifier: ^3.4.17@@ -1292,7 +1301,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -1363,7 +1372,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -1409,7 +1418,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -1461,7 +1470,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -1522,7 +1531,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -1596,7 +1605,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -1734,7 +1743,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -1928,7 +1937,7 @@ importers:specifier: workspace:*version: link:../uireact-dom:- specifier: 19.0.0+ specifier: '19'version: 19.0.0([email protected])react-grid-layout:specifier: ^1.4.4@@ -1950,7 +1959,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -1999,7 +2008,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2112,7 +2121,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2204,7 +2213,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2296,7 +2305,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2428,7 +2437,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2551,7 +2560,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2643,7 +2652,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2723,7 +2732,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2812,7 +2821,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2879,7 +2888,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -2937,7 +2946,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -3017,7 +3026,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -3110,7 +3119,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -3165,10 +3174,10 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0react-dom:- specifier: 19.0.0+ specifier: '19'version: 19.0.0([email protected])rxjs:specifier: ^7.8.1@@ -3224,7 +3233,7 @@ importers:specifier: ^8.5.3version: 8.5.3react:- specifier: 19.0.0+ specifier: '19'version: 19.0.0rxjs:specifier: ^7.8.1@@ -4172,8 +4181,8 @@ packages:'@floating-ui/[email protected]':resolution: {integrity: sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19''@floating-ui/[email protected]':resolution: {integrity: sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==}@@ -4265,8 +4274,8 @@ packages:'@mdx-js/[email protected]':resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19''@microsoft/[email protected]':resolution: {integrity: sha512-yEAvq0F78MmStXdqz9TTT4PZ05Xu5R8nqgwI5xmUmQjWBQ9E6R2n8HB/iZMRciG4rf9iwI2mtuQwIzDXBvHn1w==}@@ -4406,10 +4415,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-G+KcpzXHq24iH0uGG/pF8LyzpFJYGD4RfLjCIBfGdSLXvjLHST31RUiRVrupIBMvIppMgSzQ6l66iAxl03tdlg==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4419,10 +4428,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-9z54IEKRxIa9VityapoEYMuByaG42iSy1ZXlY2KcuLSEtq8x4987/N6m15ppoMffgZX72gER2uHe1D9Y6Unlcw==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4432,8 +4441,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-Y9VzoRDSJtgFMUCoiZBDVo084VQ5hfpXxVE+NgkdNsjiDBByiImMZKKhxMwCbdHvhlENG6a833CbFkOQvTricw==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4441,8 +4450,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4450,8 +4459,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4459,10 +4468,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-E4TywXY6UsXNRhFrECa5HAvE5/4BFcGyfTyK36gP+pAW1ed7UTK4vKwdr53gAJYwqbfCWC6ATvJa3J3R/9+Qrg==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4472,10 +4481,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-no3X7V5fD487wab/ZYSHXq3H37u4NVeLDKI/Ks724X/eEFSSEFYZxWgsIlr1UBeEyDaM29HM5x9p1Nv8DuTYPA==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4485,8 +4494,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4494,10 +4503,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-zxwE80FCU7lcXUGWkdt6XpTTCKPitG1XKOwViTxHVKIJhZl9MvIl2dVHeZENCWD9+EdWv05wlaEkRXUykU27RA==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4507,8 +4516,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4516,10 +4525,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-tBBb5CXDJW3t2mo9WlO7r6GTmWV0F0uzHZVFmlRmYpiSK1CDU5IKojP1pm7oknpBOrFZx/YgBRW9oorPO2S/Lg==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4529,10 +4538,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-NQouW0x4/GnkFJ/pRqsIS3rM/k97VzKnVb2jB7Gq7VEGPy5g7uNV1ykySFt7eWSp3i2uSGFwaJcvIRJBAHmmFg==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4542,10 +4551,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-Rvqc3nOpwseCyj/rgjlJDYAgyfw7OC1tTkKn2ivhaMGcYt8FSBlahHOZak2i3QwkRXUXgGgzeEe2RuqeEHuHgA==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4555,10 +4564,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-sn2O9k1rPFYVyKd5LAJfo96JlSGVFpa1fS6UuBJfrZadudiw5tAmru+n1x7aMRQ84qDM71Zh1+SzK5QwU0tJfA==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4568,10 +4577,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-18TFr80t5EVgL9x1SwF/YGtfG+l0BS0PRAlCWBDoBEiDQjeKgnNZRVJp/oVBl24sr3Gbfwc/Qpj4OcWTQMsAEg==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4581,10 +4590,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-Ec/0d38EIuvDF+GZjcMU/Ze6MxntVJYO/fRlCPhCaVUyPY9WTalHJw54tp9sXeJo3tlShWpy41vQRgLRGOuz+w==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4594,10 +4603,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-zgMQWkNO169GtGqRvYrzb0Zf8NhMHS2DuEB/TiEmVnpr5OqPU3i8lfbxaAmC2J/KYuIQxyoQQ6DxepyXp61/xw==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4607,10 +4616,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-oZfHcaAp2Y6KFBX6I5P1u7CQoy4lheCGiYj+pGFrHy8E/VNRb5E39TkTr3JrV520csPBTZjkuKFdEsjS5EUNKQ==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4620,8 +4629,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-YAKxaiGsSQJ38VzKH86/BPRC4rh+b1Jpa+JneA5LRE7skmLPNAyeG8kPJj/oo4STLvlrs8vkf/iYyc3A5stYCQ==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4629,10 +4638,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-YAA2cu48EkJZdAMHC0dqo9kialOcRStbtiY4nJPaht7Ptrhcvpo+eDChaM6BIs8kL6a8Z5l5poiqLnXcNduOkA==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4642,8 +4651,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4651,8 +4660,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4660,8 +4669,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4669,8 +4678,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4678,8 +4687,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-0Fmkebhr6PiseyZlYAOtLS+nb7jLmpqTrJyv61Pe68MKYW6OWdRE2kI70TaYY27u7H0lajqM3hSMMLFq18Z7nQ==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4687,8 +4696,8 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4696,10 +4705,10 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-1SzA4ns2M1aRlvxErqhLHsBHoS5eI5UUcI2awAMgGUp4LoaoWOKYmvqDY2s/tltuPkh3Yk77YF/r3IRj+Amx4Q==}peerDependencies:- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -4717,15 +4726,15 @@ packages:resolution: {integrity: sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==}engines: {node: '>=8.x'}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19''@rc-component/[email protected]':resolution: {integrity: sha512-/9zuTnWwhQ3S3WT1T8BubuFTT46kvnXgaERR9f4BTKyn61/wpf/BvbImzYBubzJibU707FxwbKszLlHjcLiv1Q==}engines: {node: '>=8.x'}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19''@react-dnd/[email protected]':resolution: {integrity: sha512-WLyfoHvxhs0V9U+GTsGilGgf2QsPl6ZZ44fnv0/b8T3nQyvzxidxsg/ZltbWssbsRDlYW8UKSQMTGotuTotZ6A==}@@ -4916,7 +4925,7 @@ packages:'@storybook/[email protected]':resolution: {integrity: sha512-3wGiMZxWbgdjEgymUrCVG5PwU0vAYF9EiSHsGxiSxje69l08GLD6s7FTLx0HwvuyiNFcigLcuF45XZnB252RtA==}peerDependencies:- react: 19.0.0+ react: '19'storybook: ^8.6.3peerDependenciesMeta:react:@@ -4954,8 +4963,8 @@ packages:'@storybook/[email protected]':resolution: {integrity: sha512-Ieu6kwqdeAcrLzcX2QIqnCd0XWZi46i4eem8W54JRiOMQMYUpZ7onbciRAP58qxEWrZWqgxPS+tiCTaJe48VVQ==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'storybook: ^8.6.3peerDependenciesMeta:react:@@ -5007,8 +5016,8 @@ packages:resolution: {integrity: sha512-t3xcbCKkPvqyef8urBM0j/nP6sKtnlRkVgC+8JTbTAZQjaTmOjes3byEgzs89p4B/K6cJsg9wLW2k3SknLtYJw==}engines: {node: '>=14.0.0'}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19''@storybook/[email protected]':resolution: {integrity: sha512-Y5n6JWCWdOqok08Hgklsc98TBoqROhAhBRSzNWuIaLsRhz8EziXQtuEkWqmVbyYOys25iTZiK3S8+QQkOzGrBw==}@@ -5032,8 +5041,8 @@ packages:resolution: {integrity: sha512-ROZdvtRm0jtApA21DQa4q5FkG3EPiHdYEWp01DxtGQrenl8YV4JBF3va9sYcPFki2gW+lx/iVpAcHfIAR7PS2Q==}engines: {node: '>=18.0.0'}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'storybook: ^8.6.3typescript: '*'peerDependenciesMeta:@@ -5059,23 +5068,23 @@ packages:'@storybook/[email protected]':resolution: {integrity: sha512-vE3LA2TxbzDF1Fso2IgvUtoHc+8a6laKhuJdx8frP5A8M1KGOBfuEPFCCcE49Q90HUlDgwb/zQl1GNq/QjLgWQ==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'storybook: ^8.6.3'@storybook/[email protected]':resolution: {integrity: sha512-kTGJ3aFdmfCFzYaDFGmZWfTXr9xhbUaf0tJ6+nEjc4tME6mFwMI+tTUT6U/J6mJhZuc2DjvIRA7bM0x77dIDqw==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'storybook: ^8.6.4'@storybook/[email protected]':resolution: {integrity: sha512-T4dpvXUMiG7zMLZcFuJNshMr9rUulowl2AyqLd2LjQtN32COAzhn6uKJkFycTHkOMM8qC03WNefc55MNJVtr/w==}engines: {node: '>=18.0.0'}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'storybook: ^8.6.3typescript: '>= 4.2.x'peerDependenciesMeta:@@ -5087,8 +5096,8 @@ packages:engines: {node: '>=18.0.0'}peerDependencies:'@storybook/test': 8.6.3- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'storybook: ^8.6.3typescript: '>= 4.2.x'peerDependenciesMeta:@@ -5102,8 +5111,8 @@ packages:engines: {node: '>=18.0.0'}peerDependencies:'@storybook/test': 8.6.4- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'storybook: ^8.6.4typescript: '>= 4.2.x'peerDependenciesMeta:@@ -5226,10 +5235,10 @@ packages:engines: {node: '>=18'}peerDependencies:'@testing-library/dom': ^10.0.0- '@types/react': ^19.0.8- '@types/react-dom': ^19.0.3- react: 19.0.0- react-dom: 19.0.0+ '@types/react': '19'+ '@types/react-dom': '19'+ react: '19'+ react-dom: '19'peerDependenciesMeta:'@types/react':optional: true@@ -5359,7 +5368,7 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-4fSQ8vWFkg+TGhePfUzVmat3eC14TXYSsiiDSLI0dVLsrm9gZFABjPy/Qu6TKgl1tq1Bu1yDsuQgY3A3DOjCcg==}peerDependencies:- '@types/react': ^19.0.8+ '@types/react': '19''@types/[email protected]':resolution: {integrity: sha512-WH/po1gcEcoR6y857yAnPGug+ZhkF4PaTUxgAbwfeSH/QOgVSakKHBXoPGad/sEznmkiaK3pqHk+etdWisoeBQ==}@@ -5367,7 +5376,7 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-8TV6R3h2j7a91c+1DXdJi3Syo69zzIZbz7Lg5tORM5LEJG7X/E6a1V3drRyBRZq7/utz7A+c4OgYLiLcYGHG6w==}peerDependencies:- '@types/react': ^19.0.8+ '@types/react': '19''@types/[email protected]':resolution: {integrity: sha512-9P/o1IGdfmQxrujGbIMDyYaaCykhLKc0NGCtYcECNUr9UAaDe4gwvV9bR6tvd5Br1SG0j+PBpbKr2UYY8CwqSw==}@@ -5450,14 +5459,14 @@ packages:'@univerjs/[email protected]':resolution: {integrity: sha512-KwQXI+6e+Qbuqv7+xYSVmK448L/Vj519f4xd5lPI8v6T+BsiB2gixPi3CQYKh6dQY3s5jdBpkTyYaAJfG3qgog==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19''@univerjs/[email protected]':resolution: {integrity: sha512-CvaAgLF885IGG0C5Jo0LB6pXAMPn4ZICvyhe94Ic2BOUBM8MjDaYC0u4tfsEHT9k1TtRAIMH6i9rXjBGtKesLA==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19''@univerjs/[email protected]':resolution: {integrity: sha512-arQJP3emdEdV0qqE/Xl0LqSZS3Kvg71hsp4jzjFl7RkkR/HSe3vBXdgRcmVkWa+BIS29yyfvFdkAJhrvKIHgGA==}@@ -5666,8 +5675,8 @@ packages:'@xyflow/[email protected]':resolution: {integrity: sha512-wAYqpicdrVo1rxCu0X3M9s3YIF45Agqfabw0IBryTGqjWvr2NyfciI8gIP4MB+NKpWWN5kxZ9tiZ9u8lwC7iAg==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19''@xyflow/[email protected]':resolution: {integrity: sha512-bmFXvboVdiydIFZmDCjrbBCYgB0d5pYdkcZPWbAxGmhMRUZ+kW3CksYgYxWabrw51rwpWitLEadvLrivG0mVfA==}@@ -6939,6 +6948,9 @@ packages:cpu: [x64]os: [openbsd]+ resolution: {integrity: sha512-jyfL/pwPqaFXyKnj8lP8iLk6Z0m099uXR45aSN8Av1XD4vhvQutxxPzgA2bTcAwQpa1zCXDcWOlhFgyP3GKqhQ==}+resolution: {integrity: sha512-ul606g0wX6oeobBgi3EqpZtCBCwNwCDivvnshsNS5pUsRylKoxUnDqK0ZIyPinlMbP6s8Opc9y2zOeY1Plhe8Q==}peerDependencies:@@ -9530,57 +9542,57 @@ packages:resolution: {integrity: sha512-ApoVi9Z8PaCQg6FsUzS8yvBEQy0ZL2PkuvAgrmohPkN3okps5WZ5WQWPc1RNuiOKaAYv8B97ACdsFU5LizzCqg==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-YDAlXsPv3I1n42dv1JpdM7wJ+gSUBfeyPK59ZpBD9jQhK9jVuxpjj3NmWQHOBceA1zEPVX84T2wbdb2SD0UjmA==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-JQ363ywqRyxwgVxpg2z2kja3CehTpYdqR7emJ/6yJjRdbvo+RvfE83fcpBCIJRq3zLp8SakmEXq60qzWyZ7Usw==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-wI4NzuqBS8vvKr8cljsvnTUqItMfG1QbJoxovCgL+DX4eVUcHIjVwharwevIxyy7H/jbLryh+K7ysnJr23aWIA==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-vAL0yqPkmXWk3+YKRkmIR8TYj3RVdEt3ptG2jCJXWNAvQbT0VJJdRyHZ7kG/l1JsZlB+VJq/VcYOo69VR4oD+w==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-fUAhHKLDdkAXIDLH0GYwof3raS58dtNUmzLF2MeiR8o6n4thNpSDQhOqQzWE4WfFZDCi9VEN8n7tiB7czREcyw==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-rkW47ABVkic7WEB0EKJqzySpvDqwl60/tdkY7hWP7dYnh5pm0SzJpo54oW3TDUGXV5wfxXFmMkxrzRRbotQ0+w==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-Id4IYMoii3zzrG0lB0gD6dPgJx4Iu95Xu0BQrhHIbp7ZnAZbLqdqQ73aIWH0d0UFcElxwaKjnzNovTjo7kXz7g==}engines: {node: '>=8.x'}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-nsUm78jkYAoPygDAcGZeC2VwIg/IBGSodtOY3pMof4W3M9qRJgqaDYm03ZayHlde3I6ipliAxbN0RUcGf5KOzw==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-37Cx1tCsKuCMCLRAJZTjLJNVmX14QcapLlNQFUhcBjpPbzT3a62Q+p9ct7Oa9oKDn6nvfBh4I5CC3q92pOPq3w==}@@ -9590,8 +9602,8 @@ packages:dayjs: '>= 1.x'luxon: '>= 3.x'moment: '>= 2.x'- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'peerDependenciesMeta:date-fns:optional: true@@ -9605,34 +9617,34 @@ packages:resolution: {integrity: sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-jP6qf7+vjnxGvPpfPWbGYfFlSl3h8L2XcD4O7g2GYXmEeBC0mw+nPD7i++OOE8v3YGqP8xtYjRKAWCMLfjgxlw==}engines: {node: '>=8.x'}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-AzC7KKOXFqAdIBqdGWepL9Xn7cm3vnAmjlHqUnoQaTMZYhM4VlXGLkkHHxj/BZ7Td0+SOPKB4RGPboBVKT9htw==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-uGSk3hpPBLa3/0QAcKhCjgl4SFnhQCJDLvvpoLdbR6KgDuXrujG+dQaUeUvBJr2ZWak1O/9n+cYbJiWmmk95EQ==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-algM5UsB7vrlPNr9lsZEH8s9KHkP8XbT/Y0qylyPkiM8mIOlSJLjBNADcmbYPEQCm4zW82mZRJuVHNzqqN0EAQ==}engines: {node: '>=8.x'}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==}@@ -9645,7 +9657,7 @@ packages:resolution: {integrity: sha512-K+kTyOPgX+ZujMZ+Rmb7pZdHBvg+DzinG/w4Eh52WOB8/pfO38efnnrtEZNJmjTvLxc16RBYO+tPM68Fg8viBA==}engines: {node: '>=16'}peerDependencies:- react: 19.0.0+ react: '19'resolution: {integrity: sha512-Wu3dw5aDJmOGw8WjH1I1/yTH+vlXEL4vmjk5p+MHxP8HuHJS1lAGeIdG/hze1AvNeXWo/JgULV87LyQOr+r5jw==}@@ -9654,14 +9666,14 @@ packages:resolution: {integrity: sha512-Ecj+gwr5B7zRiWqkDU5sUvUmufcu97WnsZFHnqHrWFJhTXAXQnhrperHLFktNP2CnQYtAgbucodr1if0MWpEaA==}peerDependencies:dnd-core: ^16.0.1- react: 19.0.0+ react: '19'react-dnd: ^16.0.1- react-dom: 19.0.0+ react-dom: '19'resolution: {integrity: sha512-j5M1NcQBItOCYXONRbCNs6MzW7u4KygeOGZlztNNguTs1/f2d7q1fRnQjFLjCpgeg5Gy/JrTFrbRThZglJP5dg==}peerDependencies:- react: 19.0.0+ react: '19'react-dnd: ^16.0.1@@ -9672,8 +9684,8 @@ packages:peerDependencies:'@types/hoist-non-react-statics': '>= 3.3.1''@types/node': '>= 12'- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/hoist-non-react-statics':optional: true@@ -9694,25 +9706,25 @@ packages:resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==}peerDependencies:- react: 19.0.0+ react: '19'resolution: {integrity: sha512-LtY5Xw1zTPqHkVmtM3X8MUOxNDOUhv/khTgBgrUvwaS064bwVvxT+q5El0uUFNx5IEPKXuRejr7UqLwBIg5pdw==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-7+Lg8E8O8HfOH5FrY80GCIR1SHTn2QnAYKh27/5spoz+OHhMmEhU/14gIkRzJOtympDPaXcVRX/nT1FjmeOUmQ==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-WBKX7w/LsTfI99WskSu6nX2nbJAUD7GD6nIXcwYLyPpnslojtmql2oD3I2g5C3AK8hrxIarYT8awhuDIp7iQ5w==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}@@ -9726,7 +9738,7 @@ packages:resolution: {integrity: sha512-Ivuj6AxRDlo/H8OiEDU1mdgivxuKbwGOa5Ub6Yf+bHcu0JWioT7ttlpCWF63/gKrJBlRMB6fW9/eNOXINg9+Gg==}peerDependencies:- react: 19.0.0+ react: '19'resolution: {integrity: sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==}@@ -9736,8 +9748,8 @@ packages:resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}engines: {node: '>=10'}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -9746,8 +9758,8 @@ packages:resolution: {integrity: sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==}engines: {node: '>=10'}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -9755,14 +9767,14 @@ packages:resolution: {integrity: sha512-vKpeHhI5OZvYn82kXOs1bC8aOXktGU5AmKAgaZS4F5JPburCtbmDPqE7Pzp+1kN4+Wb81LlF33VpGwWwtXem+w==}peerDependencies:- react: 19.0.0+ react: '19'resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}engines: {node: '>=10'}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -9770,8 +9782,8 @@ packages:resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}peerDependencies:- react: 19.0.0- react-dom: 19.0.0+ react: '19'+ react-dom: '19'resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==}@@ -10702,8 +10714,8 @@ packages:resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}engines: {node: '>=10'}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -10712,8 +10724,8 @@ packages:resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}engines: {node: '>=10'}peerDependencies:- '@types/react': ^19.0.8- react: 19.0.0+ '@types/react': '19'+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -10721,7 +10733,7 @@ packages:resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==}peerDependencies:- react: 19.0.0+ react: '19'resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}@@ -11070,9 +11082,9 @@ packages:resolution: {integrity: sha512-/BPMyLKJPtFEvVL0E9E9BTUM63MNyhPGlvxk1XjrfWTUlV+BR8jufjsovHzrtR6YNcBEcL7cMHovL1n9xHawEg==}engines: {node: '>=12.7.0'}peerDependencies:- '@types/react': ^19.0.8+ '@types/react': '19'immer: '>=9.0.6'- react: 19.0.0+ react: '19'peerDependenciesMeta:'@types/react':optional: true@@ -15038,6 +15050,8 @@ snapshots:optional: true+ [email protected]: {}+dependencies:chalk: 4.1.2diff --git a/scripts/react-version-manager.ts b/scripts/react-version-manager.tsnew file mode 100644index 0000000000..9df8e0acf4--- /dev/null+++ b/scripts/react-version-manager.ts@@ -0,0 +1,42 @@+/**+ * 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 { execSync } from 'node:child_process';+import path from 'node:path';+import process from 'node:process';+import { fileURLToPath } from 'node:url';+import fs from 'fs-extra';++const __dirname = path.dirname(fileURLToPath(import.meta.url));++function main() {+ const version = process.argv[2].replace('--react=', '');+ const __pkg = path.resolve(__dirname, '../package.json');+ const pkg = fs.readJSONSync(__pkg);++ pkg.resolutions = {+ '@types/react': version,+ '@types/react-dom': version,+ react: version,+ 'react-dom': version,+ };++ fs.writeJSONSync(__pkg, pkg, { spaces: 4, EOL: '\n' });++ execSync('pnpm i --no-lockfile');+}++main();