New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@univerjs/design

Package Overview
Dependencies
Maintainers
5
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@univerjs/design - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

12

lib/types/components/dialog/Dialog.d.ts

@@ -48,2 +48,9 @@ /**

/**
* The default position of the dialog.
*/
defaultPosition?: {
x: number;
y: number;
};
/**
* Whether the dialog should be destroyed on close.

@@ -54,2 +61,7 @@ * @default false

/**
* Whether the dialog should preserve its position on destroy.
* @default false
*/
preservePositionOnDestroy?: boolean;
/**
* The footer of the dialog.

@@ -56,0 +68,0 @@ */

3

lib/types/components/dialog/Dialog.stories.d.ts

@@ -24,1 +24,4 @@ /**

};
export declare const DialogDraggable: {
render(): React.JSX.Element;
};

6

package.json
{
"name": "@univerjs/design",
"version": "0.1.1",
"version": "0.1.2",
"private": false,

@@ -61,3 +61,3 @@ "description": "UI component library for building exceptional Univer.",

"@rc-component/trigger": "^1.18.3",
"@univerjs/icons": "^0.1.28",
"@univerjs/icons": "^0.1.30",
"rc-dialog": "^9.3.4",

@@ -87,3 +87,3 @@ "rc-dropdown": "^4.1.0",

"vitest": "^1.3.1",
"@univerjs/shared": "0.1.1"
"@univerjs/shared": "0.1.2"
},

@@ -90,0 +90,0 @@ "scripts": {

@@ -8,4 +8,12 @@ # @univerjs/design

> UI component library for building exceptional Univer.
To ensure better consistency in the UI of Univer plugins and to reduce the effort required for custom development, we provide some fundamental design guidelines and components.
The components are developed using React and less, and you can find out more information by visiting the [component library website](https://univer-design.vercel.app).
![](./assets/design.jpeg)
:::note
If you only need to extend the toolbar, right-click menu, and so on, you can directly use the extension interfaces provided by `@univerjs/ui` without implementing the UI yourself. For more information, please refer to [Extending UI](/en-us/guides/extend/ui).
:::
## Usage

@@ -16,3 +24,7 @@

```shell
npm i @univerjs/design
# Using npm
npm install @univerjs/design
# Using pnpm
pnpm add @univerjs/design
```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc