@univerjs/ui 0.1.9 → 0.1.11
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/lib/cjs/index.js +14 -14
- package/lib/es/index.js +3632 -3532
- package/lib/types/common/component-manager.d.ts +2 -2
- package/lib/types/common/menu-hidden-observable.d.ts +2 -2
- package/lib/types/components/custom-label/CustomLabel.d.ts +2 -2
- package/lib/types/components/editor/TextEditor.d.ts +2 -2
- package/lib/types/components/font-family/FontFamily.d.ts +1 -1
- package/lib/types/components/font-family/FontFamilyItem.d.ts +1 -1
- package/lib/types/components/font-size/FontSize.d.ts +1 -1
- package/lib/types/components/font-size/interface.d.ts +1 -1
- package/lib/types/components/hooks/layout.d.ts +14 -0
- package/lib/types/components/hooks/observable.d.ts +2 -2
- package/lib/types/components/menu/Menu.d.ts +6 -1
- package/lib/types/components/notification/Notification.d.ts +2 -2
- package/lib/types/components/notification/Notification.stories.d.ts +2 -2
- package/lib/types/components/range-selector/RangeSelector.d.ts +1 -1
- package/lib/types/controllers/error/error.controller.d.ts +1 -1
- package/lib/types/controllers/menus/menus.d.ts +1 -1
- package/lib/types/controllers/shared-shortcut.controller.d.ts +3 -3
- package/lib/types/controllers/shortcut-display/menu.d.ts +1 -1
- package/lib/types/controllers/shortcut-display/shortcut-panel.controller.d.ts +4 -4
- package/lib/types/controllers/ui/ui-desktop.controller.d.ts +6 -6
- package/lib/types/index.d.ts +2 -2
- package/lib/types/locale/index.d.ts +1 -0
- package/lib/types/locale/ru-RU.d.ts +4 -0
- package/lib/types/services/before-close/before-close.service.d.ts +1 -1
- 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 +3 -3
- package/lib/types/services/contextmenu/contextmenu.service.d.ts +2 -2
- package/lib/types/services/dialog/desktop-dialog.service.d.ts +7 -7
- package/lib/types/services/dialog/dialog.service.d.ts +3 -3
- package/lib/types/services/editor/editor.service.d.ts +4 -4
- package/lib/types/services/global-zone/desktop-global-zone.service.d.ts +4 -4
- package/lib/types/services/global-zone/global-zone.service.d.ts +1 -1
- package/lib/types/services/layout/layout.service.d.ts +4 -2
- package/lib/types/services/menu/menu.d.ts +1 -1
- package/lib/types/services/menu/menu.service.d.ts +4 -4
- package/lib/types/services/message/__testing__/mock-message.service.d.ts +2 -2
- package/lib/types/services/message/desktop-message.service.d.ts +2 -2
- package/lib/types/services/message/message.service.d.ts +1 -1
- package/lib/types/services/notification/desktop-notification.service.d.ts +2 -2
- package/lib/types/services/notification/notification.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 -2
- package/lib/types/services/range-selector/range-selector.service.d.ts +2 -2
- package/lib/types/services/shortcut/shortcut.service.d.ts +4 -4
- package/lib/types/services/sidebar/desktop-sidebar.service.d.ts +3 -4
- package/lib/types/services/sidebar/sidebar.service.d.ts +2 -3
- package/lib/types/services/zen-zone/desktop-zen-zone.service.d.ts +4 -4
- package/lib/types/services/zen-zone/zen-zone.service.d.ts +1 -1
- package/lib/types/ui-plugin.d.ts +3 -2
- package/lib/types/views/App.d.ts +1 -1
- package/lib/types/views/components/confirm-part/interface.d.ts +1 -1
- package/lib/types/views/components/dialog-part/interface.d.ts +1 -1
- package/lib/types/views/components/doc-bars/Toolbar.d.ts +1 -1
- package/lib/types/views/components/doc-bars/ToolbarItem.d.ts +1 -1
- package/lib/umd/index.js +14 -14
- package/package.json +18 -18
- package/lib/types/views/hooks/active.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet normal plugin UI manager",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -53,21 +53,21 @@
|
|
|
53
53
|
"npm": ">=8.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@wendellhu/redi": "^0.
|
|
56
|
+
"@wendellhu/redi": "^0.15.1",
|
|
57
57
|
"clsx": ">=2.0.0",
|
|
58
58
|
"react": "^16.9.0 || ^17.0.0 || ^18.0.0",
|
|
59
59
|
"react-dom": "^16.9.0 || ^17.0.0 || ^18.0.0",
|
|
60
60
|
"rxjs": ">=7.0.0",
|
|
61
|
-
"@univerjs/core": "0.1.
|
|
62
|
-
"@univerjs/design": "0.1.
|
|
63
|
-
"@univerjs/engine-formula": "0.1.
|
|
64
|
-
"@univerjs/engine-render": "0.1.
|
|
61
|
+
"@univerjs/core": "0.1.11",
|
|
62
|
+
"@univerjs/design": "0.1.11",
|
|
63
|
+
"@univerjs/engine-formula": "0.1.11",
|
|
64
|
+
"@univerjs/engine-render": "0.1.11"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@univerjs/icons": "^0.1.
|
|
67
|
+
"@univerjs/icons": "^0.1.45",
|
|
68
68
|
"localforage": "^1.10.0",
|
|
69
|
-
"rc-notification": "^5.
|
|
70
|
-
"rc-util": "^5.39.
|
|
69
|
+
"rc-notification": "^5.5.0",
|
|
70
|
+
"rc-util": "^5.39.3"
|
|
71
71
|
},
|
|
72
72
|
"optionalDependencies": {
|
|
73
73
|
"vue": ">=3.0.0"
|
|
@@ -78,21 +78,21 @@
|
|
|
78
78
|
"@types/react": "^18.2.79",
|
|
79
79
|
"@types/react-dom": "^18.2.25",
|
|
80
80
|
"@types/react-transition-group": "^4.4.10",
|
|
81
|
-
"@wendellhu/redi": "^0.
|
|
81
|
+
"@wendellhu/redi": "^0.15.1",
|
|
82
82
|
"clsx": "^2.1.1",
|
|
83
83
|
"less": "^4.2.0",
|
|
84
84
|
"react": "18.2.0",
|
|
85
85
|
"react-dom": "18.2.0",
|
|
86
86
|
"rxjs": "^7.8.1",
|
|
87
87
|
"typescript": "^5.4.5",
|
|
88
|
-
"vite": "^5.2.
|
|
89
|
-
"vitest": "^1.
|
|
90
|
-
"vue": "^3.4.
|
|
91
|
-
"@univerjs/core": "0.1.
|
|
92
|
-
"@univerjs/
|
|
93
|
-
"@univerjs/engine-
|
|
94
|
-
"@univerjs/
|
|
95
|
-
"@univerjs/shared": "0.1.
|
|
88
|
+
"vite": "^5.2.11",
|
|
89
|
+
"vitest": "^1.6.0",
|
|
90
|
+
"vue": "^3.4.27",
|
|
91
|
+
"@univerjs/core": "0.1.11",
|
|
92
|
+
"@univerjs/design": "0.1.11",
|
|
93
|
+
"@univerjs/engine-formula": "0.1.11",
|
|
94
|
+
"@univerjs/engine-render": "0.1.11",
|
|
95
|
+
"@univerjs/shared": "0.1.11"
|
|
96
96
|
},
|
|
97
97
|
"scripts": {
|
|
98
98
|
"test": "vitest run",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Nullable, Workbook, Worksheet } from '@univerjs/core';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A react hooks to get the active workbook.
|
|
5
|
-
*/
|
|
6
|
-
export declare function useActiveWorkbook(): Nullable<Workbook>;
|
|
7
|
-
/**
|
|
8
|
-
* A react hooks to get the active worksheet.
|
|
9
|
-
*/
|
|
10
|
-
export declare function useActiveWorksheet(): Nullable<Worksheet>;
|