@univerjs/design 0.1.0-beta.5 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/lib/cjs/index.js +7 -7
- package/lib/es/index.js +354 -338
- package/lib/index.css +1 -1
- package/lib/types/components/dialog/Dialog.d.ts +12 -0
- package/lib/types/components/dialog/Dialog.stories.d.ts +3 -0
- package/lib/umd/index.js +7 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -5,12 +5,24 @@
|
|
|
5
5
|
|
|
6
6
|
## Introduction
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
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.
|
|
9
|
+
|
|
10
|
+
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).
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
:::note
|
|
15
|
+
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).
|
|
16
|
+
:::
|
|
9
17
|
|
|
10
18
|
## Usage
|
|
11
19
|
|
|
12
20
|
### Installation
|
|
13
21
|
|
|
14
22
|
```shell
|
|
15
|
-
|
|
23
|
+
# Using npm
|
|
24
|
+
npm install @univerjs/design
|
|
25
|
+
|
|
26
|
+
# Using pnpm
|
|
27
|
+
pnpm add @univerjs/design
|
|
16
28
|
```
|