@danmeon/univer-ui
v1.5.2-carenode.7
Published
Unofficial Carenode fork of @univerjs/ui 1.5.2 (Univer by DreamNum), not an official Univer release. Shared application UI framework, workbench services, menus, dialogs, and Facade UI APIs for Univer.
Maintainers
Readme
Unofficial build.
@danmeon/[email protected]is a Carenode fork of@univerjs/ui1.5.2 from Univer by DreamNum. It is not an official Univer release and DreamNum does not support it. It is distributed under the same Apache-2.0 license (see LICENSE).Built from
DanMeon/univerbranchcarenode/v1.5.2, commit47617674e922d90bb50e1dd62b6efc6106193dd0.
Source files changed from upstream v1.5.2 in this package (each changed file carries a "Modified by Carenode" header):
packages/ui/src/controllers/ui/ui-shared.controller.tspackages/ui/src/index.tspackages/ui/src/services/platform/platform.service.tspackages/ui/src/services/shortcut/shortcut.service.tspackages/ui/src/views/menu/mobile/MobileMenuDrawer.tsxpackages/ui/src/views/mobile-workbench/MobileWorkbench.tsx
@univerjs/ui
@univerjs/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 | Worker entry |
| --- | --- | :---: | :---: | :---: | :---: |
| @univerjs/ui | UniverUi | Yes | Yes | Yes | No |
Installation
pnpm add @univerjs/ui
# or
npm install @univerjs/uiUsage
Start with the integration setup for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
import '@univerjs/ui/lib/index.css';
import EnUS from '@univerjs/ui/locale/en-US';
import { UniverUIPlugin } from '@univerjs/ui';
univer.registerPlugin(UniverUIPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Exported plugin classes:
UniverUIPluginUniverMobileUIPlugin
Integration Notes
- Import
@univerjs/ui/facadewhen using this package through Univer Facade APIs.
