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

@univerjs/ui

Package Overview
Dependencies
Maintainers
0
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@univerjs/ui

UniverSheet normal plugin UI manager

  • 0.4.0-nightly.202410161605
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.5K
decreased by-66.7%
Maintainers
0
Weekly downloads
 
Created
Source

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

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.

Keywords

FAQs

Package last updated on 16 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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