0.6.6 • Published 3 months ago

@univerjs/ui v0.6.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

@univerjs/ui

Package Overview

Package NameUMD NamespaceVersionLicenseDownloadsContains CSSContains i18n locales
@univerjs/uiUniveUi⭕️⭕️

Introduction

@univerjs/ui defines basic UI services and provides a set of desktop Workbench implementations based on React.

Please note that this implementation can only display only 1 unit in the workbench. If you would like to embed units into a rich text document, or a mind node, you should implement a new UI plugin for that. Refer to our uniui plugin for an example.

Usage

Installation

# Using npm
npm install @univerjs/ui

# Using pnpm
pnpm add @univerjs/ui

This package contains CSS and has the second highest priority. Please import it after @univerjs/design and before any other Univer style files.

UI service

UI services define a set of user interface services that run on the client side but are agnostic to the specific host environment (such as desktop browsers, mobile webviews, etc.). By injecting these services, business functionalities can invoke the same interfaces across different hosts without worrying about host disparities.

These UI services include:

  • Menu service, used to register menu items and their associated commands.
  • Shortcut service, for registering keyboard shortcuts and their corresponding commands.
  • Clipboard service, to read from or write to the clipboard.
  • Popup service, which includes confirmations, dialogs, and more.

Workbench

In addition to UI services, @univerjs/ui also implements a workspace based on React, which includes elements such as the title bar, toolbar, main content area, context menu, sidebar, and more. Businesses can customize the rendered content using the APIs provided by the Workbench.

0.6.6

3 months ago

0.6.5

4 months ago

0.6.3

4 months ago

0.6.4

4 months ago

0.6.2

4 months ago

0.6.1

4 months ago

0.6.0

4 months ago

0.6.0-alpha.0

5 months ago

0.5.5

5 months ago

0.5.4

5 months ago

0.5.3

6 months ago

0.5.2

6 months ago

0.5.1

7 months ago

0.5.0

7 months ago

0.5.0-beta.1

7 months ago

0.5.0-beta.0

7 months ago

0.5.0-alpha.0

8 months ago

0.4.2

8 months ago

0.4.1

8 months ago

0.4.0

8 months ago

0.4.0-alpha.2

8 months ago

0.4.0-alpha.1

9 months ago

0.4.0-alpha.0

9 months ago

0.3.0

9 months ago

0.3.0-alpha.0

9 months ago

0.3.0-alpha.1

9 months ago

0.2.15

9 months ago

0.2.14

10 months ago

0.2.13

10 months ago

0.2.12

10 months ago

0.2.11

10 months ago

0.2.10

10 months ago

0.2.9

10 months ago

0.2.8

10 months ago

0.2.7

11 months ago

0.2.6

11 months ago

0.2.5

11 months ago

0.2.4-alpha.0

11 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.1.16

1 year ago

0.1.17

12 months ago

0.2.3

12 months ago

0.2.2

12 months ago

0.2.4

11 months ago

0.1.12

1 year ago

0.1.13

1 year ago

0.1.14

1 year ago

0.1.15

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0-beta.5

1 year ago

0.1.0-beta.4

1 year ago

0.1.0-beta.3

1 year ago

0.1.0-beta.2

1 year ago

0.1.0-beta.1

1 year ago

0.1.0-beta.0

2 years ago

0.1.0-alpha.3

2 years ago

0.1.0-alpha.2

2 years ago

0.1.0-alpha.1

2 years ago