@w100n/documents 0.18.1 → 0.19.1
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-43MPR64N.css → SheetView-GBGCZMYL.css} +22 -1
- package/dist/{SheetView-43MPR64N.css.map → SheetView-GBGCZMYL.css.map} +1 -1
- package/dist/{SheetView-F4CBWEOS.js → SheetView-P3GH4U73.js} +43 -23
- package/dist/SheetView-P3GH4U73.js.map +1 -0
- package/dist/{TextEditor-ZY4B7YIF.js → TextEditor-U3WODH75.js} +18 -6
- package/dist/TextEditor-U3WODH75.js.map +1 -0
- package/dist/{chunk-TSB2QS56.js → chunk-SJVSGMNK.js} +48 -3
- package/dist/chunk-SJVSGMNK.js.map +1 -0
- package/dist/{chunk-2G34AIPU.js → chunk-VG7UW2CQ.js} +201 -60
- package/dist/chunk-VG7UW2CQ.js.map +1 -0
- package/dist/collab.cjs +335 -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/{grid-IR5YFFSF.js → grid-7OGS3FPU.js} +27 -2
- package/dist/grid-7OGS3FPU.js.map +1 -0
- package/dist/index.cjs +1130 -1053
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +189 -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 +351 -392
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/SheetView-F4CBWEOS.js.map +0 -1
- package/dist/TextEditor-ZY4B7YIF.js.map +0 -1
- package/dist/chunk-2G34AIPU.js.map +0 -1
- package/dist/chunk-TSB2QS56.js.map +0 -1
- package/dist/grid-IR5YFFSF.js.map +0 -1
package/dist/index.css
CHANGED
|
@@ -5169,6 +5169,174 @@ 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
|
+
@media (max-width: 640px) {
|
|
5258
|
+
.w100n-docs .w100n-docs-menu.w100n-docs-context {
|
|
5259
|
+
left: 0 !important;
|
|
5260
|
+
right: 0;
|
|
5261
|
+
top: auto !important;
|
|
5262
|
+
bottom: 0;
|
|
5263
|
+
width: auto;
|
|
5264
|
+
max-height: 80dvh;
|
|
5265
|
+
border-radius: 16px 16px 0 0;
|
|
5266
|
+
}
|
|
5267
|
+
}
|
|
5268
|
+
.w100n-tree-hit {
|
|
5269
|
+
display: block;
|
|
5270
|
+
padding: 0 8px 4px;
|
|
5271
|
+
color: var(--docs-dim);
|
|
5272
|
+
font-size: 11.5px;
|
|
5273
|
+
line-height: 1.4;
|
|
5274
|
+
overflow: hidden;
|
|
5275
|
+
text-overflow: ellipsis;
|
|
5276
|
+
white-space: nowrap;
|
|
5277
|
+
}
|
|
5278
|
+
.w100n-tree-hit mark {
|
|
5279
|
+
border-radius: 3px;
|
|
5280
|
+
background: color-mix(in srgb, var(--docs-accent) 22%, transparent);
|
|
5281
|
+
color: inherit;
|
|
5282
|
+
}
|
|
5283
|
+
.w100n-swatches {
|
|
5284
|
+
display: grid;
|
|
5285
|
+
grid-template-columns: repeat(10, 22px);
|
|
5286
|
+
gap: 5px;
|
|
5287
|
+
}
|
|
5288
|
+
.w100n-docs .w100n-swatches .w100n-swatches-none {
|
|
5289
|
+
grid-column: 1 / -1;
|
|
5290
|
+
display: flex;
|
|
5291
|
+
align-items: center;
|
|
5292
|
+
width: auto;
|
|
5293
|
+
height: 28px;
|
|
5294
|
+
white-space: nowrap;
|
|
5295
|
+
padding: 0 8px;
|
|
5296
|
+
border-radius: 8px;
|
|
5297
|
+
color: var(--docs-muted);
|
|
5298
|
+
font-size: 12px;
|
|
5299
|
+
font-weight: 600;
|
|
5300
|
+
text-align: left;
|
|
5301
|
+
}
|
|
5302
|
+
.w100n-docs .w100n-swatches .w100n-swatches-none:hover {
|
|
5303
|
+
background: var(--docs-hover);
|
|
5304
|
+
}
|
|
5305
|
+
.w100n-docs .w100n-swatches .w100n-swatches-none[aria-pressed=true] {
|
|
5306
|
+
background: var(--docs-active);
|
|
5307
|
+
color: var(--docs-text);
|
|
5308
|
+
}
|
|
5309
|
+
.w100n-swatches-gap {
|
|
5310
|
+
grid-column: 6 / -1;
|
|
5311
|
+
}
|
|
5312
|
+
.w100n-docs .w100n-swatches .w100n-swatch {
|
|
5313
|
+
display: grid;
|
|
5314
|
+
place-items: center;
|
|
5315
|
+
width: 22px;
|
|
5316
|
+
height: 22px;
|
|
5317
|
+
padding: 0;
|
|
5318
|
+
border-radius: 50%;
|
|
5319
|
+
color: #fff;
|
|
5320
|
+
box-shadow: inset 0 0 0 1px rgb(128 128 128 / 45%);
|
|
5321
|
+
transition: transform .1s;
|
|
5322
|
+
}
|
|
5323
|
+
.w100n-docs .w100n-swatches .w100n-swatch:hover {
|
|
5324
|
+
transform: scale(1.12);
|
|
5325
|
+
}
|
|
5326
|
+
.w100n-docs .w100n-swatches .w100n-swatch[data-light] {
|
|
5327
|
+
color: #0f172a;
|
|
5328
|
+
}
|
|
5329
|
+
.w100n-docs .w100n-swatches .w100n-swatch[aria-pressed=true] {
|
|
5330
|
+
box-shadow:
|
|
5331
|
+
inset 0 0 0 1px rgb(128 128 128 / 45%),
|
|
5332
|
+
0 0 0 2px var(--docs-card),
|
|
5333
|
+
0 0 0 4px var(--docs-accent);
|
|
5334
|
+
}
|
|
5335
|
+
.w100n-docs .w100n-swatches .w100n-swatch svg {
|
|
5336
|
+
width: 13px;
|
|
5337
|
+
height: 13px;
|
|
5338
|
+
stroke-width: 3;
|
|
5339
|
+
}
|
|
5172
5340
|
|
|
5173
5341
|
/* src/sheets/sheets.css */
|
|
5174
5342
|
@font-face {
|
|
@@ -5489,4 +5657,25 @@ svg.w100n-pdf-marks {
|
|
|
5489
5657
|
display: none;
|
|
5490
5658
|
}
|
|
5491
5659
|
}
|
|
5660
|
+
.w100n-sheet-size {
|
|
5661
|
+
display: inline-flex;
|
|
5662
|
+
align-items: center;
|
|
5663
|
+
gap: 2px;
|
|
5664
|
+
}
|
|
5665
|
+
.w100n-docs .w100n-sheet-size input {
|
|
5666
|
+
width: 38px;
|
|
5667
|
+
height: 28px;
|
|
5668
|
+
border: 1px solid var(--docs-border);
|
|
5669
|
+
border-radius: 7px;
|
|
5670
|
+
background: var(--docs-bg);
|
|
5671
|
+
color: var(--docs-text);
|
|
5672
|
+
font: inherit;
|
|
5673
|
+
font-size: 12.5px;
|
|
5674
|
+
font-variant-numeric: tabular-nums;
|
|
5675
|
+
text-align: center;
|
|
5676
|
+
outline: none;
|
|
5677
|
+
}
|
|
5678
|
+
.w100n-docs .w100n-sheet-size input:focus {
|
|
5679
|
+
border-color: var(--docs-accent);
|
|
5680
|
+
}
|
|
5492
5681
|
/*# sourceMappingURL=index.css.map */
|