@univerjs-pro/embed-ui 1.0.0-alpha.7 → 1.0.0-beta.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/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +15 -62
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/embed-float-interaction-policy.d.ts +0 -2
- package/lib/types/common/embed-overlay-layers.d.ts +4 -0
- package/lib/types/components/EmbedFloatDomRenderer.d.ts +4 -37
- package/lib/types/components/EmbedHostToolbarMenu.d.ts +0 -26
- package/lib/types/components/embed-float-dom-data.d.ts +10 -0
- package/lib/types/components/embed-float-dom-geometry.d.ts +95 -0
- package/lib/types/components/embed-float-dom-interaction.d.ts +114 -0
- package/lib/types/plugin.d.ts +4 -2
- package/lib/types/products/bases/BaseFullscreenTableSidebar.d.ts +31 -0
- package/lib/types/products/bases/EmbedChildView.d.ts +5 -2
- package/lib/types/products/bases/EmbedFloatingMenu.d.ts +1 -6
- package/lib/types/products/bases/embed-content-size.d.ts +13 -7
- package/lib/types/products/bases/embed-passive-viewport.d.ts +2 -3
- package/lib/types/products/bases/register.d.ts +1 -0
- package/lib/types/products/docs/EmbedDocsCustomBlockRenderer.d.ts +3 -10
- package/lib/types/products/docs/docs-custom-block-layout.d.ts +2 -1
- package/lib/types/products/docs/embed-docs-custom-block-bleed.render-controller.d.ts +6 -1
- package/lib/types/products/product-ui-contributions.d.ts +1 -0
- package/lib/types/products/sheets/EmbedBlock.d.ts +4 -1
- package/lib/types/products/sheets/EmbedFloatingMenu.d.ts +2 -33
- package/lib/types/products/sheets/SheetEmbedFloatingMenuControls.d.ts +92 -0
- package/lib/types/products/sheets/SheetEmbedFloatingMenuPrimitives.d.ts +85 -0
- package/lib/types/products/sheets/embed-content-size.d.ts +2 -0
- package/lib/types/products/sheets/embed-passive-viewport.d.ts +2 -3
- package/lib/types/products/slides/EmbedChildView.d.ts +5 -1
- package/lib/types/services/embed-display-target-sync.d.ts +4 -0
- package/lib/types/services/embed-dom-wheel.d.ts +40 -0
- package/lib/types/services/embed-floating-menu-root.d.ts +4 -0
- package/lib/types/services/embed-fullscreen-runtime.d.ts +26 -0
- package/lib/types/types/embed-ui.d.ts +3 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +36 -34
- package/lib/types/products/slides/components/embed-floating-preview/SlideEmbedFloatingPreview.d.ts +0 -24
package/lib/index.css
CHANGED
|
@@ -23,10 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.univer-inset-0 {
|
|
26
|
-
|
|
27
|
-
bottom: 0;
|
|
28
|
-
left: 0;
|
|
29
|
-
right: 0;
|
|
26
|
+
inset: 0;
|
|
30
27
|
}
|
|
31
28
|
|
|
32
29
|
.univer-inset-x-0 {
|
|
@@ -42,10 +39,6 @@
|
|
|
42
39
|
right: auto !important;
|
|
43
40
|
}
|
|
44
41
|
|
|
45
|
-
.-univer-top-6 {
|
|
46
|
-
top: -1.5rem;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
42
|
.-univer-top-9 {
|
|
50
43
|
top: -2.25rem;
|
|
51
44
|
}
|
|
@@ -62,10 +55,6 @@
|
|
|
62
55
|
bottom: 0;
|
|
63
56
|
}
|
|
64
57
|
|
|
65
|
-
.univer-left-0 {
|
|
66
|
-
left: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
58
|
.univer-left-1\/2 {
|
|
70
59
|
left: 50%;
|
|
71
60
|
}
|
|
@@ -114,14 +103,6 @@
|
|
|
114
103
|
z-index: 30;
|
|
115
104
|
}
|
|
116
105
|
|
|
117
|
-
.univer-z-\[1000\] {
|
|
118
|
-
z-index: 1000;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.univer-z-\[1070\] {
|
|
122
|
-
z-index: 1070;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
106
|
.univer-z-\[1\] {
|
|
126
107
|
z-index: 1;
|
|
127
108
|
}
|
|
@@ -164,10 +145,6 @@
|
|
|
164
145
|
margin-bottom: .375rem;
|
|
165
146
|
}
|
|
166
147
|
|
|
167
|
-
.univer-ml-9 {
|
|
168
|
-
margin-left: 2.25rem;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
148
|
.univer-box-border {
|
|
172
149
|
box-sizing: border-box;
|
|
173
150
|
}
|
|
@@ -232,11 +209,6 @@
|
|
|
232
209
|
height: 18px;
|
|
233
210
|
}
|
|
234
211
|
|
|
235
|
-
.univer-size-\[23px\] {
|
|
236
|
-
width: 23px;
|
|
237
|
-
height: 23px;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
212
|
.univer-size-full {
|
|
241
213
|
width: 100%;
|
|
242
214
|
height: 100%;
|
|
@@ -246,10 +218,6 @@
|
|
|
246
218
|
height: 2.5rem;
|
|
247
219
|
}
|
|
248
220
|
|
|
249
|
-
.univer-h-4 {
|
|
250
|
-
height: 1rem;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
221
|
.univer-h-6 {
|
|
254
222
|
height: 1.5rem;
|
|
255
223
|
}
|
|
@@ -306,10 +274,6 @@
|
|
|
306
274
|
width: 13rem;
|
|
307
275
|
}
|
|
308
276
|
|
|
309
|
-
.univer-w-6 {
|
|
310
|
-
width: 1.5rem;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
277
|
.univer-w-7 {
|
|
314
278
|
width: 1.75rem;
|
|
315
279
|
}
|
|
@@ -386,10 +350,6 @@
|
|
|
386
350
|
transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
|
|
387
351
|
}
|
|
388
352
|
|
|
389
|
-
.univer-cursor-move {
|
|
390
|
-
cursor: move;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
353
|
.univer-cursor-not-allowed {
|
|
394
354
|
cursor: not-allowed;
|
|
395
355
|
}
|
|
@@ -403,7 +363,6 @@
|
|
|
403
363
|
}
|
|
404
364
|
|
|
405
365
|
.univer-appearance-none {
|
|
406
|
-
-webkit-appearance: none;
|
|
407
366
|
appearance: none;
|
|
408
367
|
}
|
|
409
368
|
|
|
@@ -613,10 +572,6 @@
|
|
|
613
572
|
background-color: var(--univer-white);
|
|
614
573
|
}
|
|
615
574
|
|
|
616
|
-
.univer-fill-current {
|
|
617
|
-
fill: currentColor;
|
|
618
|
-
}
|
|
619
|
-
|
|
620
575
|
.univer-fill-gray-900 {
|
|
621
576
|
fill: var(--univer-gray-900);
|
|
622
577
|
}
|
|
@@ -710,10 +665,6 @@
|
|
|
710
665
|
color: currentColor;
|
|
711
666
|
}
|
|
712
667
|
|
|
713
|
-
.univer-text-gray-500 {
|
|
714
|
-
color: var(--univer-gray-500);
|
|
715
|
-
}
|
|
716
|
-
|
|
717
668
|
.univer-text-gray-600 {
|
|
718
669
|
color: var(--univer-gray-600);
|
|
719
670
|
}
|
|
@@ -808,10 +759,7 @@
|
|
|
808
759
|
|
|
809
760
|
.after\:univer-inset-0:after {
|
|
810
761
|
content: var(--univer-tw-content);
|
|
811
|
-
|
|
812
|
-
bottom: 0;
|
|
813
|
-
left: 0;
|
|
814
|
-
right: 0;
|
|
762
|
+
inset: 0;
|
|
815
763
|
}
|
|
816
764
|
|
|
817
765
|
.after\:univer-z-20:after {
|
|
@@ -829,14 +777,19 @@
|
|
|
829
777
|
border-radius: inherit;
|
|
830
778
|
}
|
|
831
779
|
|
|
832
|
-
.after
|
|
780
|
+
.after\:univer-border:after {
|
|
781
|
+
content: var(--univer-tw-content);
|
|
782
|
+
border-width: 1px;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.after\:\!univer-border-b-0:after {
|
|
833
786
|
content: var(--univer-tw-content);
|
|
834
|
-
border-width: 0 !important;
|
|
787
|
+
border-bottom-width: 0 !important;
|
|
835
788
|
}
|
|
836
789
|
|
|
837
|
-
.after
|
|
790
|
+
.after\:\!univer-border-r-0:after {
|
|
838
791
|
content: var(--univer-tw-content);
|
|
839
|
-
border-width:
|
|
792
|
+
border-right-width: 0 !important;
|
|
840
793
|
}
|
|
841
794
|
|
|
842
795
|
.after\:univer-border-solid:after {
|
|
@@ -946,10 +899,6 @@
|
|
|
946
899
|
color: var(--univer-gray-200) !important;
|
|
947
900
|
}
|
|
948
901
|
|
|
949
|
-
.dark\:\!univer-text-gray-300:where(.univer-dark, .univer-dark *) {
|
|
950
|
-
color: var(--univer-gray-300) !important;
|
|
951
|
-
}
|
|
952
|
-
|
|
953
902
|
.dark\:\!univer-text-gray-900:where(.univer-dark, .univer-dark *) {
|
|
954
903
|
color: var(--univer-gray-900) !important;
|
|
955
904
|
}
|
|
@@ -990,6 +939,10 @@
|
|
|
990
939
|
pointer-events: auto;
|
|
991
940
|
}
|
|
992
941
|
|
|
942
|
+
.\[\&\[data-embed-docs-custom-block-sheet-like\=true\]\]\:univer-pointer-events-none[data-embed-docs-custom-block-sheet-like="true"] {
|
|
943
|
+
pointer-events: none;
|
|
944
|
+
}
|
|
945
|
+
|
|
993
946
|
.\[\&\[data-embed-docs-custom-block-sheet-like\=true\]\]\:\[contain\:layout_style\][data-embed-docs-custom-block-sheet-like="true"] {
|
|
994
947
|
contain: layout style;
|
|
995
948
|
}
|