@w100n/documents 0.18.1 → 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-F4CBWEOS.js → SheetView-PUSRW7W2.js} +3 -3
- package/dist/{TextEditor-ZY4B7YIF.js → TextEditor-Z4KSBLBV.js} +3 -3
- package/dist/{chunk-2G34AIPU.js → chunk-JSJEB2CO.js} +192 -60
- package/dist/chunk-JSJEB2CO.js.map +1 -0
- package/dist/{chunk-TSB2QS56.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 +364 -389
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +123 -0
- 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 +366 -395
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-2G34AIPU.js.map +0 -1
- /package/dist/{SheetView-F4CBWEOS.js.map → SheetView-PUSRW7W2.js.map} +0 -0
- /package/dist/{TextEditor-ZY4B7YIF.js.map → TextEditor-Z4KSBLBV.js.map} +0 -0
- /package/dist/{chunk-TSB2QS56.js.map → chunk-ZQYSBWLK.js.map} +0 -0
package/dist/index.css
CHANGED
|
@@ -5169,6 +5169,129 @@ svg.w100n-pdf-marks {
|
|
|
5169
5169
|
color: var(--docs-dim);
|
|
5170
5170
|
font-size: 11.5px;
|
|
5171
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
|
+
}
|
|
5172
5295
|
|
|
5173
5296
|
/* src/sheets/sheets.css */
|
|
5174
5297
|
@font-face {
|