@univerjs/ui 1.0.0-alpha.2 → 1.0.0-alpha.3
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/facade.js +2 -0
- package/lib/cjs/index.js +567 -224
- package/lib/es/facade.js +2 -0
- package/lib/es/index.js +559 -225
- package/lib/facade.js +2 -0
- package/lib/index.css +5 -12
- package/lib/index.js +559 -225
- package/lib/types/facade/f-menu-builder.d.ts +2 -0
- package/lib/types/index.d.ts +6 -2
- package/lib/types/services/contextmenu/contextmenu.service.d.ts +6 -3
- package/lib/types/services/dom/canvas-dom-layer.service.d.ts +52 -1
- package/lib/types/services/menu/menu-manager.service.d.ts +1 -0
- package/lib/types/services/popup/canvas-popup.service.d.ts +2 -1
- package/lib/types/services/ribbon/ribbon-override.service.d.ts +42 -0
- package/lib/types/services/runtime-scope/ui-runtime-scope.service.d.ts +32 -0
- package/lib/types/services/shortcut/shortcut.service.d.ts +2 -1
- package/lib/types/utils/embed-boundary.d.ts +23 -0
- package/lib/types/utils/index.d.ts +1 -0
- package/lib/types/views/components/context-menu/AnchoredContextMenu.d.ts +4 -0
- package/lib/types/views/components/context-menu/ContextMenuPanel.d.ts +4 -0
- package/lib/types/views/components/dom/FloatDom.d.ts +11 -0
- package/lib/types/views/components/dom/float-dom-layout.d.ts +35 -0
- package/lib/types/views/components/ribbon/Ribbon.d.ts +2 -0
- package/lib/types/views/components/ribbon/TooltipButtonWrapper.d.ts +6 -1
- package/lib/types/views/emoji-picker/emoji-picker-utils.d.ts +1 -1
- package/lib/types/views/menu/mobile/MobileMenu.d.ts +2 -0
- package/lib/umd/index.js +15 -22
- package/package.json +8 -8
package/lib/facade.js
CHANGED
|
@@ -131,6 +131,7 @@ let FMenu = class FMenu extends FMenuBase {
|
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
133
|
* @ignore
|
|
134
|
+
* @returns The generated menu schema.
|
|
134
135
|
*/
|
|
135
136
|
__getSchema() {
|
|
136
137
|
this._commandToRegister.forEach((command, id) => {
|
|
@@ -244,6 +245,7 @@ let FSubmenu = class FSubmenu extends FMenuBase {
|
|
|
244
245
|
}
|
|
245
246
|
/**
|
|
246
247
|
* @ignore
|
|
248
|
+
* @returns The generated submenu schema.
|
|
247
249
|
*/
|
|
248
250
|
__getSchema() {
|
|
249
251
|
const schema = {};
|
package/lib/index.css
CHANGED
|
@@ -742,6 +742,11 @@
|
|
|
742
742
|
border-bottom-right-radius: .25rem;
|
|
743
743
|
}
|
|
744
744
|
|
|
745
|
+
.univer-rounded-t {
|
|
746
|
+
border-top-left-radius: .25rem;
|
|
747
|
+
border-top-right-radius: .25rem;
|
|
748
|
+
}
|
|
749
|
+
|
|
745
750
|
.univer-rounded-t-\[28px\] {
|
|
746
751
|
border-top-left-radius: 28px;
|
|
747
752
|
border-top-right-radius: 28px;
|
|
@@ -775,10 +780,6 @@
|
|
|
775
780
|
border-color: var(--univer-gray-300);
|
|
776
781
|
}
|
|
777
782
|
|
|
778
|
-
.univer-border-primary-500 {
|
|
779
|
-
border-color: var(--univer-primary-500);
|
|
780
|
-
}
|
|
781
|
-
|
|
782
783
|
.univer-border-primary-600 {
|
|
783
784
|
border-color: var(--univer-primary-600);
|
|
784
785
|
}
|
|
@@ -1410,10 +1411,6 @@
|
|
|
1410
1411
|
right: auto;
|
|
1411
1412
|
}
|
|
1412
1413
|
|
|
1413
|
-
.rtl\:univer-divide-x-reverse:where([dir="rtl"], [dir="rtl"] *) > :not([hidden]) ~ :not([hidden]) {
|
|
1414
|
-
--univer-tw-divide-x-reverse: 1;
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
1414
|
.rtl\:univer-rounded-l:where([dir="rtl"], [dir="rtl"] *) {
|
|
1418
1415
|
border-top-left-radius: .25rem;
|
|
1419
1416
|
border-bottom-left-radius: .25rem;
|
|
@@ -1458,10 +1455,6 @@
|
|
|
1458
1455
|
border-color: var(--univer-gray-700) !important;
|
|
1459
1456
|
}
|
|
1460
1457
|
|
|
1461
|
-
.dark\:\!univer-border-primary-600:where(.univer-dark, .univer-dark *) {
|
|
1462
|
-
border-color: var(--univer-primary-600) !important;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
1458
|
.dark\:\!univer-bg-gray-200:where(.univer-dark, .univer-dark *) {
|
|
1466
1459
|
background-color: var(--univer-gray-200) !important;
|
|
1467
1460
|
}
|