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
feat: new `BorderLine` component (#305)
白熱13af29b60f5c
diff --git a/packages/base-ui/package.json b/packages/base-ui/package.jsonindex ef20122da5..e68d7ea511 100644--- a/packages/base-ui/package.json+++ b/packages/base-ui/package.json@@ -79,6 +79,7 @@"less": "^4.2.0","storybook": "^7.4.5","ts-node": "^10.9.1",- "vitest": "^0.34.5"+ "vitest": "^0.34.5",+ "vitest-canvas-mock": "^0.3.3"}}diff --git a/packages/base-ui/src/Common/ComponentManager.ts b/packages/base-ui/src/Common/ComponentManager.tsindex b4842f38ff..5cc86cf817 100644--- a/packages/base-ui/src/Common/ComponentManager.ts+++ b/packages/base-ui/src/Common/ComponentManager.ts@@ -12,7 +12,7 @@ import {BorderMediumDashed,BorderThick,BorderThin,-} from '../Components/CanvasIcon';+} from '../Components/BorderLine';import {BackIcon,BoldIcon,diff --git a/packages/base-ui/src/Components/CanvasIcon/CanvasIcon.tsx b/packages/base-ui/src/Components/BorderLine/Basic.tsxsimilarity index 87%rename from packages/base-ui/src/Components/CanvasIcon/CanvasIcon.tsxrename to packages/base-ui/src/Components/BorderLine/Basic.tsxindex 38d3049828..c0a588c84c 100644--- a/packages/base-ui/src/Components/CanvasIcon/CanvasIcon.tsx+++ b/packages/base-ui/src/Components/BorderLine/Basic.tsx@@ -1,6 +1,7 @@+/* eslint-disable no-magic-numbers */import { useEffect, useRef } from 'react';-type IProps = {+interface IProps {width: string;height: string;type: string;@@ -9,7 +10,7 @@ type IProps = {mEd: number;lineSt: number;lineEd: number;-};+}export function CanvasIcon(props: IProps) {const { type, hv, mSt: m_st, mEd: m_ed, lineSt: line_st, lineEd: line_ed } = props;@@ -17,9 +18,16 @@ export function CanvasIcon(props: IProps) {const canvasRef = useRef<HTMLCanvasElement>(null);useEffect(() => {- if (!canvasRef.current) return;+ const canvas = canvasRef.current;++ if (!canvas) return;++ const ctx = canvas.getContext('2d')!;++ const scale = window.devicePixelRatio;++ ctx.scale(scale, scale);- const ctx = canvasRef.current.getContext('2d')!;setLineDash(ctx);}, []);@@ -49,7 +57,7 @@ export function CanvasIcon(props: IProps) {ctx.setLineDash([0]);}} catch (e) {- console.log(e);+ console.error(e);}ctx.beginPath();diff --git a/packages/base-ui/src/Components/BorderLine/BorderLine.stories.tsx b/packages/base-ui/src/Components/BorderLine/BorderLine.stories.tsxnew file mode 100644index 0000000000..d7f90cd9bd--- /dev/null+++ b/packages/base-ui/src/Components/BorderLine/BorderLine.stories.tsx@@ -0,0 +1,66 @@+import type { Meta } from '@storybook/react';++import {+ BorderDashDot,+ BorderDashDotDot,+ BorderDashed,+ BorderDotted,+ BorderHair,+ BorderMedium,+ BorderMediumDashDot,+ BorderMediumDashDotDot,+ BorderMediumDashed,+ BorderThick,+ BorderThin,+} from './BorderLine';++const meta: Meta = {+ title: 'Components / BorderLine',+ parameters: {+ layout: 'centered',+ },+ tags: ['autodocs'],+};++export default meta;++export const Playground = {+ render() {+ return (+ <section style={{ display: 'grid', gap: 24, gridTemplateColumns: '1fr 1fr' }}>+ <code>BorderDashDot</code>+ <BorderDashDot />++ <code>BorderDashDotDot</code>+ <BorderDashDotDot />++ <code>BorderDashed</code>+ <BorderDashed />++ <code>BorderDotted</code>+ <BorderDotted />++ <code>BorderHair</code>+ <BorderHair />++ <code>BorderMedium</code>+ <BorderMedium />++ <code>BorderMediumDashDot</code>+ <BorderMediumDashDot />++ <code>BorderMediumDashDotDot</code>+ <BorderMediumDashDotDot />++ <code>BorderMediumDashed</code>+ <BorderMediumDashed />++ <code>BorderThick</code>+ <BorderThick />++ <code>BorderThin</code>+ <BorderThin />+ </section>+ );+ },+};diff --git a/packages/base-ui/src/Components/BorderLine/BorderLine.tsx b/packages/base-ui/src/Components/BorderLine/BorderLine.tsxnew file mode 100644index 0000000000..fe6d11a22f--- /dev/null+++ b/packages/base-ui/src/Components/BorderLine/BorderLine.tsx@@ -0,0 +1,78 @@+import { CanvasIcon } from './Basic';++interface IProps {+ width?: string;+ height?: string;+}++export function BorderDashDot(props: IProps) {+ const { width = '100', height = '10' } = props;+ return <CanvasIcon width={width} height={height} type="DashDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;+}++export function BorderDashDotDot(props: IProps) {+ const { width = '100', height = '10' } = props;+ return (+ <CanvasIcon width={width} height={height} type="DashDotDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />+ );+}++export function BorderDashed(props: IProps) {+ const { width = '100', height = '10' } = props;+ return <CanvasIcon width={width} height={height} type="Dashed" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;+}++export function BorderDotted(props: IProps) {+ const { width = '100', height = '10' } = props;+ return <CanvasIcon width={width} height={height} type="Dotted" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;+}++export function BorderHair(props: IProps) {+ const { width = '100', height = '10' } = props;+ return <CanvasIcon width={width} height={height} type="Hair" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;+}++export function BorderMedium(props: IProps) {+ const { width = '100', height = '10' } = props;+ return <CanvasIcon width={width} height={height} type="Medium" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;+}++export function BorderMediumDashDot(props: IProps) {+ const { width = '100', height = '10' } = props;+ return (+ <CanvasIcon width={width} height={height} type="MediumDashDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />+ );+}++export function BorderMediumDashDotDot(props: IProps) {+ const { width = '100', height = '10' } = props;+ return (+ <CanvasIcon+ width={width}+ height={height}+ type="MediumDashDotDot"+ hv="h"+ mSt={0}+ mEd={5}+ lineSt={100}+ lineEd={5}+ />+ );+}++export function BorderMediumDashed(props: IProps) {+ const { width = '100', height = '10' } = props;+ return (+ <CanvasIcon width={width} height={height} type="MediumDashed" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />+ );+}++export function BorderThick(props: IProps) {+ const { width = '100', height = '10' } = props;+ return <CanvasIcon width={width} height={height} type="Thick" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;+}++export function BorderThin(props: IProps) {+ const { width = '100', height = '10' } = props;+ return <CanvasIcon width={width} height={height} type="Thin" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;+}diff --git a/packages/base-ui/src/Components/BorderLine/index.ts b/packages/base-ui/src/Components/BorderLine/index.tsnew file mode 100644index 0000000000..6d3489a839--- /dev/null+++ b/packages/base-ui/src/Components/BorderLine/index.ts@@ -0,0 +1,13 @@+export {+ BorderDashDot,+ BorderDashDotDot,+ BorderDashed,+ BorderDotted,+ BorderHair,+ BorderMedium,+ BorderMediumDashDot,+ BorderMediumDashDotDot,+ BorderMediumDashed,+ BorderThick,+ BorderThin,+} from './BorderLine';diff --git a/packages/base-ui/src/Components/BorderLine/test/__snapshots__/index.test.tsx.snap b/packages/base-ui/src/Components/BorderLine/test/__snapshots__/index.test.tsx.snapnew file mode 100644index 0000000000..2c7e4700af--- /dev/null+++ b/packages/base-ui/src/Components/BorderLine/test/__snapshots__/index.test.tsx.snap@@ -0,0 +1,10 @@+// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html++exports[`BorderLine > renders BorderDashDot 1`] = `+<div>+ <canvas+ height="10"+ width="100"+ />+</div>+`;diff --git a/packages/base-ui/src/Components/BorderLine/test/index.test.tsx b/packages/base-ui/src/Components/BorderLine/test/index.test.tsxnew file mode 100644index 0000000000..729455bcda--- /dev/null+++ b/packages/base-ui/src/Components/BorderLine/test/index.test.tsx@@ -0,0 +1,14 @@+import 'vitest-canvas-mock';++import { render } from '@testing-library/react';+import { describe, expect, test } from 'vitest';++import { BorderDashDot } from '../BorderLine';++describe('BorderLine', () => {+ test('renders BorderDashDot', () => {+ const { container } = render(<BorderDashDot />);++ expect(container).toMatchSnapshot();+ });+});diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashDot.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashDot.tsxdeleted file mode 100644index 0a5e42fe4d..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashDot.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderDashDot(props: IProps) {- const { width = '100', height = '10' } = props;- return <CanvasIcon width={width} height={height} type="DashDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashDotDot.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashDotDot.tsxdeleted file mode 100644index 1b1e410e2f..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashDotDot.tsx+++ /dev/null@@ -1,13 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderDashDotDot(props: IProps) {- const { width = '100', height = '10' } = props;- return (- <CanvasIcon width={width} height={height} type="DashDotDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />- );-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashed.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashed.tsxdeleted file mode 100644index 90e2b7e951..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDashed.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderDashed(props: IProps) {- const { width = '100', height = '10' } = props;- return <CanvasIcon width={width} height={height} type="Dashed" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDotted.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDotted.tsxdeleted file mode 100644index 686f691105..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderDotted.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderDotted(props: IProps) {- const { width = '100', height = '10' } = props;- return <CanvasIcon width={width} height={height} type="Dotted" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderHair.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderHair.tsxdeleted file mode 100644index a14c62d5b3..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderHair.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderHair(props: IProps) {- const { width = '100', height = '10' } = props;- return <CanvasIcon width={width} height={height} type="Hair" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMedium.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMedium.tsxdeleted file mode 100644index 5412b3c29e..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMedium.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderMedium(props: IProps) {- const { width = '100', height = '10' } = props;- return <CanvasIcon width={width} height={height} type="Medium" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashDot.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashDot.tsxdeleted file mode 100644index 081ec1d215..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashDot.tsx+++ /dev/null@@ -1,13 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderMediumDashDot(props: IProps) {- const { width = '100', height = '10' } = props;- return (- <CanvasIcon width={width} height={height} type="MediumDashDot" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />- );-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashDotDot.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashDotDot.tsxdeleted file mode 100644index c9a7ac4adc..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashDotDot.tsx+++ /dev/null@@ -1,22 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderMediumDashDotDot(props: IProps) {- const { width = '100', height = '10' } = props;- return (- <CanvasIcon- width={width}- height={height}- type="MediumDashDotDot"- hv="h"- mSt={0}- mEd={5}- lineSt={100}- lineEd={5}- />- );-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashed.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashed.tsxdeleted file mode 100644index 26964bd3a5..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderMediumDashed.tsx+++ /dev/null@@ -1,13 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderMediumDashed(props: IProps) {- const { width = '100', height = '10' } = props;- return (- <CanvasIcon width={width} height={height} type="MediumDashed" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />- );-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderThick.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderThick.tsxdeleted file mode 100644index 2daaf1152e..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderThick.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderThick(props: IProps) {- const { width = '100', height = '10' } = props;- return <CanvasIcon width={width} height={height} type="Thick" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderThin.tsx b/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderThin.tsxdeleted file mode 100644index bd8b7e1672..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/BorderThin.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { CanvasIcon } from '../CanvasIcon';--interface IProps {- width?: string;- height?: string;-}--export function BorderThin(props: IProps) {- const { width = '100', height = '10' } = props;- return <CanvasIcon width={width} height={height} type="Thin" hv="h" mSt={0} mEd={5} lineSt={100} lineEd={5} />;-}diff --git a/packages/base-ui/src/Components/CanvasIcon/BorderLine/index.ts b/packages/base-ui/src/Components/CanvasIcon/BorderLine/index.tsdeleted file mode 100644index 289252f4d7..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/BorderLine/index.ts+++ /dev/null@@ -1,11 +0,0 @@-export * from './BorderDashDot';-export * from './BorderDashDotDot';-export * from './BorderDashed';-export * from './BorderDotted';-export * from './BorderHair';-export * from './BorderMedium';-export * from './BorderMediumDashDot';-export * from './BorderMediumDashDotDot';-export * from './BorderMediumDashed';-export * from './BorderThick';-export * from './BorderThin';diff --git a/packages/base-ui/src/Components/CanvasIcon/CanvasIcon.stories.tsx b/packages/base-ui/src/Components/CanvasIcon/CanvasIcon.stories.tsxdeleted file mode 100644index 2256f18ef3..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/CanvasIcon.stories.tsx+++ /dev/null@@ -1,28 +0,0 @@-import type { Meta } from '@storybook/react';--import { CanvasIcon } from './CanvasIcon';--const meta: Meta<typeof CanvasIcon> = {- title: 'Components / CanvasIcon',- component: CanvasIcon,- parameters: {- layout: 'centered',- },- tags: ['autodocs'],- args: {- width: '100',- height: '100',- type: 'DASH_DOT',- hv: 'h',- mSt: 0,- mEd: 5,- lineSt: 100,- lineEd: 5,- },-};--export default meta;--export const Playground = {- args: {},-};diff --git a/packages/base-ui/src/Components/CanvasIcon/index.ts b/packages/base-ui/src/Components/CanvasIcon/index.tsdeleted file mode 100644index 1d9fec40ac..0000000000--- a/packages/base-ui/src/Components/CanvasIcon/index.ts+++ /dev/null@@ -1 +0,0 @@-export * from './BorderLine';diff --git a/packages/base-ui/src/Components/index.ts b/packages/base-ui/src/Components/index.tsindex c3207a8c7a..d8503db2eb 100644--- a/packages/base-ui/src/Components/index.ts+++ b/packages/base-ui/src/Components/index.ts@@ -1,8 +1,8 @@import * as Icon from './Icon';export * from './Avatar';+export * from './BorderLine';export * from './Button';-export * from './CanvasIcon';export * from './CellRange';export * from './Checkbox';export * from './Collapse';diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 52eebea511..1523c9ea38 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -143,7 +143,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])examples/univer-sheet-ts:dependencies:@@ -292,7 +292,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/base-docs:dependencies:@@ -344,7 +344,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/base-formula-engine:dependencies:@@ -384,7 +384,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/base-numfmt-engine:dependencies:@@ -421,7 +421,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/base-render:dependencies:@@ -467,7 +467,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/base-sheets:dependencies:@@ -562,7 +562,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/base-ui:dependencies:@@ -669,6 +669,9 @@ importers:vitest:specifier: ^0.34.5version: 0.34.5([email protected])([email protected])+ vitest-canvas-mock:+ specifier: ^0.3.3+ version: 0.3.3([email protected])packages/common-plugin-data:dependencies:@@ -687,7 +690,7 @@ importers:version: 0.19.3vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/core:dependencies:@@ -800,7 +803,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/sheets-plugin-formula:dependencies:@@ -855,7 +858,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/sheets-plugin-image:dependencies:@@ -910,7 +913,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/sheets-plugin-import-xlsx:dependencies:@@ -968,7 +971,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/sheets-plugin-numfmt:dependencies:@@ -1023,7 +1026,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/ui-plugin-docs:dependencies:@@ -1069,7 +1072,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages/ui-plugin-sheets:dependencies:@@ -1173,7 +1176,7 @@ importers:version: 10.9.1(@types/[email protected])([email protected])vitest:specifier: ^0.34.5- version: 0.34.5([email protected])([email protected])+ version: 0.34.5([email protected])([email protected])packages:@@ -6991,6 +6994,10 @@ packages:hasBin: truedev: true+ resolution: {integrity: sha512-6tun4LoZnj7VN6YeegOVb67KBX/7JJsqvj+pv3ZA7F878/eN33AbGa5b/S/wXxS/tcp8nc40xRUrsPlxIyNUPg==}+ dev: true+resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==}@@ -9212,6 +9219,13 @@ packages:minimatch: 3.1.2dev: true+ resolution: {integrity: sha512-vgnpPupjOL6+L5oJXzxTxFrlGEIbHdZqFU+LFNdtLxZ3lRDCl17FlTMM7IatoRQkrcyOTMlDinjUguqmQ6bR2A==}+ dependencies:+ cssfontparser: 1.2.1+ moo-color: 1.0.3+ dev: true+resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==}engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}@@ -9954,6 +9968,12 @@ packages:ufo: 1.3.0dev: true+ resolution: {integrity: sha512-i/+ZKXMDf6aqYtBhuOcej71YSlbjT3wCO/4H1j8rPvxDJEifdwgg5MaFyu6iYAT8GBZJg2z0dkgK4YMzvURALQ==}+ dependencies:+ color-name: 1.1.4+ dev: true+resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}engines: {node: '>=4'}@@ -12563,6 +12583,15 @@ packages:fsevents: 2.3.3dev: true+ resolution: {integrity: sha512-3P968tYBpqYyzzOaVtqnmYjqbe13576/fkjbDEJSfQAkHtC5/UjuRHOhFEN/ZV5HVZIkaROBUWgazDKJ+Ibw+Q==}+ peerDependencies:+ vitest: '*'+ dependencies:+ jest-canvas-mock: 2.5.2+ vitest: 0.34.5([email protected])([email protected])+ dev: true+resolution: {integrity: sha512-CPI68mmnr2DThSB3frSuE5RLm9wo5wU4fbDrDwWQQB1CWgq9jQVoQwnQSzYAjdoBOPoH2UtXpOgHVge/uScfZg==}engines: {node: '>=v14.18.0'}