@univerjs-pro/resources-ui
@univerjs-pro/resources-ui is part of Univer Pro. It provides a product-independent resource picker UI.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
|---|---|---|---|---|
@univerjs-pro/resources-ui |
UniverProResourcesUi |
Yes | Yes | No |
Installation
pnpm add @univerjs-pro/resources-ui
# or
npm install @univerjs-pro/resources-ui
Keep all @univerjs/* and @univerjs-pro/* packages on the same version.
Integration Notes
- Consumers declare the payload types they support when opening a picker session.
- Selection and drag callbacks receive stable resource references, not materialized payloads.
- Import the package stylesheet once before rendering the picker UI.