0.1.9 • Published 11 days ago

@univerjs/ui v0.1.9

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 days ago

@univerjs/ui

npm version license CSS Included i18n

Introduction

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

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.1.9

11 days ago

0.1.8

13 days ago

0.1.7

27 days ago

0.1.6

1 month ago

0.1.5

1 month ago

0.1.4

2 months ago

0.1.3

2 months ago

0.1.2

2 months ago

0.1.1

2 months ago

0.1.0-beta.5

3 months ago

0.1.0-beta.4

3 months ago

0.1.0-beta.3

3 months ago

0.1.0-beta.2

4 months ago

0.1.0-beta.1

4 months ago

0.1.0-beta.0

5 months ago

0.1.0-alpha.3

5 months ago

0.1.0-alpha.2

5 months ago

0.1.0-alpha.1

5 months ago