@w100n/documents 0.18.0 → 0.19.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/dist/{SheetView-43JDIP7D.js → SheetView-PUSRW7W2.js} +3 -3
- package/dist/{TextEditor-CYS4U5XA.js → TextEditor-Z4KSBLBV.js} +3 -3
- package/dist/{chunk-ZCSHH24C.js → chunk-JSJEB2CO.js} +192 -60
- package/dist/chunk-JSJEB2CO.js.map +1 -0
- package/dist/{chunk-DATYTA4H.js → chunk-ZQYSBWLK.js} +2 -2
- package/dist/collab.cjs +326 -187
- package/dist/collab.cjs.map +1 -1
- package/dist/collab.d.cts +27 -1
- package/dist/collab.d.ts +27 -1
- package/dist/collab.js +9 -1
- package/dist/index.cjs +373 -396
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +134 -2
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +375 -402
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-ZCSHH24C.js.map +0 -1
- /package/dist/{SheetView-43JDIP7D.js.map → SheetView-PUSRW7W2.js.map} +0 -0
- /package/dist/{TextEditor-CYS4U5XA.js.map → TextEditor-Z4KSBLBV.js.map} +0 -0
- /package/dist/{chunk-DATYTA4H.js.map → chunk-ZQYSBWLK.js.map} +0 -0
package/dist/index.css
CHANGED
|
@@ -1315,6 +1315,15 @@
|
|
|
1315
1315
|
.w100n-docs a.w100n-docs-action {
|
|
1316
1316
|
text-decoration: none;
|
|
1317
1317
|
}
|
|
1318
|
+
.w100n-docs .w100n-docs-action.w100n-docs-square {
|
|
1319
|
+
width: 32px;
|
|
1320
|
+
padding: 0;
|
|
1321
|
+
justify-content: center;
|
|
1322
|
+
}
|
|
1323
|
+
.w100n-docs .w100n-docs-square svg {
|
|
1324
|
+
width: 15px;
|
|
1325
|
+
height: 15px;
|
|
1326
|
+
}
|
|
1318
1327
|
.w100n-docs.w100n-docs-overlay {
|
|
1319
1328
|
position: fixed;
|
|
1320
1329
|
inset: 0;
|
|
@@ -4760,8 +4769,8 @@ svg.w100n-pdf-marks {
|
|
|
4760
4769
|
z-index: 40;
|
|
4761
4770
|
right: auto;
|
|
4762
4771
|
width: 280px;
|
|
4763
|
-
max-height:
|
|
4764
|
-
overflow:
|
|
4772
|
+
max-height: calc(100dvh - 16px);
|
|
4773
|
+
overflow-y: auto;
|
|
4765
4774
|
}
|
|
4766
4775
|
.w100n-docs-context button {
|
|
4767
4776
|
color: var(--docs-text);
|
|
@@ -5160,6 +5169,129 @@ svg.w100n-pdf-marks {
|
|
|
5160
5169
|
color: var(--docs-dim);
|
|
5161
5170
|
font-size: 11.5px;
|
|
5162
5171
|
}
|
|
5172
|
+
.w100n-tree-row > svg[data-kind=markdown],
|
|
5173
|
+
.w100n-card-title svg[data-kind=markdown] {
|
|
5174
|
+
color: #8b5cf6;
|
|
5175
|
+
}
|
|
5176
|
+
.w100n-tree-row > svg[data-kind=docx],
|
|
5177
|
+
.w100n-card-title svg[data-kind=docx] {
|
|
5178
|
+
color: #3b82f6;
|
|
5179
|
+
}
|
|
5180
|
+
.w100n-tree-row > svg[data-kind=pdf],
|
|
5181
|
+
.w100n-card-title svg[data-kind=pdf] {
|
|
5182
|
+
color: #f43f5e;
|
|
5183
|
+
}
|
|
5184
|
+
.w100n-tree-row > svg[data-kind=sheet],
|
|
5185
|
+
.w100n-card-title svg[data-kind=sheet] {
|
|
5186
|
+
color: #10b981;
|
|
5187
|
+
}
|
|
5188
|
+
.w100n-tree-row > svg[data-kind=slides],
|
|
5189
|
+
.w100n-card-title svg[data-kind=slides] {
|
|
5190
|
+
color: #f59e0b;
|
|
5191
|
+
}
|
|
5192
|
+
.w100n-docs[data-theme=dark] .w100n-tree-row > svg[data-kind=markdown],
|
|
5193
|
+
.w100n-docs[data-theme=dark] .w100n-card-title svg[data-kind=markdown] {
|
|
5194
|
+
color: #a78bfa;
|
|
5195
|
+
}
|
|
5196
|
+
.w100n-docs[data-theme=dark] .w100n-tree-row > svg[data-kind=docx],
|
|
5197
|
+
.w100n-docs[data-theme=dark] .w100n-card-title svg[data-kind=docx] {
|
|
5198
|
+
color: #60a5fa;
|
|
5199
|
+
}
|
|
5200
|
+
.w100n-docs[data-theme=dark] .w100n-tree-row > svg[data-kind=pdf],
|
|
5201
|
+
.w100n-docs[data-theme=dark] .w100n-card-title svg[data-kind=pdf] {
|
|
5202
|
+
color: #fb7185;
|
|
5203
|
+
}
|
|
5204
|
+
.w100n-docs[data-theme=dark] .w100n-tree-row > svg[data-kind=sheet],
|
|
5205
|
+
.w100n-docs[data-theme=dark] .w100n-card-title svg[data-kind=sheet] {
|
|
5206
|
+
color: #34d399;
|
|
5207
|
+
}
|
|
5208
|
+
.w100n-docs[data-theme=dark] .w100n-tree-row > svg[data-kind=slides],
|
|
5209
|
+
.w100n-docs[data-theme=dark] .w100n-card-title svg[data-kind=slides] {
|
|
5210
|
+
color: #fbbf24;
|
|
5211
|
+
}
|
|
5212
|
+
.w100n-card {
|
|
5213
|
+
display: grid;
|
|
5214
|
+
gap: 4px;
|
|
5215
|
+
min-width: 0;
|
|
5216
|
+
}
|
|
5217
|
+
.w100n-card-thumb {
|
|
5218
|
+
height: 140px;
|
|
5219
|
+
margin-bottom: 4px;
|
|
5220
|
+
overflow: hidden;
|
|
5221
|
+
border: 1px solid var(--docs-border);
|
|
5222
|
+
border-radius: 9px;
|
|
5223
|
+
background: var(--docs-thumb);
|
|
5224
|
+
}
|
|
5225
|
+
.w100n-card-thumb .w100n-docs-thumb {
|
|
5226
|
+
height: 100%;
|
|
5227
|
+
aspect-ratio: auto;
|
|
5228
|
+
border-bottom: 0;
|
|
5229
|
+
}
|
|
5230
|
+
.w100n-card-title {
|
|
5231
|
+
display: flex;
|
|
5232
|
+
align-items: center;
|
|
5233
|
+
gap: 7px;
|
|
5234
|
+
min-width: 0;
|
|
5235
|
+
}
|
|
5236
|
+
.w100n-card-title svg {
|
|
5237
|
+
width: 15px;
|
|
5238
|
+
height: 15px;
|
|
5239
|
+
flex: none;
|
|
5240
|
+
}
|
|
5241
|
+
.w100n-card-title b {
|
|
5242
|
+
overflow: hidden;
|
|
5243
|
+
text-overflow: ellipsis;
|
|
5244
|
+
white-space: nowrap;
|
|
5245
|
+
font-size: 13px;
|
|
5246
|
+
font-weight: 650;
|
|
5247
|
+
}
|
|
5248
|
+
.w100n-card small {
|
|
5249
|
+
color: var(--docs-dim);
|
|
5250
|
+
font-size: 11.5px;
|
|
5251
|
+
}
|
|
5252
|
+
.w100n-card mark {
|
|
5253
|
+
border-radius: 3px;
|
|
5254
|
+
background: color-mix(in srgb, var(--docs-accent) 22%, transparent);
|
|
5255
|
+
color: inherit;
|
|
5256
|
+
}
|
|
5257
|
+
.w100n-docs-peek {
|
|
5258
|
+
position: fixed;
|
|
5259
|
+
z-index: 45;
|
|
5260
|
+
width: 280px;
|
|
5261
|
+
padding: 10px;
|
|
5262
|
+
border: 1px solid var(--docs-border);
|
|
5263
|
+
border-radius: 12px;
|
|
5264
|
+
background: var(--docs-card);
|
|
5265
|
+
color: var(--docs-text);
|
|
5266
|
+
box-shadow: 0 18px 50px rgb(0 0 0 / 30%);
|
|
5267
|
+
pointer-events: none;
|
|
5268
|
+
}
|
|
5269
|
+
@media (max-width: 640px) {
|
|
5270
|
+
.w100n-docs .w100n-docs-menu.w100n-docs-context {
|
|
5271
|
+
left: 0 !important;
|
|
5272
|
+
right: 0;
|
|
5273
|
+
top: auto !important;
|
|
5274
|
+
bottom: 0;
|
|
5275
|
+
width: auto;
|
|
5276
|
+
max-height: 80dvh;
|
|
5277
|
+
border-radius: 16px 16px 0 0;
|
|
5278
|
+
}
|
|
5279
|
+
}
|
|
5280
|
+
.w100n-tree-hit {
|
|
5281
|
+
display: block;
|
|
5282
|
+
padding: 0 8px 4px;
|
|
5283
|
+
color: var(--docs-dim);
|
|
5284
|
+
font-size: 11.5px;
|
|
5285
|
+
line-height: 1.4;
|
|
5286
|
+
overflow: hidden;
|
|
5287
|
+
text-overflow: ellipsis;
|
|
5288
|
+
white-space: nowrap;
|
|
5289
|
+
}
|
|
5290
|
+
.w100n-tree-hit mark {
|
|
5291
|
+
border-radius: 3px;
|
|
5292
|
+
background: color-mix(in srgb, var(--docs-accent) 22%, transparent);
|
|
5293
|
+
color: inherit;
|
|
5294
|
+
}
|
|
5163
5295
|
|
|
5164
5296
|
/* src/sheets/sheets.css */
|
|
5165
5297
|
@font-face {
|