@univerjs/preset-docs-core 1.0.0-alpha.1 → 1.0.0-alpha.2
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/index.css +86 -0
- package/package.json +11 -11
package/lib/index.css
CHANGED
|
@@ -179,6 +179,10 @@
|
|
|
179
179
|
top: 1px;
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
+
.\!univer-z-\[1090\] {
|
|
183
|
+
z-index: 1090 !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
182
186
|
.univer-z-0 {
|
|
183
187
|
z-index: 0;
|
|
184
188
|
}
|
|
@@ -945,6 +949,10 @@
|
|
|
945
949
|
border-left-width: 0 !important;
|
|
946
950
|
}
|
|
947
951
|
|
|
952
|
+
.\!univer-border-r-0 {
|
|
953
|
+
border-right-width: 0 !important;
|
|
954
|
+
}
|
|
955
|
+
|
|
948
956
|
.\!univer-border-t-0 {
|
|
949
957
|
border-top-width: 0 !important;
|
|
950
958
|
}
|
|
@@ -2169,10 +2177,22 @@
|
|
|
2169
2177
|
}
|
|
2170
2178
|
}
|
|
2171
2179
|
|
|
2180
|
+
.rtl\:univer-left-4:where([dir="rtl"], [dir="rtl"] *) {
|
|
2181
|
+
left: 1rem;
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
.rtl\:univer-left-auto:where([dir="rtl"], [dir="rtl"] *) {
|
|
2185
|
+
left: auto;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2172
2188
|
.rtl\:univer-left-px:where([dir="rtl"], [dir="rtl"] *) {
|
|
2173
2189
|
left: 1px;
|
|
2174
2190
|
}
|
|
2175
2191
|
|
|
2192
|
+
.rtl\:univer-right-1\.5:where([dir="rtl"], [dir="rtl"] *) {
|
|
2193
|
+
right: .375rem;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2176
2196
|
.rtl\:univer-right-auto:where([dir="rtl"], [dir="rtl"] *) {
|
|
2177
2197
|
right: auto;
|
|
2178
2198
|
}
|
|
@@ -2195,6 +2215,20 @@
|
|
|
2195
2215
|
border-right-width: 1px;
|
|
2196
2216
|
}
|
|
2197
2217
|
|
|
2218
|
+
.rtl\:\!univer-pl-2:where([dir="rtl"], [dir="rtl"] *) {
|
|
2219
|
+
padding-left: .5rem !important;
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
.rtl\:\!univer-pr-4:where([dir="rtl"], [dir="rtl"] *) {
|
|
2223
|
+
padding-right: 1rem !important;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
@media (min-width: 640px) {
|
|
2227
|
+
.sm\:rtl\:\!univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
|
|
2228
|
+
text-align: right !important;
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2198
2232
|
.dark\:\!univer-divide-gray-600:where(.univer-dark, .univer-dark *) > :not([hidden]) ~ :not([hidden]) {
|
|
2199
2233
|
border-color: var(--univer-gray-600) !important;
|
|
2200
2234
|
}
|
|
@@ -3691,6 +3725,10 @@
|
|
|
3691
3725
|
height: 100%;
|
|
3692
3726
|
}
|
|
3693
3727
|
|
|
3728
|
+
.univer-max-h-72 {
|
|
3729
|
+
max-height: 18rem;
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3694
3732
|
.univer-max-h-\[80vh\] {
|
|
3695
3733
|
max-height: 80vh;
|
|
3696
3734
|
}
|
|
@@ -3795,6 +3833,10 @@
|
|
|
3795
3833
|
min-width: 0;
|
|
3796
3834
|
}
|
|
3797
3835
|
|
|
3836
|
+
.univer-min-w-44 {
|
|
3837
|
+
min-width: 11rem;
|
|
3838
|
+
}
|
|
3839
|
+
|
|
3798
3840
|
.univer-min-w-52 {
|
|
3799
3841
|
min-width: 13rem;
|
|
3800
3842
|
}
|
|
@@ -3973,6 +4015,10 @@
|
|
|
3973
4015
|
grid-template-rows: auto 1fr auto;
|
|
3974
4016
|
}
|
|
3975
4017
|
|
|
4018
|
+
.univer-flex-row {
|
|
4019
|
+
flex-direction: row;
|
|
4020
|
+
}
|
|
4021
|
+
|
|
3976
4022
|
.univer-flex-col {
|
|
3977
4023
|
flex-direction: column;
|
|
3978
4024
|
}
|
|
@@ -4793,10 +4839,50 @@
|
|
|
4793
4839
|
}
|
|
4794
4840
|
}
|
|
4795
4841
|
|
|
4842
|
+
.rtl\:univer-left-0:where([dir="rtl"], [dir="rtl"] *) {
|
|
4843
|
+
left: 0;
|
|
4844
|
+
}
|
|
4845
|
+
|
|
4846
|
+
.rtl\:univer-left-2:where([dir="rtl"], [dir="rtl"] *) {
|
|
4847
|
+
left: .5rem;
|
|
4848
|
+
}
|
|
4849
|
+
|
|
4850
|
+
.rtl\:univer-right-auto:where([dir="rtl"], [dir="rtl"] *) {
|
|
4851
|
+
right: auto;
|
|
4852
|
+
}
|
|
4853
|
+
|
|
4854
|
+
.rtl\:univer-divide-x-reverse:where([dir="rtl"], [dir="rtl"] *) > :not([hidden]) ~ :not([hidden]) {
|
|
4855
|
+
--univer-tw-divide-x-reverse: 1;
|
|
4856
|
+
}
|
|
4857
|
+
|
|
4858
|
+
.rtl\:univer-rounded-l:where([dir="rtl"], [dir="rtl"] *) {
|
|
4859
|
+
border-top-left-radius: .25rem;
|
|
4860
|
+
border-bottom-left-radius: .25rem;
|
|
4861
|
+
}
|
|
4862
|
+
|
|
4863
|
+
.rtl\:univer-rounded-l-none:where([dir="rtl"], [dir="rtl"] *) {
|
|
4864
|
+
border-top-left-radius: 0;
|
|
4865
|
+
border-bottom-left-radius: 0;
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4868
|
+
.rtl\:univer-rounded-r:where([dir="rtl"], [dir="rtl"] *) {
|
|
4869
|
+
border-top-right-radius: .25rem;
|
|
4870
|
+
border-bottom-right-radius: .25rem;
|
|
4871
|
+
}
|
|
4872
|
+
|
|
4873
|
+
.rtl\:univer-rounded-r-none:where([dir="rtl"], [dir="rtl"] *) {
|
|
4874
|
+
border-top-right-radius: 0;
|
|
4875
|
+
border-bottom-right-radius: 0;
|
|
4876
|
+
}
|
|
4877
|
+
|
|
4796
4878
|
.rtl\:univer-pl-1\.5:where([dir="rtl"], [dir="rtl"] *) {
|
|
4797
4879
|
padding-left: .375rem;
|
|
4798
4880
|
}
|
|
4799
4881
|
|
|
4882
|
+
.rtl\:univer-pl-5:where([dir="rtl"], [dir="rtl"] *) {
|
|
4883
|
+
padding-left: 1.25rem;
|
|
4884
|
+
}
|
|
4885
|
+
|
|
4800
4886
|
.rtl\:univer-pr-0:where([dir="rtl"], [dir="rtl"] *) {
|
|
4801
4887
|
padding-right: 0;
|
|
4802
4888
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/preset-docs-core",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Preset for core Univer Docs editing and UI features.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -56,22 +56,22 @@
|
|
|
56
56
|
"rxjs": ">=7.0.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@univerjs/
|
|
60
|
-
"@univerjs/
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
63
|
-
"@univerjs/
|
|
64
|
-
"@univerjs/
|
|
65
|
-
"@univerjs/
|
|
59
|
+
"@univerjs/design": "1.0.0-alpha.2",
|
|
60
|
+
"@univerjs/docs": "1.0.0-alpha.2",
|
|
61
|
+
"@univerjs/engine-render": "1.0.0-alpha.2",
|
|
62
|
+
"@univerjs/network": "1.0.0-alpha.2",
|
|
63
|
+
"@univerjs/ui": "1.0.0-alpha.2",
|
|
64
|
+
"@univerjs/docs-ui": "1.0.0-alpha.2",
|
|
65
|
+
"@univerjs/engine-formula": "1.0.0-alpha.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"react": "18.3.1",
|
|
69
69
|
"react-dom": "18.3.1",
|
|
70
70
|
"rxjs": "^7.8.2",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
|
-
"@univerjs-infra/shared": "1.0.0-alpha.
|
|
73
|
-
"@univerjs/
|
|
74
|
-
"@univerjs/
|
|
72
|
+
"@univerjs-infra/shared": "1.0.0-alpha.2",
|
|
73
|
+
"@univerjs/core": "1.0.0-alpha.2",
|
|
74
|
+
"@univerjs/presets": "1.0.0-alpha.2"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build:bundle": "univer-cli preset build --cleanup",
|