@w100n/documents 0.1.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/index.css ADDED
@@ -0,0 +1,569 @@
1
+ /* src/styles.css */
2
+ .w100n-docs {
3
+ --docs-bg: #faf9f6;
4
+ --docs-panel: #fff;
5
+ --docs-paper: #fff;
6
+ --docs-border: #e6e3eb;
7
+ --docs-text: #34303f;
8
+ --docs-muted: #918b9f;
9
+ --docs-hover: #f3effa;
10
+ --docs-active: #ede5ff;
11
+ --docs-accent: #7c3aed;
12
+ --docs-shadow: 0 8px 24px rgb(32 24 64 / 7%);
13
+ container-type: inline-size;
14
+ display: flex;
15
+ flex-direction: column;
16
+ gap: 10px;
17
+ height: 100%;
18
+ min-height: 0;
19
+ padding: 10px;
20
+ box-sizing: border-box;
21
+ background: var(--docs-bg);
22
+ color: var(--docs-text);
23
+ font-family: inherit;
24
+ font-size: 13px;
25
+ line-height: 1.5;
26
+ }
27
+ .w100n-docs[data-theme=dark] {
28
+ --docs-bg: #10111b;
29
+ --docs-panel: #23212f;
30
+ --docs-paper: #1b1a26;
31
+ --docs-border: #383345;
32
+ --docs-text: #eeeaf5;
33
+ --docs-muted: #a39cb3;
34
+ --docs-hover: #2d2a3c;
35
+ --docs-active: #3a3150;
36
+ --docs-accent: #c4a6ff;
37
+ --docs-shadow: 0 8px 24px rgb(0 0 0 / 35%);
38
+ color-scheme: dark;
39
+ }
40
+ .w100n-docs *,
41
+ .w100n-docs *::before,
42
+ .w100n-docs *::after {
43
+ box-sizing: border-box;
44
+ }
45
+ .w100n-docs button {
46
+ font: inherit;
47
+ color: inherit;
48
+ background: none;
49
+ border: 0;
50
+ cursor: pointer;
51
+ }
52
+ .w100n-docs svg {
53
+ width: 16px;
54
+ height: 16px;
55
+ flex-shrink: 0;
56
+ }
57
+ .w100n-docs-island {
58
+ background: var(--docs-panel);
59
+ border: 1px solid var(--docs-border);
60
+ border-radius: 13px;
61
+ box-shadow: var(--docs-shadow);
62
+ }
63
+ .w100n-docs-bar {
64
+ display: flex;
65
+ align-items: center;
66
+ gap: 10px;
67
+ min-height: 48px;
68
+ padding: 0 10px;
69
+ }
70
+ .w100n-docs-end {
71
+ display: flex;
72
+ align-items: center;
73
+ gap: 6px;
74
+ margin-left: auto;
75
+ }
76
+ .w100n-docs-title {
77
+ min-width: 0;
78
+ overflow: hidden;
79
+ text-overflow: ellipsis;
80
+ white-space: nowrap;
81
+ font-size: 14px;
82
+ font-weight: 650;
83
+ }
84
+ .w100n-docs-icon {
85
+ display: grid;
86
+ place-items: center;
87
+ width: 32px;
88
+ height: 32px;
89
+ border-radius: 9px;
90
+ color: var(--docs-muted);
91
+ }
92
+ .w100n-docs-icon:hover {
93
+ background: var(--docs-hover);
94
+ color: var(--docs-text);
95
+ }
96
+ .w100n-docs-badge {
97
+ display: inline-flex;
98
+ align-items: center;
99
+ height: 20px;
100
+ padding: 0 7px;
101
+ border-radius: 6px;
102
+ background: var(--docs-active);
103
+ color: var(--docs-accent);
104
+ font-size: 11px;
105
+ font-weight: 650;
106
+ white-space: nowrap;
107
+ }
108
+ .w100n-docs-body {
109
+ flex: 1;
110
+ min-height: 0;
111
+ display: flex;
112
+ gap: 10px;
113
+ }
114
+ .w100n-docs-list {
115
+ width: 300px;
116
+ flex-shrink: 0;
117
+ display: flex;
118
+ flex-direction: column;
119
+ gap: 10px;
120
+ padding: 12px;
121
+ min-height: 0;
122
+ }
123
+ .w100n-docs-picker {
124
+ position: relative;
125
+ }
126
+ .w100n-docs-field {
127
+ display: flex;
128
+ align-items: center;
129
+ gap: 8px;
130
+ width: 100%;
131
+ height: 36px;
132
+ padding: 0 10px;
133
+ border: 1px solid var(--docs-border);
134
+ border-radius: 10px;
135
+ background: var(--docs-bg);
136
+ text-align: left;
137
+ }
138
+ .w100n-docs-field > svg:last-child:not(:first-child) {
139
+ margin-left: auto;
140
+ color: var(--docs-muted);
141
+ }
142
+ .w100n-docs-search > svg {
143
+ color: var(--docs-muted);
144
+ }
145
+ .w100n-docs-search input {
146
+ flex: 1;
147
+ min-width: 0;
148
+ border: 0;
149
+ outline: none;
150
+ background: transparent;
151
+ color: inherit;
152
+ font: inherit;
153
+ }
154
+ .w100n-docs-dot {
155
+ width: 9px;
156
+ height: 9px;
157
+ border-radius: 3px;
158
+ background: var(--docs-accent);
159
+ flex-shrink: 0;
160
+ }
161
+ .w100n-docs-menu {
162
+ position: absolute;
163
+ z-index: 5;
164
+ top: calc(100% + 4px);
165
+ left: 0;
166
+ right: 0;
167
+ max-height: 280px;
168
+ overflow-y: auto;
169
+ margin: 0;
170
+ padding: 5px;
171
+ list-style: none;
172
+ background: var(--docs-panel);
173
+ border: 1px solid var(--docs-border);
174
+ border-radius: 11px;
175
+ box-shadow: var(--docs-shadow);
176
+ }
177
+ .w100n-docs-menu button {
178
+ display: flex;
179
+ align-items: center;
180
+ gap: 8px;
181
+ width: 100%;
182
+ height: 32px;
183
+ padding: 0 8px;
184
+ border-radius: 8px;
185
+ text-align: left;
186
+ }
187
+ .w100n-docs-menu button:hover,
188
+ .w100n-docs-menu button[aria-selected=true] {
189
+ background: var(--docs-hover);
190
+ }
191
+ .w100n-docs-chips {
192
+ display: flex;
193
+ flex-wrap: wrap;
194
+ gap: 6px;
195
+ }
196
+ .w100n-docs-chips button {
197
+ height: 26px;
198
+ padding: 0 9px;
199
+ border: 1px solid var(--docs-border);
200
+ border-radius: 8px;
201
+ color: var(--docs-muted);
202
+ font-size: 12px;
203
+ font-weight: 600;
204
+ }
205
+ .w100n-docs-chips button[aria-pressed=true] {
206
+ border-color: transparent;
207
+ background: var(--docs-active);
208
+ color: var(--docs-accent);
209
+ }
210
+ .w100n-docs-cards {
211
+ flex: 1;
212
+ min-height: 0;
213
+ overflow-y: auto;
214
+ display: grid;
215
+ align-content: start;
216
+ gap: 6px;
217
+ margin: 0 -4px;
218
+ padding: 0 4px;
219
+ }
220
+ .w100n-docs-card {
221
+ display: flex;
222
+ align-items: center;
223
+ gap: 10px;
224
+ width: 100%;
225
+ padding: 8px;
226
+ border-radius: 11px;
227
+ text-align: left;
228
+ }
229
+ .w100n-docs-card:hover {
230
+ background: var(--docs-hover);
231
+ }
232
+ .w100n-docs-card[aria-current=true] {
233
+ background: var(--docs-active);
234
+ }
235
+ .w100n-docs-thumb {
236
+ display: grid;
237
+ place-items: center;
238
+ width: 40px;
239
+ height: 48px;
240
+ flex-shrink: 0;
241
+ border-radius: 8px;
242
+ object-fit: cover;
243
+ color: #fff;
244
+ background:
245
+ linear-gradient(
246
+ 135deg,
247
+ #8b5cf6,
248
+ #6d28d9);
249
+ }
250
+ .w100n-docs-thumb[data-kind=docx] {
251
+ background:
252
+ linear-gradient(
253
+ 135deg,
254
+ #3b82f6,
255
+ #1d4ed8);
256
+ }
257
+ .w100n-docs-thumb[data-kind=pdf] {
258
+ background:
259
+ linear-gradient(
260
+ 135deg,
261
+ #f43f5e,
262
+ #be123c);
263
+ }
264
+ .w100n-docs-thumb[data-kind=sheet] {
265
+ background:
266
+ linear-gradient(
267
+ 135deg,
268
+ #10b981,
269
+ #047857);
270
+ }
271
+ .w100n-docs-thumb[data-kind=slides] {
272
+ background:
273
+ linear-gradient(
274
+ 135deg,
275
+ #f59e0b,
276
+ #c2410c);
277
+ }
278
+ .w100n-docs-card-text {
279
+ display: grid;
280
+ min-width: 0;
281
+ }
282
+ .w100n-docs-card-text b {
283
+ overflow: hidden;
284
+ text-overflow: ellipsis;
285
+ white-space: nowrap;
286
+ font-weight: 600;
287
+ }
288
+ .w100n-docs-card-text small,
289
+ .w100n-docs-muted {
290
+ color: var(--docs-muted);
291
+ font-size: 12px;
292
+ }
293
+ .w100n-docs-stage {
294
+ flex: 1;
295
+ min-width: 0;
296
+ min-height: 0;
297
+ overflow: auto;
298
+ display: flex;
299
+ flex-direction: column;
300
+ align-items: center;
301
+ gap: 16px;
302
+ padding: 6px 4px 28px;
303
+ }
304
+ .w100n-docs-empty {
305
+ margin: auto;
306
+ display: grid;
307
+ justify-items: center;
308
+ gap: 10px;
309
+ color: var(--docs-muted);
310
+ }
311
+ .w100n-docs-empty svg {
312
+ width: 32px;
313
+ height: 32px;
314
+ }
315
+ .w100n-docs-note {
316
+ display: flex;
317
+ align-items: center;
318
+ gap: 10px;
319
+ color: var(--docs-muted);
320
+ }
321
+ .w100n-docs-note button {
322
+ color: var(--docs-accent);
323
+ font-weight: 600;
324
+ }
325
+ .w100n-docs-page {
326
+ width: min(820px, 100%);
327
+ padding: 48px 56px;
328
+ border-radius: 10px;
329
+ background: var(--docs-paper);
330
+ box-shadow: var(--docs-shadow);
331
+ }
332
+ .w100n-docs-prose {
333
+ font-size: 15px;
334
+ line-height: 1.7;
335
+ overflow-wrap: anywhere;
336
+ }
337
+ .w100n-docs-prose :is(p, ul, ol, pre, table, blockquote, hr) {
338
+ margin: 0 0 14px;
339
+ }
340
+ .w100n-docs-prose :is(ul, ol) {
341
+ padding-left: 24px;
342
+ }
343
+ .w100n-docs-prose ul {
344
+ list-style: disc;
345
+ }
346
+ .w100n-docs-prose ol {
347
+ list-style: decimal;
348
+ }
349
+ .w100n-docs-prose li + li {
350
+ margin-top: 4px;
351
+ }
352
+ .w100n-docs-prose blockquote {
353
+ padding-left: 14px;
354
+ border-left: 3px solid var(--docs-border);
355
+ color: var(--docs-muted);
356
+ }
357
+ .w100n-docs-prose hr {
358
+ border: 0;
359
+ border-top: 1px solid var(--docs-border);
360
+ }
361
+ .w100n-docs-prose h1,
362
+ .w100n-docs-prose h2,
363
+ .w100n-docs-prose h3 {
364
+ margin: 28px 0 12px;
365
+ font-weight: 650;
366
+ line-height: 1.3;
367
+ scroll-margin-top: 12px;
368
+ }
369
+ .w100n-docs-prose > :first-child {
370
+ margin-top: 0;
371
+ }
372
+ .w100n-docs-prose h1 {
373
+ font-size: 28px;
374
+ }
375
+ .w100n-docs-prose h2 {
376
+ font-size: 21px;
377
+ }
378
+ .w100n-docs-prose h3 {
379
+ font-size: 17px;
380
+ }
381
+ .w100n-docs-prose a {
382
+ color: var(--docs-accent);
383
+ }
384
+ .w100n-docs-prose pre,
385
+ .w100n-docs-prose code {
386
+ border-radius: 6px;
387
+ background: var(--docs-hover);
388
+ }
389
+ .w100n-docs-prose pre {
390
+ padding: 12px 14px;
391
+ overflow-x: auto;
392
+ }
393
+ .w100n-docs-prose code {
394
+ padding: 1px 5px;
395
+ }
396
+ .w100n-docs-prose table {
397
+ border-collapse: collapse;
398
+ display: block;
399
+ overflow-x: auto;
400
+ }
401
+ .w100n-docs-prose th,
402
+ .w100n-docs-prose td {
403
+ padding: 6px 10px;
404
+ border: 1px solid var(--docs-border);
405
+ }
406
+ .w100n-docs-prose img {
407
+ max-width: 100%;
408
+ }
409
+ .w100n-docs-pdf,
410
+ .w100n-docs-docx {
411
+ display: flex;
412
+ flex-direction: column;
413
+ align-items: center;
414
+ gap: 16px;
415
+ width: 100%;
416
+ }
417
+ .w100n-docs-sheet {
418
+ max-width: 100%;
419
+ height: auto;
420
+ border-radius: 6px;
421
+ background: #fff;
422
+ box-shadow: var(--docs-shadow);
423
+ scroll-margin-top: 12px;
424
+ }
425
+ .w100n-docs-docx section.w100n-docx {
426
+ box-shadow: var(--docs-shadow);
427
+ border-radius: 6px;
428
+ }
429
+ .w100n-docs-docx .w100n-docx-wrapper {
430
+ background: transparent;
431
+ padding: 0;
432
+ }
433
+ .w100n-docs-slides {
434
+ width: min(1040px, 100%);
435
+ aspect-ratio: 16 / 9;
436
+ border: 1px solid var(--docs-border);
437
+ border-radius: 12px;
438
+ background: #fff;
439
+ box-shadow: var(--docs-shadow);
440
+ }
441
+ .w100n-docs-panel {
442
+ width: 264px;
443
+ flex-shrink: 0;
444
+ display: flex;
445
+ flex-direction: column;
446
+ gap: 10px;
447
+ padding: 12px;
448
+ min-height: 0;
449
+ overflow-y: auto;
450
+ }
451
+ .w100n-docs-tabs {
452
+ display: flex;
453
+ gap: 2px;
454
+ padding: 3px;
455
+ border-radius: 10px;
456
+ background: var(--docs-bg);
457
+ }
458
+ .w100n-docs-tabs button {
459
+ flex: 1;
460
+ display: flex;
461
+ align-items: center;
462
+ justify-content: center;
463
+ gap: 5px;
464
+ height: 30px;
465
+ border-radius: 8px;
466
+ color: var(--docs-muted);
467
+ font-size: 12px;
468
+ font-weight: 600;
469
+ }
470
+ .w100n-docs-tabs svg {
471
+ width: 14px;
472
+ height: 14px;
473
+ }
474
+ .w100n-docs-tabs button[aria-selected=true] {
475
+ background: var(--docs-panel);
476
+ color: var(--docs-text);
477
+ box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
478
+ }
479
+ .w100n-docs-outline {
480
+ display: grid;
481
+ gap: 2px;
482
+ }
483
+ .w100n-docs-outline button {
484
+ padding: 5px 8px;
485
+ border-radius: 7px;
486
+ text-align: left;
487
+ overflow-wrap: anywhere;
488
+ }
489
+ .w100n-docs-outline button:hover {
490
+ background: var(--docs-hover);
491
+ }
492
+ .w100n-docs-outline button[data-level="2"] {
493
+ padding-left: 20px;
494
+ }
495
+ .w100n-docs-outline button[data-level="3"] {
496
+ padding-left: 32px;
497
+ color: var(--docs-muted);
498
+ }
499
+ .w100n-docs-versions {
500
+ display: grid;
501
+ gap: 4px;
502
+ }
503
+ .w100n-docs-versions button {
504
+ display: grid;
505
+ gap: 2px;
506
+ padding: 8px 10px;
507
+ border-radius: 9px;
508
+ text-align: left;
509
+ }
510
+ .w100n-docs-versions button:hover {
511
+ background: var(--docs-hover);
512
+ }
513
+ .w100n-docs-versions button[aria-pressed=true] {
514
+ background: var(--docs-active);
515
+ }
516
+ .w100n-docs-versions b {
517
+ display: flex;
518
+ align-items: center;
519
+ gap: 6px;
520
+ font-weight: 600;
521
+ }
522
+ .w100n-docs-versions small {
523
+ color: var(--docs-muted);
524
+ font-size: 12px;
525
+ }
526
+ .w100n-docs-details {
527
+ display: grid;
528
+ grid-template-columns: auto 1fr;
529
+ gap: 8px 12px;
530
+ margin: 0;
531
+ }
532
+ .w100n-docs-details dt {
533
+ color: var(--docs-muted);
534
+ }
535
+ .w100n-docs-details dd {
536
+ margin: 0;
537
+ overflow-wrap: anywhere;
538
+ }
539
+ @container (max-width: 1100px) {
540
+ .w100n-docs-panel {
541
+ width: 232px;
542
+ }
543
+ .w100n-docs-list {
544
+ width: 264px;
545
+ }
546
+ }
547
+ @container (max-width: 900px) {
548
+ .w100n-docs-panel {
549
+ display: none;
550
+ }
551
+ .w100n-docs-page {
552
+ padding: 32px 28px;
553
+ }
554
+ }
555
+ @container (max-width: 650px) {
556
+ .w100n-docs-body {
557
+ position: relative;
558
+ }
559
+ .w100n-docs-list {
560
+ position: absolute;
561
+ z-index: 4;
562
+ inset: 0 auto 0 0;
563
+ width: min(320px, 100%);
564
+ }
565
+ .w100n-docs-page {
566
+ padding: 24px 18px;
567
+ }
568
+ }
569
+ /*# sourceMappingURL=index.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/styles.css"],"sourcesContent":[".w100n-docs {\n --docs-bg: #faf9f6; --docs-panel: #fff; --docs-paper: #fff; --docs-border: #e6e3eb; --docs-text: #34303f; --docs-muted: #918b9f;\n --docs-hover: #f3effa; --docs-active: #ede5ff; --docs-accent: #7c3aed; --docs-shadow: 0 8px 24px rgb(32 24 64 / 7%);\n container-type: inline-size; display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 0; padding: 10px; box-sizing: border-box;\n background: var(--docs-bg); color: var(--docs-text); font-family: inherit; font-size: 13px; line-height: 1.5;\n}\n.w100n-docs[data-theme='dark'] {\n --docs-bg: #10111b; --docs-panel: #23212f; --docs-paper: #1b1a26; --docs-border: #383345; --docs-text: #eeeaf5; --docs-muted: #a39cb3;\n --docs-hover: #2d2a3c; --docs-active: #3a3150; --docs-accent: #c4a6ff; --docs-shadow: 0 8px 24px rgb(0 0 0 / 35%); color-scheme: dark;\n}\n.w100n-docs *, .w100n-docs *::before, .w100n-docs *::after { box-sizing: border-box; }\n.w100n-docs button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }\n.w100n-docs svg { width: 16px; height: 16px; flex-shrink: 0; }\n.w100n-docs-island { background: var(--docs-panel); border: 1px solid var(--docs-border); border-radius: 13px; box-shadow: var(--docs-shadow); }\n\n.w100n-docs-bar { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 10px; }\n.w100n-docs-end { display: flex; align-items: center; gap: 6px; margin-left: auto; }\n.w100n-docs-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 650; }\n.w100n-docs-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--docs-muted); }\n.w100n-docs-icon:hover { background: var(--docs-hover); color: var(--docs-text); }\n.w100n-docs-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--docs-active); color: var(--docs-accent); font-size: 11px; font-weight: 650; white-space: nowrap; }\n\n.w100n-docs-body { flex: 1; min-height: 0; display: flex; gap: 10px; }\n.w100n-docs-list { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; min-height: 0; }\n.w100n-docs-picker { position: relative; }\n.w100n-docs-field { display: flex; align-items: center; gap: 8px; width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--docs-border); border-radius: 10px; background: var(--docs-bg); text-align: left; }\n.w100n-docs-field > svg:last-child:not(:first-child) { margin-left: auto; color: var(--docs-muted); }\n.w100n-docs-search > svg { color: var(--docs-muted); }\n.w100n-docs-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: inherit; font: inherit; }\n.w100n-docs-dot { width: 9px; height: 9px; border-radius: 3px; background: var(--docs-accent); flex-shrink: 0; }\n.w100n-docs-menu { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; right: 0; max-height: 280px; overflow-y: auto; margin: 0; padding: 5px; list-style: none; background: var(--docs-panel); border: 1px solid var(--docs-border); border-radius: 11px; box-shadow: var(--docs-shadow); }\n.w100n-docs-menu button { display: flex; align-items: center; gap: 8px; width: 100%; height: 32px; padding: 0 8px; border-radius: 8px; text-align: left; }\n.w100n-docs-menu button:hover, .w100n-docs-menu button[aria-selected='true'] { background: var(--docs-hover); }\n.w100n-docs-chips { display: flex; flex-wrap: wrap; gap: 6px; }\n.w100n-docs-chips button { height: 26px; padding: 0 9px; border: 1px solid var(--docs-border); border-radius: 8px; color: var(--docs-muted); font-size: 12px; font-weight: 600; }\n.w100n-docs-chips button[aria-pressed='true'] { border-color: transparent; background: var(--docs-active); color: var(--docs-accent); }\n.w100n-docs-cards { flex: 1; min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 6px; margin: 0 -4px; padding: 0 4px; }\n.w100n-docs-card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 11px; text-align: left; }\n.w100n-docs-card:hover { background: var(--docs-hover); }\n.w100n-docs-card[aria-current='true'] { background: var(--docs-active); }\n.w100n-docs-thumb { display: grid; place-items: center; width: 40px; height: 48px; flex-shrink: 0; border-radius: 8px; object-fit: cover; color: #fff; background: linear-gradient(135deg, #8b5cf6, #6d28d9); }\n.w100n-docs-thumb[data-kind='docx'] { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }\n.w100n-docs-thumb[data-kind='pdf'] { background: linear-gradient(135deg, #f43f5e, #be123c); }\n.w100n-docs-thumb[data-kind='sheet'] { background: linear-gradient(135deg, #10b981, #047857); }\n.w100n-docs-thumb[data-kind='slides'] { background: linear-gradient(135deg, #f59e0b, #c2410c); }\n.w100n-docs-card-text { display: grid; min-width: 0; }\n.w100n-docs-card-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }\n.w100n-docs-card-text small, .w100n-docs-muted { color: var(--docs-muted); font-size: 12px; }\n\n.w100n-docs-stage { flex: 1; min-width: 0; min-height: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 6px 4px 28px; }\n.w100n-docs-empty { margin: auto; display: grid; justify-items: center; gap: 10px; color: var(--docs-muted); }\n.w100n-docs-empty svg { width: 32px; height: 32px; }\n.w100n-docs-note { display: flex; align-items: center; gap: 10px; color: var(--docs-muted); }\n.w100n-docs-note button { color: var(--docs-accent); font-weight: 600; }\n.w100n-docs-page { width: min(820px, 100%); padding: 48px 56px; border-radius: 10px; background: var(--docs-paper); box-shadow: var(--docs-shadow); }\n.w100n-docs-prose { font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }\n.w100n-docs-prose :is(p, ul, ol, pre, table, blockquote, hr) { margin: 0 0 14px; }\n.w100n-docs-prose :is(ul, ol) { padding-left: 24px; } .w100n-docs-prose ul { list-style: disc; } .w100n-docs-prose ol { list-style: decimal; }\n.w100n-docs-prose li + li { margin-top: 4px; }\n.w100n-docs-prose blockquote { padding-left: 14px; border-left: 3px solid var(--docs-border); color: var(--docs-muted); }\n.w100n-docs-prose hr { border: 0; border-top: 1px solid var(--docs-border); }\n.w100n-docs-prose h1, .w100n-docs-prose h2, .w100n-docs-prose h3 { margin: 28px 0 12px; font-weight: 650; line-height: 1.3; scroll-margin-top: 12px; }\n.w100n-docs-prose > :first-child { margin-top: 0; }\n.w100n-docs-prose h1 { font-size: 28px; } .w100n-docs-prose h2 { font-size: 21px; } .w100n-docs-prose h3 { font-size: 17px; }\n.w100n-docs-prose a { color: var(--docs-accent); }\n.w100n-docs-prose pre, .w100n-docs-prose code { border-radius: 6px; background: var(--docs-hover); }\n.w100n-docs-prose pre { padding: 12px 14px; overflow-x: auto; } .w100n-docs-prose code { padding: 1px 5px; }\n.w100n-docs-prose table { border-collapse: collapse; display: block; overflow-x: auto; }\n.w100n-docs-prose th, .w100n-docs-prose td { padding: 6px 10px; border: 1px solid var(--docs-border); }\n.w100n-docs-prose img { max-width: 100%; }\n.w100n-docs-pdf, .w100n-docs-docx { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }\n.w100n-docs-sheet { max-width: 100%; height: auto; border-radius: 6px; background: #fff; box-shadow: var(--docs-shadow); scroll-margin-top: 12px; }\n.w100n-docs-docx section.w100n-docx { box-shadow: var(--docs-shadow); border-radius: 6px; }\n.w100n-docs-docx .w100n-docx-wrapper { background: transparent; padding: 0; }\n.w100n-docs-slides { width: min(1040px, 100%); aspect-ratio: 16 / 9; border: 1px solid var(--docs-border); border-radius: 12px; background: #fff; box-shadow: var(--docs-shadow); }\n\n.w100n-docs-panel { width: 264px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; min-height: 0; overflow-y: auto; }\n.w100n-docs-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--docs-bg); }\n.w100n-docs-tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; border-radius: 8px; color: var(--docs-muted); font-size: 12px; font-weight: 600; }\n.w100n-docs-tabs svg { width: 14px; height: 14px; }\n.w100n-docs-tabs button[aria-selected='true'] { background: var(--docs-panel); color: var(--docs-text); box-shadow: 0 1px 3px rgb(0 0 0 / 8%); }\n.w100n-docs-outline { display: grid; gap: 2px; }\n.w100n-docs-outline button { padding: 5px 8px; border-radius: 7px; text-align: left; overflow-wrap: anywhere; }\n.w100n-docs-outline button:hover { background: var(--docs-hover); }\n.w100n-docs-outline button[data-level='2'] { padding-left: 20px; } .w100n-docs-outline button[data-level='3'] { padding-left: 32px; color: var(--docs-muted); }\n.w100n-docs-versions { display: grid; gap: 4px; }\n.w100n-docs-versions button { display: grid; gap: 2px; padding: 8px 10px; border-radius: 9px; text-align: left; }\n.w100n-docs-versions button:hover { background: var(--docs-hover); }\n.w100n-docs-versions button[aria-pressed='true'] { background: var(--docs-active); }\n.w100n-docs-versions b { display: flex; align-items: center; gap: 6px; font-weight: 600; }\n.w100n-docs-versions small { color: var(--docs-muted); font-size: 12px; }\n.w100n-docs-details { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0; }\n.w100n-docs-details dt { color: var(--docs-muted); } .w100n-docs-details dd { margin: 0; overflow-wrap: anywhere; }\n\n@container (max-width: 1100px) { .w100n-docs-panel { width: 232px; } .w100n-docs-list { width: 264px; } }\n@container (max-width: 900px) { .w100n-docs-panel { display: none; } .w100n-docs-page { padding: 32px 28px; } }\n@container (max-width: 650px) {\n .w100n-docs-body { position: relative; }\n .w100n-docs-list { position: absolute; z-index: 4; inset: 0 auto 0 0; width: min(320px, 100%); }\n .w100n-docs-page { padding: 24px 18px; }\n}\n"],"mappings":";AAAA,CAAC;AACC,aAAW;AAAS,gBAAc;AAAM,gBAAc;AAAM,iBAAe;AAAS,eAAa;AAAS,gBAAc;AACxH,gBAAc;AAAS,iBAAe;AAAS,iBAAe;AAAS,iBAAe,EAAE,IAAI,KAAK,IAAI,GAAG,GAAG,GAAG,EAAE;AAChH,kBAAgB;AAAa,WAAS;AAAM,kBAAgB;AAAQ,OAAK;AAAM,UAAQ;AAAM,cAAY;AAAG,WAAS;AAAM,cAAY;AACvI,cAAY,IAAI;AAAY,SAAO,IAAI;AAAc,eAAa;AAAS,aAAW;AAAM,eAAa;AAC3G;AACA,CANC,UAMU,CAAC;AACV,aAAW;AAAS,gBAAc;AAAS,gBAAc;AAAS,iBAAe;AAAS,eAAa;AAAS,gBAAc;AAC9H,gBAAc;AAAS,iBAAe;AAAS,iBAAe;AAAS,iBAAe,EAAE,IAAI,KAAK,IAAI,EAAE,EAAE,EAAE,EAAE;AAAM,gBAAc;AACnI;AACA,CAVC,WAUW;AAAG,CAVd,WAU0B,CAAC;AAAU,CAVrC,WAUiD,CAAC;AAAU,cAAY;AAAY;AACrF,CAXC,WAWW;AAAS,QAAM;AAAS,SAAO;AAAS,cAAY;AAAM,UAAQ;AAAG,UAAQ;AAAS;AAClG,CAZC,WAYW;AAAM,SAAO;AAAM,UAAQ;AAAM,eAAa;AAAG;AAC7D,CAAC;AAAoB,cAAY,IAAI;AAAe,UAAQ,IAAI,MAAM,IAAI;AAAgB,iBAAe;AAAM,cAAY,IAAI;AAAgB;AAE/I,CAAC;AAAiB,WAAS;AAAM,eAAa;AAAQ,OAAK;AAAM,cAAY;AAAM,WAAS,EAAE;AAAM;AACpG,CAAC;AAAiB,WAAS;AAAM,eAAa;AAAQ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;AAAM,OAAK;AAAK;AAChD,CADC,oBACoB;AAAS,WAAS;AAAM,OAAK;AAAK,WAAS,IAAI;AAAM,iBAAe;AAAK,cAAY;AAAM;AAChH,CAFC,oBAEoB,MAAM;AAAS,cAAY,IAAI;AAAe;AACnE,CAHC,oBAGoB,MAAM,CAAC;AAAuB,cAAY,IAAI;AAAgB;AACnF,CAJC,oBAIoB;AAAI,WAAS;AAAM,eAAa;AAAQ,OAAK;AAAK,eAAa;AAAK;AACzF,CALC,oBAKoB;AAAQ,SAAO,IAAI;AAAe,aAAW;AAAM;AACxE,CAAC;AAAqB,WAAS;AAAM,yBAAuB,KAAK;AAAK,OAAK,IAAI;AAAM,UAAQ;AAAG;AAChG,CADC,mBACmB;AAAK,SAAO,IAAI;AAAe;AAAE,CADpD,mBACwE;AAAK,UAAQ;AAAG,iBAAe;AAAU;AAElH,WAAW,CAAC,SAAS,EAAE;AAAU,GAlBhC;AAkBoD,WAAO;AAAO;AAAE,GAvEpE;AAuEuF,WAAO;AAAO;AAAE;AACxG,WAAW,CAAC,SAAS,EAAE;AAAS,GAnB/B;AAmBmD,aAAS;AAAM;AAAE,GAzCpE;AAyCuF,aAAS,KAAK;AAAM;AAAE;AAC9G,WAAW,CAAC,SAAS,EAAE;AACrB,GA3ED;AA2EoB,cAAU;AAAU;AACvC,GA3ED;AA2EoB,cAAU;AAAU,aAAS;AAAG,WAAO,EAAE,KAAK,EAAE;AAAG,WAAO,IAAI,KAAK,EAAE;AAAO;AAC/F,GA7CD;AA6CoB,aAAS,KAAK;AAAM;AACzC;","names":[]}
@@ -0,0 +1,23 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+ import { D as DocumentsHost, L as Language, P as Place, a as DocumentKind } from './types-aZrEQFiC.cjs';
4
+ export { b as DocumentFile, c as DocumentSummary, d as DocumentVersion, F as Fetch, e as Person, R as Rights, S as Space } from './types-aZrEQFiC.cjs';
5
+
6
+ declare function DocumentsWorkspace({ host, language, theme, place, onPlace, start, end }: {
7
+ host: DocumentsHost;
8
+ language?: Language;
9
+ theme?: 'light' | 'dark';
10
+ place?: Place;
11
+ onPlace?: (place: Place) => void;
12
+ start?: ReactNode;
13
+ end?: ReactNode;
14
+ }): react.JSX.Element;
15
+
16
+ declare const kinds: DocumentKind[];
17
+ declare function kindOf(name: string, mimeType?: string | null): DocumentKind | null;
18
+ declare function matches(doc: {
19
+ name: string;
20
+ kind: DocumentKind;
21
+ }, query: string, kind: DocumentKind | 'all'): boolean;
22
+
23
+ export { DocumentKind, DocumentsHost, DocumentsWorkspace, Language, Place, kindOf, kinds, matches };
@@ -0,0 +1,23 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+ import { D as DocumentsHost, L as Language, P as Place, a as DocumentKind } from './types-aZrEQFiC.js';
4
+ export { b as DocumentFile, c as DocumentSummary, d as DocumentVersion, F as Fetch, e as Person, R as Rights, S as Space } from './types-aZrEQFiC.js';
5
+
6
+ declare function DocumentsWorkspace({ host, language, theme, place, onPlace, start, end }: {
7
+ host: DocumentsHost;
8
+ language?: Language;
9
+ theme?: 'light' | 'dark';
10
+ place?: Place;
11
+ onPlace?: (place: Place) => void;
12
+ start?: ReactNode;
13
+ end?: ReactNode;
14
+ }): react.JSX.Element;
15
+
16
+ declare const kinds: DocumentKind[];
17
+ declare function kindOf(name: string, mimeType?: string | null): DocumentKind | null;
18
+ declare function matches(doc: {
19
+ name: string;
20
+ kind: DocumentKind;
21
+ }, query: string, kind: DocumentKind | 'all'): boolean;
22
+
23
+ export { DocumentKind, DocumentsHost, DocumentsWorkspace, Language, Place, kindOf, kinds, matches };