@univerjs/ui 0.2.2 → 0.2.4-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -4
- package/lib/cjs/index.js +14 -14
- package/lib/es/index.js +3781 -3733
- package/lib/index.css +1 -1
- package/lib/locale/vi-VN.json +61 -0
- package/lib/locale/zh-TW.json +61 -0
- package/lib/types/common/component-manager.d.ts +1 -1
- package/lib/types/common/lifecycle.d.ts +1 -1
- package/lib/types/common/menu-hidden-observable.d.ts +1 -2
- package/lib/types/const.d.ts +19 -0
- package/lib/types/controllers/menus/menus.d.ts +1 -1
- package/lib/types/controllers/shared-shortcut.controller.d.ts +1 -2
- package/lib/types/controllers/shortcut-display/menu.d.ts +1 -1
- package/lib/types/controllers/shortcut-display/shortcut-panel.controller.d.ts +1 -2
- package/lib/types/controllers/ui/ui-desktop.controller.d.ts +1 -2
- package/lib/types/controllers/ui/ui-mobile.controller.d.ts +1 -2
- package/lib/types/controllers/ui/ui.controller.d.ts +1 -1
- package/lib/types/index.d.ts +12 -6
- package/lib/types/locale/vi-VN.d.ts +4 -0
- package/lib/types/locale/zh-TW.d.ts +4 -0
- package/lib/types/mobile-ui-plugin.d.ts +1 -2
- package/lib/types/services/before-close/before-close.service.d.ts +2 -2
- package/lib/types/services/clipboard/clipboard-interface.service.d.ts +1 -1
- package/lib/types/services/confirm/confirm.service.d.ts +2 -2
- package/lib/types/services/confirm/desktop-confirm.service.d.ts +1 -2
- package/lib/types/services/contextmenu/contextmenu.service.d.ts +2 -3
- package/lib/types/services/dialog/desktop-dialog.service.d.ts +1 -2
- package/lib/types/services/dialog/dialog.service.d.ts +2 -2
- package/lib/types/services/editor/editor.service.d.ts +2 -3
- package/lib/types/services/global-zone/desktop-global-zone.service.d.ts +1 -1
- package/lib/types/services/global-zone/global-zone.service.d.ts +2 -2
- package/lib/types/services/layout/layout.service.d.ts +2 -3
- package/lib/types/services/menu/menu.d.ts +1 -1
- package/lib/types/services/menu/menu.service.d.ts +2 -3
- package/lib/types/services/message/__testing__/mock-message.service.d.ts +2 -1
- package/lib/types/services/message/desktop-message.service.d.ts +2 -1
- package/lib/types/services/message/message.service.d.ts +3 -2
- package/lib/types/services/notification/desktop-notification.service.d.ts +1 -2
- package/lib/types/services/notification/notification.service.d.ts +2 -2
- package/lib/types/services/parts/parts.service.d.ts +4 -4
- package/lib/types/services/platform/platform.service.d.ts +1 -1
- package/lib/types/services/popup/canvas-popup.service.d.ts +1 -1
- package/lib/types/services/progress/progress.service.d.ts +2 -3
- package/lib/types/services/range-selector/range-selector.service.d.ts +2 -3
- package/lib/types/services/shortcut/keycode.d.ts +2 -0
- package/lib/types/services/shortcut/shortcut.service.d.ts +2 -3
- package/lib/types/services/sidebar/desktop-sidebar.service.d.ts +2 -1
- package/lib/types/services/sidebar/sidebar.service.d.ts +3 -2
- package/lib/types/services/zen-zone/desktop-zen-zone.service.d.ts +1 -1
- package/lib/types/services/zen-zone/zen-zone.service.d.ts +2 -2
- package/lib/types/ui-plugin.d.ts +2 -3
- package/lib/types/utils/util.d.ts +1 -0
- package/lib/types/views/components/ComponentContainer.d.ts +1 -1
- package/lib/types/views/workbench/Workbench.d.ts +8 -0
- package/lib/umd/index.js +14 -14
- package/package.json +14 -16
- package/lib/types/views/DesktopApp.d.ts +0 -8
package/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# @univerjs/ui
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
## Package Overview
|
|
4
|
+
|
|
5
|
+
| Package Name | UMD Namespace | Version | License | Downloads | Contains CSS | Contains i18n locales |
|
|
6
|
+
| --- | --- | --- | --- | --- | :---: | :---: |
|
|
7
|
+
| `@univerjs/ui` | `UniveUi` | [![][npm-version-shield]][npm-version-link] | ![][npm-license-shield] | ![][npm-downloads-shield] | ⭕️ | ⭕️ |
|
|
7
8
|
|
|
8
9
|
## Introduction
|
|
9
10
|
|
|
@@ -37,3 +38,9 @@ These UI services include:
|
|
|
37
38
|
### Workbench
|
|
38
39
|
|
|
39
40
|
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.
|
|
41
|
+
|
|
42
|
+
<!-- Links -->
|
|
43
|
+
[npm-version-shield]: https://img.shields.io/npm/v/@univerjs/ui?style=flat-square
|
|
44
|
+
[npm-version-link]: https://npmjs.com/package/@univerjs/ui
|
|
45
|
+
[npm-license-shield]: https://img.shields.io/npm/l/@univerjs/ui?style=flat-square
|
|
46
|
+
[npm-downloads-shield]: https://img.shields.io/npm/dm/@univerjs/ui?style=flat-square
|