@apollo-office/ui
v1.0.2
Published
Shared application UI framework, workbench services, menus, dialogs, and Facade UI APIs for Univer.
Maintainers
Readme
@apollo-office/ui
@apollo-office/ui provides Univer's shared application UI framework, workbench services, menu infrastructure, dialogs, clipboard services, and Facade UI APIs.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @apollo-office/ui | UniverUi | Yes | Yes | Yes |
Installation
pnpm add @apollo-office/ui
# or
npm install @apollo-office/uiKeep all @univerjs/* packages on the same version.
Usage
import '@apollo-office/ui/lib/index.css';
import EnUS from '@apollo-office/ui/locale/en-US';
import { UniverUIPlugin } from '@apollo-office/ui';
univer.registerPlugin(UniverUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Exported plugin classes:
UniverUIPluginUniverMobileUIPlugin
