docstra 1.1.2 → 1.2.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.
Files changed (2) hide show
  1. package/dist/styles.css +1 -1253
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -1,1253 +1 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
- @layer properties;
3
- @layer theme, base, components, utilities;
4
- @layer theme {
5
- :root, :host {
6
- --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
7
- "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
8
- --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
9
- "Courier New", monospace;
10
- --color-red-100: oklch(93.6% 0.032 17.717);
11
- --color-red-300: oklch(80.8% 0.114 19.571);
12
- --color-red-600: oklch(57.7% 0.245 27.325);
13
- --color-green-100: oklch(96.2% 0.044 156.743);
14
- --color-green-300: oklch(87.1% 0.15 154.449);
15
- --color-green-600: oklch(62.7% 0.194 149.214);
16
- --color-blue-500: oklch(62.3% 0.214 259.815);
17
- --color-blue-700: oklch(48.8% 0.243 264.376);
18
- --color-indigo-500: oklch(58.5% 0.233 277.117);
19
- --color-slate-200: oklch(92.9% 0.013 255.508);
20
- --color-gray-50: oklch(98.5% 0.002 247.839);
21
- --color-gray-100: oklch(96.7% 0.003 264.542);
22
- --color-gray-200: oklch(92.8% 0.006 264.531);
23
- --color-gray-300: oklch(87.2% 0.01 258.338);
24
- --color-gray-400: oklch(70.7% 0.022 261.325);
25
- --color-gray-500: oklch(55.1% 0.027 264.364);
26
- --color-gray-600: oklch(44.6% 0.03 256.802);
27
- --color-gray-700: oklch(37.3% 0.034 259.733);
28
- --color-gray-800: oklch(27.8% 0.033 256.848);
29
- --color-gray-900: oklch(21% 0.034 264.665);
30
- --color-black: #000;
31
- --color-white: #fff;
32
- --spacing: 0.25rem;
33
- --container-lg: 32rem;
34
- --container-2xl: 42rem;
35
- --text-xs: 0.75rem;
36
- --text-xs--line-height: calc(1 / 0.75);
37
- --text-sm: 0.875rem;
38
- --text-sm--line-height: calc(1.25 / 0.875);
39
- --text-base: 1rem;
40
- --text-base--line-height: calc(1.5 / 1);
41
- --text-lg: 1.125rem;
42
- --text-lg--line-height: calc(1.75 / 1.125);
43
- --text-xl: 1.25rem;
44
- --text-xl--line-height: calc(1.75 / 1.25);
45
- --text-2xl: 1.5rem;
46
- --text-2xl--line-height: calc(2 / 1.5);
47
- --text-3xl: 1.875rem;
48
- --text-3xl--line-height: calc(2.25 / 1.875);
49
- --font-weight-normal: 400;
50
- --font-weight-medium: 500;
51
- --font-weight-semibold: 600;
52
- --font-weight-bold: 700;
53
- --radius-md: 0.375rem;
54
- --radius-lg: 0.5rem;
55
- --animate-spin: spin 1s linear infinite;
56
- --blur-md: 12px;
57
- --default-transition-duration: 150ms;
58
- --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
59
- --default-font-family: var(--font-sans);
60
- --default-mono-font-family: var(--font-mono);
61
- }
62
- }
63
- @layer base {
64
- *, ::after, ::before, ::backdrop, ::file-selector-button {
65
- box-sizing: border-box;
66
- margin: 0;
67
- padding: 0;
68
- border: 0 solid;
69
- }
70
- html, :host {
71
- line-height: 1.5;
72
- -webkit-text-size-adjust: 100%;
73
- tab-size: 4;
74
- font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
75
- font-feature-settings: var(--default-font-feature-settings, normal);
76
- font-variation-settings: var(--default-font-variation-settings, normal);
77
- -webkit-tap-highlight-color: transparent;
78
- }
79
- hr {
80
- height: 0;
81
- color: inherit;
82
- border-top-width: 1px;
83
- }
84
- abbr:where([title]) {
85
- -webkit-text-decoration: underline dotted;
86
- text-decoration: underline dotted;
87
- }
88
- h1, h2, h3, h4, h5, h6 {
89
- font-size: inherit;
90
- font-weight: inherit;
91
- }
92
- a {
93
- color: inherit;
94
- -webkit-text-decoration: inherit;
95
- text-decoration: inherit;
96
- }
97
- b, strong {
98
- font-weight: bolder;
99
- }
100
- code, kbd, samp, pre {
101
- font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
102
- font-feature-settings: var(--default-mono-font-feature-settings, normal);
103
- font-variation-settings: var(--default-mono-font-variation-settings, normal);
104
- font-size: 1em;
105
- }
106
- small {
107
- font-size: 80%;
108
- }
109
- sub, sup {
110
- font-size: 75%;
111
- line-height: 0;
112
- position: relative;
113
- vertical-align: baseline;
114
- }
115
- sub {
116
- bottom: -0.25em;
117
- }
118
- sup {
119
- top: -0.5em;
120
- }
121
- table {
122
- text-indent: 0;
123
- border-color: inherit;
124
- border-collapse: collapse;
125
- }
126
- :-moz-focusring {
127
- outline: auto;
128
- }
129
- progress {
130
- vertical-align: baseline;
131
- }
132
- summary {
133
- display: list-item;
134
- }
135
- ol, ul, menu {
136
- list-style: none;
137
- }
138
- img, svg, video, canvas, audio, iframe, embed, object {
139
- display: block;
140
- vertical-align: middle;
141
- }
142
- img, video {
143
- max-width: 100%;
144
- height: auto;
145
- }
146
- button, input, select, optgroup, textarea, ::file-selector-button {
147
- font: inherit;
148
- font-feature-settings: inherit;
149
- font-variation-settings: inherit;
150
- letter-spacing: inherit;
151
- color: inherit;
152
- border-radius: 0;
153
- background-color: transparent;
154
- opacity: 1;
155
- }
156
- :where(select:is([multiple], [size])) optgroup {
157
- font-weight: bolder;
158
- }
159
- :where(select:is([multiple], [size])) optgroup option {
160
- padding-inline-start: 20px;
161
- }
162
- ::file-selector-button {
163
- margin-inline-end: 4px;
164
- }
165
- ::placeholder {
166
- opacity: 1;
167
- }
168
- @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
169
- ::placeholder {
170
- color: currentcolor;
171
- @supports (color: color-mix(in lab, red, red)) {
172
- color: color-mix(in oklab, currentcolor 50%, transparent);
173
- }
174
- }
175
- }
176
- textarea {
177
- resize: vertical;
178
- }
179
- ::-webkit-search-decoration {
180
- -webkit-appearance: none;
181
- }
182
- ::-webkit-date-and-time-value {
183
- min-height: 1lh;
184
- text-align: inherit;
185
- }
186
- ::-webkit-datetime-edit {
187
- display: inline-flex;
188
- }
189
- ::-webkit-datetime-edit-fields-wrapper {
190
- padding: 0;
191
- }
192
- ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
193
- padding-block: 0;
194
- }
195
- ::-webkit-calendar-picker-indicator {
196
- line-height: 1;
197
- }
198
- :-moz-ui-invalid {
199
- box-shadow: none;
200
- }
201
- button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
202
- appearance: button;
203
- }
204
- ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
205
- height: auto;
206
- }
207
- [hidden]:where(:not([hidden="until-found"])) {
208
- display: none !important;
209
- }
210
- }
211
- @layer utilities {
212
- .pointer-events-auto {
213
- pointer-events: auto;
214
- }
215
- .pointer-events-none {
216
- pointer-events: none;
217
- }
218
- .visible {
219
- visibility: visible;
220
- }
221
- .absolute {
222
- position: absolute;
223
- }
224
- .fixed {
225
- position: fixed;
226
- }
227
- .relative {
228
- position: relative;
229
- }
230
- .sticky {
231
- position: sticky;
232
- }
233
- .inset-0 {
234
- inset: calc(var(--spacing) * 0);
235
- }
236
- .top-0 {
237
- top: calc(var(--spacing) * 0);
238
- }
239
- .top-1\/2 {
240
- top: calc(1/2 * 100%);
241
- }
242
- .top-18 {
243
- top: calc(var(--spacing) * 18);
244
- }
245
- .top-32 {
246
- top: calc(var(--spacing) * 32);
247
- }
248
- .top-full {
249
- top: 100%;
250
- }
251
- .left-1\/2 {
252
- left: calc(1/2 * 100%);
253
- }
254
- .z-10 {
255
- z-index: 10;
256
- }
257
- .z-20 {
258
- z-index: 20;
259
- }
260
- .z-21 {
261
- z-index: 21;
262
- }
263
- .z-25 {
264
- z-index: 25;
265
- }
266
- .m-2 {
267
- margin: calc(var(--spacing) * 2);
268
- }
269
- .mx-3 {
270
- margin-inline: calc(var(--spacing) * 3);
271
- }
272
- .mx-6 {
273
- margin-inline: calc(var(--spacing) * 6);
274
- }
275
- .mx-auto {
276
- margin-inline: auto;
277
- }
278
- .my-4 {
279
- margin-block: calc(var(--spacing) * 4);
280
- }
281
- .my-5 {
282
- margin-block: calc(var(--spacing) * 5);
283
- }
284
- .my-6 {
285
- margin-block: calc(var(--spacing) * 6);
286
- }
287
- .my-8 {
288
- margin-block: calc(var(--spacing) * 8);
289
- }
290
- .my-10 {
291
- margin-block: calc(var(--spacing) * 10);
292
- }
293
- .ms-auto {
294
- margin-inline-start: auto;
295
- }
296
- .mt-1 {
297
- margin-top: calc(var(--spacing) * 1);
298
- }
299
- .mt-2 {
300
- margin-top: calc(var(--spacing) * 2);
301
- }
302
- .mt-3 {
303
- margin-top: calc(var(--spacing) * 3);
304
- }
305
- .mt-4 {
306
- margin-top: calc(var(--spacing) * 4);
307
- }
308
- .mt-6 {
309
- margin-top: calc(var(--spacing) * 6);
310
- }
311
- .mt-10 {
312
- margin-top: calc(var(--spacing) * 10);
313
- }
314
- .mt-20 {
315
- margin-top: calc(var(--spacing) * 20);
316
- }
317
- .mt-30 {
318
- margin-top: calc(var(--spacing) * 30);
319
- }
320
- .mr-2 {
321
- margin-right: calc(var(--spacing) * 2);
322
- }
323
- .mr-3 {
324
- margin-right: calc(var(--spacing) * 3);
325
- }
326
- .mb-2 {
327
- margin-bottom: calc(var(--spacing) * 2);
328
- }
329
- .mb-4 {
330
- margin-bottom: calc(var(--spacing) * 4);
331
- }
332
- .mb-5 {
333
- margin-bottom: calc(var(--spacing) * 5);
334
- }
335
- .ml-1 {
336
- margin-left: calc(var(--spacing) * 1);
337
- }
338
- .ml-2 {
339
- margin-left: calc(var(--spacing) * 2);
340
- }
341
- .block {
342
- display: block;
343
- }
344
- .flex {
345
- display: flex;
346
- }
347
- .hidden {
348
- display: none;
349
- }
350
- .inline-flex {
351
- display: inline-flex;
352
- }
353
- .aspect-square {
354
- aspect-ratio: 1 / 1;
355
- }
356
- .size-3\.5 {
357
- width: calc(var(--spacing) * 3.5);
358
- height: calc(var(--spacing) * 3.5);
359
- }
360
- .size-4 {
361
- width: calc(var(--spacing) * 4);
362
- height: calc(var(--spacing) * 4);
363
- }
364
- .size-4\.5 {
365
- width: calc(var(--spacing) * 4.5);
366
- height: calc(var(--spacing) * 4.5);
367
- }
368
- .size-5 {
369
- width: calc(var(--spacing) * 5);
370
- height: calc(var(--spacing) * 5);
371
- }
372
- .size-5\.5 {
373
- width: calc(var(--spacing) * 5.5);
374
- height: calc(var(--spacing) * 5.5);
375
- }
376
- .size-6 {
377
- width: calc(var(--spacing) * 6);
378
- height: calc(var(--spacing) * 6);
379
- }
380
- .size-6\.5 {
381
- width: calc(var(--spacing) * 6.5);
382
- height: calc(var(--spacing) * 6.5);
383
- }
384
- .h-4 {
385
- height: calc(var(--spacing) * 4);
386
- }
387
- .h-4\.5 {
388
- height: calc(var(--spacing) * 4.5);
389
- }
390
- .h-9\.5 {
391
- height: calc(var(--spacing) * 9.5);
392
- }
393
- .h-12 {
394
- height: calc(var(--spacing) * 12);
395
- }
396
- .h-15 {
397
- height: calc(var(--spacing) * 15);
398
- }
399
- .h-18 {
400
- height: calc(var(--spacing) * 18);
401
- }
402
- .h-\[calc\(100svh-72px\)\] {
403
- height: calc(100svh - 72px);
404
- }
405
- .h-full {
406
- height: 100%;
407
- }
408
- .min-h-screen {
409
- min-height: 100vh;
410
- }
411
- .w-4 {
412
- width: calc(var(--spacing) * 4);
413
- }
414
- .w-64 {
415
- width: calc(var(--spacing) * 64);
416
- }
417
- .w-auto {
418
- width: auto;
419
- }
420
- .w-full {
421
- width: 100%;
422
- }
423
- .w-max {
424
- width: max-content;
425
- }
426
- .w-screen {
427
- width: 100vw;
428
- }
429
- .max-w-2xl {
430
- max-width: var(--container-2xl);
431
- }
432
- .max-w-full {
433
- max-width: 100%;
434
- }
435
- .max-w-lg {
436
- max-width: var(--container-lg);
437
- }
438
- .flex-1 {
439
- flex: 1;
440
- }
441
- .shrink-0 {
442
- flex-shrink: 0;
443
- }
444
- .-translate-x-1\/2 {
445
- --tw-translate-x: calc(calc(1/2 * 100%) * -1);
446
- translate: var(--tw-translate-x) var(--tw-translate-y);
447
- }
448
- .-translate-y-1\/2 {
449
- --tw-translate-y: calc(calc(1/2 * 100%) * -1);
450
- translate: var(--tw-translate-x) var(--tw-translate-y);
451
- }
452
- .animate-spin {
453
- animation: var(--animate-spin);
454
- }
455
- .cursor-pointer {
456
- cursor: pointer;
457
- }
458
- .resize-none {
459
- resize: none;
460
- }
461
- .scroll-mt-26 {
462
- scroll-margin-top: calc(var(--spacing) * 26);
463
- }
464
- .list-\[\'-\'\] {
465
- list-style-type: '-';
466
- }
467
- .list-decimal {
468
- list-style-type: decimal;
469
- }
470
- .flex-col {
471
- flex-direction: column;
472
- }
473
- .items-center {
474
- align-items: center;
475
- }
476
- .items-end {
477
- align-items: flex-end;
478
- }
479
- .items-start {
480
- align-items: flex-start;
481
- }
482
- .justify-between {
483
- justify-content: space-between;
484
- }
485
- .justify-center {
486
- justify-content: center;
487
- }
488
- .gap-0\.5 {
489
- gap: calc(var(--spacing) * 0.5);
490
- }
491
- .gap-1 {
492
- gap: calc(var(--spacing) * 1);
493
- }
494
- .gap-2 {
495
- gap: calc(var(--spacing) * 2);
496
- }
497
- .gap-3 {
498
- gap: calc(var(--spacing) * 3);
499
- }
500
- .space-y-2 {
501
- :where(& > :not(:last-child)) {
502
- --tw-space-y-reverse: 0;
503
- margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
504
- margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
505
- }
506
- }
507
- .space-y-4 {
508
- :where(& > :not(:last-child)) {
509
- --tw-space-y-reverse: 0;
510
- margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
511
- margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
512
- }
513
- }
514
- .space-x-2 {
515
- :where(& > :not(:last-child)) {
516
- --tw-space-x-reverse: 0;
517
- margin-inline-start: calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));
518
- margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
519
- }
520
- }
521
- .divide-x {
522
- :where(& > :not(:last-child)) {
523
- --tw-divide-x-reverse: 0;
524
- border-inline-style: var(--tw-border-style);
525
- border-inline-start-width: calc(1px * var(--tw-divide-x-reverse));
526
- border-inline-end-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));
527
- }
528
- }
529
- .divide-gray-200 {
530
- :where(& > :not(:last-child)) {
531
- border-color: var(--color-gray-200);
532
- }
533
- }
534
- .overflow-hidden {
535
- overflow: hidden;
536
- }
537
- .overflow-x-auto {
538
- overflow-x: auto;
539
- }
540
- .overflow-y-auto {
541
- overflow-y: auto;
542
- }
543
- .rounded {
544
- border-radius: 0.25rem;
545
- }
546
- .rounded-full {
547
- border-radius: calc(infinity * 1px);
548
- }
549
- .rounded-lg {
550
- border-radius: var(--radius-lg);
551
- }
552
- .rounded-md {
553
- border-radius: var(--radius-md);
554
- }
555
- .rounded-t-lg {
556
- border-top-left-radius: var(--radius-lg);
557
- border-top-right-radius: var(--radius-lg);
558
- }
559
- .rounded-b-none {
560
- border-bottom-right-radius: 0;
561
- border-bottom-left-radius: 0;
562
- }
563
- .border {
564
- border-style: var(--tw-border-style);
565
- border-width: 1px;
566
- }
567
- .border-y {
568
- border-block-style: var(--tw-border-style);
569
- border-block-width: 1px;
570
- }
571
- .border-r {
572
- border-right-style: var(--tw-border-style);
573
- border-right-width: 1px;
574
- }
575
- .border-b {
576
- border-bottom-style: var(--tw-border-style);
577
- border-bottom-width: 1px;
578
- }
579
- .border-b-0 {
580
- border-bottom-style: var(--tw-border-style);
581
- border-bottom-width: 0px;
582
- }
583
- .border-l {
584
- border-left-style: var(--tw-border-style);
585
- border-left-width: 1px;
586
- }
587
- .border-l-4 {
588
- border-left-style: var(--tw-border-style);
589
- border-left-width: 4px;
590
- }
591
- .border-gray-100 {
592
- border-color: var(--color-gray-100);
593
- }
594
- .border-gray-200 {
595
- border-color: var(--color-gray-200);
596
- }
597
- .border-gray-200\/80 {
598
- border-color: color-mix(in srgb, oklch(92.8% 0.006 264.531) 80%, transparent);
599
- @supports (color: color-mix(in lab, red, red)) {
600
- border-color: color-mix(in oklab, var(--color-gray-200) 80%, transparent);
601
- }
602
- }
603
- .border-gray-300 {
604
- border-color: var(--color-gray-300);
605
- }
606
- .border-gray-800 {
607
- border-color: var(--color-gray-800);
608
- }
609
- .border-green-300 {
610
- border-color: var(--color-green-300);
611
- }
612
- .border-red-300 {
613
- border-color: var(--color-red-300);
614
- }
615
- .border-slate-200 {
616
- border-color: var(--color-slate-200);
617
- }
618
- .bg-black\/50 {
619
- background-color: color-mix(in srgb, #000 50%, transparent);
620
- @supports (color: color-mix(in lab, red, red)) {
621
- background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
622
- }
623
- }
624
- .bg-gray-50 {
625
- background-color: var(--color-gray-50);
626
- }
627
- .bg-gray-100 {
628
- background-color: var(--color-gray-100);
629
- }
630
- .bg-gray-900 {
631
- background-color: var(--color-gray-900);
632
- }
633
- .bg-green-100 {
634
- background-color: var(--color-green-100);
635
- }
636
- .bg-red-100 {
637
- background-color: var(--color-red-100);
638
- }
639
- .bg-transparent {
640
- background-color: transparent;
641
- }
642
- .bg-white {
643
- background-color: var(--color-white);
644
- }
645
- .bg-white\/40 {
646
- background-color: color-mix(in srgb, #fff 40%, transparent);
647
- @supports (color: color-mix(in lab, red, red)) {
648
- background-color: color-mix(in oklab, var(--color-white) 40%, transparent);
649
- }
650
- }
651
- .fill-green-600 {
652
- fill: var(--color-green-600);
653
- }
654
- .fill-red-600 {
655
- fill: var(--color-red-600);
656
- }
657
- .p-0\.5 {
658
- padding: calc(var(--spacing) * 0.5);
659
- }
660
- .p-1\.5 {
661
- padding: calc(var(--spacing) * 1.5);
662
- }
663
- .p-2 {
664
- padding: calc(var(--spacing) * 2);
665
- }
666
- .p-2\.5 {
667
- padding: calc(var(--spacing) * 2.5);
668
- }
669
- .p-3 {
670
- padding: calc(var(--spacing) * 3);
671
- }
672
- .p-4 {
673
- padding: calc(var(--spacing) * 4);
674
- }
675
- .p-6 {
676
- padding: calc(var(--spacing) * 6);
677
- }
678
- .px-1 {
679
- padding-inline: calc(var(--spacing) * 1);
680
- }
681
- .px-1\.5 {
682
- padding-inline: calc(var(--spacing) * 1.5);
683
- }
684
- .px-2 {
685
- padding-inline: calc(var(--spacing) * 2);
686
- }
687
- .px-2\.5 {
688
- padding-inline: calc(var(--spacing) * 2.5);
689
- }
690
- .px-3 {
691
- padding-inline: calc(var(--spacing) * 3);
692
- }
693
- .px-4 {
694
- padding-inline: calc(var(--spacing) * 4);
695
- }
696
- .px-6 {
697
- padding-inline: calc(var(--spacing) * 6);
698
- }
699
- .py-0\.5 {
700
- padding-block: calc(var(--spacing) * 0.5);
701
- }
702
- .py-1\.5 {
703
- padding-block: calc(var(--spacing) * 1.5);
704
- }
705
- .py-2 {
706
- padding-block: calc(var(--spacing) * 2);
707
- }
708
- .py-3 {
709
- padding-block: calc(var(--spacing) * 3);
710
- }
711
- .py-10 {
712
- padding-block: calc(var(--spacing) * 10);
713
- }
714
- .pt-0\.5 {
715
- padding-top: calc(var(--spacing) * 0.5);
716
- }
717
- .pr-4 {
718
- padding-right: calc(var(--spacing) * 4);
719
- }
720
- .pr-10 {
721
- padding-right: calc(var(--spacing) * 10);
722
- }
723
- .pb-4 {
724
- padding-bottom: calc(var(--spacing) * 4);
725
- }
726
- .pb-10 {
727
- padding-bottom: calc(var(--spacing) * 10);
728
- }
729
- .pl-3 {
730
- padding-left: calc(var(--spacing) * 3);
731
- }
732
- .pl-4 {
733
- padding-left: calc(var(--spacing) * 4);
734
- }
735
- .pl-8 {
736
- padding-left: calc(var(--spacing) * 8);
737
- }
738
- .pl-10 {
739
- padding-left: calc(var(--spacing) * 10);
740
- }
741
- .text-left {
742
- text-align: left;
743
- }
744
- .font-mono {
745
- font-family: var(--font-mono);
746
- }
747
- .text-2xl {
748
- font-size: var(--text-2xl);
749
- line-height: var(--tw-leading, var(--text-2xl--line-height));
750
- }
751
- .text-3xl {
752
- font-size: var(--text-3xl);
753
- line-height: var(--tw-leading, var(--text-3xl--line-height));
754
- }
755
- .text-base {
756
- font-size: var(--text-base);
757
- line-height: var(--tw-leading, var(--text-base--line-height));
758
- }
759
- .text-base\/7 {
760
- font-size: var(--text-base);
761
- line-height: calc(var(--spacing) * 7);
762
- }
763
- .text-lg {
764
- font-size: var(--text-lg);
765
- line-height: var(--tw-leading, var(--text-lg--line-height));
766
- }
767
- .text-sm {
768
- font-size: var(--text-sm);
769
- line-height: var(--tw-leading, var(--text-sm--line-height));
770
- }
771
- .text-xl {
772
- font-size: var(--text-xl);
773
- line-height: var(--tw-leading, var(--text-xl--line-height));
774
- }
775
- .text-xs {
776
- font-size: var(--text-xs);
777
- line-height: var(--tw-leading, var(--text-xs--line-height));
778
- }
779
- .font-bold {
780
- --tw-font-weight: var(--font-weight-bold);
781
- font-weight: var(--font-weight-bold);
782
- }
783
- .font-medium {
784
- --tw-font-weight: var(--font-weight-medium);
785
- font-weight: var(--font-weight-medium);
786
- }
787
- .font-normal {
788
- --tw-font-weight: var(--font-weight-normal);
789
- font-weight: var(--font-weight-normal);
790
- }
791
- .font-semibold {
792
- --tw-font-weight: var(--font-weight-semibold);
793
- font-weight: var(--font-weight-semibold);
794
- }
795
- .whitespace-pre {
796
- white-space: pre;
797
- }
798
- .text-blue-500 {
799
- color: var(--color-blue-500);
800
- }
801
- .text-gray-400 {
802
- color: var(--color-gray-400);
803
- }
804
- .text-gray-500 {
805
- color: var(--color-gray-500);
806
- }
807
- .text-gray-600 {
808
- color: var(--color-gray-600);
809
- }
810
- .text-gray-700 {
811
- color: var(--color-gray-700);
812
- }
813
- .text-gray-800 {
814
- color: var(--color-gray-800);
815
- }
816
- .text-gray-900 {
817
- color: var(--color-gray-900);
818
- }
819
- .text-green-600 {
820
- color: var(--color-green-600);
821
- }
822
- .text-red-600 {
823
- color: var(--color-red-600);
824
- }
825
- .text-white {
826
- color: var(--color-white);
827
- }
828
- .underline {
829
- text-decoration-line: underline;
830
- }
831
- .underline-offset-4 {
832
- text-underline-offset: 4px;
833
- }
834
- .antialiased {
835
- -webkit-font-smoothing: antialiased;
836
- -moz-osx-font-smoothing: grayscale;
837
- }
838
- .opacity-0 {
839
- opacity: 0%;
840
- }
841
- .opacity-100 {
842
- opacity: 100%;
843
- }
844
- .ring-gray-200 {
845
- --tw-ring-color: var(--color-gray-200);
846
- }
847
- .backdrop-blur-md {
848
- --tw-backdrop-blur: blur(var(--blur-md));
849
- -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
850
- backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
851
- }
852
- .transition {
853
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
854
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
855
- transition-duration: var(--tw-duration, var(--default-transition-duration));
856
- }
857
- .transition-all {
858
- transition-property: all;
859
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
860
- transition-duration: var(--tw-duration, var(--default-transition-duration));
861
- }
862
- .transition-colors {
863
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
864
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
865
- transition-duration: var(--tw-duration, var(--default-transition-duration));
866
- }
867
- .duration-200 {
868
- --tw-duration: 200ms;
869
- transition-duration: 200ms;
870
- }
871
- .duration-300 {
872
- --tw-duration: 300ms;
873
- transition-duration: 300ms;
874
- }
875
- .outline-none {
876
- --tw-outline-style: none;
877
- outline-style: none;
878
- }
879
- .group-hover\:opacity-100 {
880
- &:is(:where(.group):hover *) {
881
- @media (hover: hover) {
882
- opacity: 100%;
883
- }
884
- }
885
- }
886
- .placeholder\:text-gray-400 {
887
- &::placeholder {
888
- color: var(--color-gray-400);
889
- }
890
- }
891
- .read-only\:text-gray-400\/80 {
892
- &:read-only {
893
- color: color-mix(in srgb, oklch(70.7% 0.022 261.325) 80%, transparent);
894
- @supports (color: color-mix(in lab, red, red)) {
895
- color: color-mix(in oklab, var(--color-gray-400) 80%, transparent);
896
- }
897
- }
898
- }
899
- .hover\:border-gray-400 {
900
- &:hover {
901
- @media (hover: hover) {
902
- border-color: var(--color-gray-400);
903
- }
904
- }
905
- }
906
- .hover\:bg-gray-50 {
907
- &:hover {
908
- @media (hover: hover) {
909
- background-color: var(--color-gray-50);
910
- }
911
- }
912
- }
913
- .hover\:bg-gray-100 {
914
- &:hover {
915
- @media (hover: hover) {
916
- background-color: var(--color-gray-100);
917
- }
918
- }
919
- }
920
- .hover\:bg-gray-200 {
921
- &:hover {
922
- @media (hover: hover) {
923
- background-color: var(--color-gray-200);
924
- }
925
- }
926
- }
927
- .hover\:text-blue-700 {
928
- &:hover {
929
- @media (hover: hover) {
930
- color: var(--color-blue-700);
931
- }
932
- }
933
- }
934
- .hover\:text-gray-500 {
935
- &:hover {
936
- @media (hover: hover) {
937
- color: var(--color-gray-500);
938
- }
939
- }
940
- }
941
- .hover\:text-gray-700 {
942
- &:hover {
943
- @media (hover: hover) {
944
- color: var(--color-gray-700);
945
- }
946
- }
947
- }
948
- .hover\:text-gray-800 {
949
- &:hover {
950
- @media (hover: hover) {
951
- color: var(--color-gray-800);
952
- }
953
- }
954
- }
955
- .hover\:opacity-85 {
956
- &:hover {
957
- @media (hover: hover) {
958
- opacity: 85%;
959
- }
960
- }
961
- }
962
- .not-focus\:hover\:border-gray-500 {
963
- &:not(*:focus) {
964
- &:hover {
965
- @media (hover: hover) {
966
- border-color: var(--color-gray-500);
967
- }
968
- }
969
- }
970
- }
971
- .focus\:ring-2 {
972
- &:focus {
973
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
974
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
975
- }
976
- }
977
- .focus\:ring-indigo-500 {
978
- &:focus {
979
- --tw-ring-color: var(--color-indigo-500);
980
- }
981
- }
982
- .focus\:ring-offset-2 {
983
- &:focus {
984
- --tw-ring-offset-width: 2px;
985
- --tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
986
- }
987
- }
988
- .active\:ring-2 {
989
- &:active {
990
- --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
991
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
992
- }
993
- }
994
- .max-md\:fixed {
995
- @media (width < 48rem) {
996
- position: fixed;
997
- }
998
- }
999
- .max-md\:overflow-hidden {
1000
- @media (width < 48rem) {
1001
- overflow: hidden;
1002
- }
1003
- }
1004
- .max-md\:rounded-t-lg {
1005
- @media (width < 48rem) {
1006
- border-top-left-radius: var(--radius-lg);
1007
- border-top-right-radius: var(--radius-lg);
1008
- }
1009
- }
1010
- .max-md\:px-4 {
1011
- @media (width < 48rem) {
1012
- padding-inline: calc(var(--spacing) * 4);
1013
- }
1014
- }
1015
- .md\:top-18 {
1016
- @media (width >= 48rem) {
1017
- top: calc(var(--spacing) * 18);
1018
- }
1019
- }
1020
- .md\:flex {
1021
- @media (width >= 48rem) {
1022
- display: flex;
1023
- }
1024
- }
1025
- .md\:hidden {
1026
- @media (width >= 48rem) {
1027
- display: none;
1028
- }
1029
- }
1030
- .md\:w-72 {
1031
- @media (width >= 48rem) {
1032
- width: calc(var(--spacing) * 72);
1033
- }
1034
- }
1035
- .md\:min-w-52 {
1036
- @media (width >= 48rem) {
1037
- min-width: calc(var(--spacing) * 52);
1038
- }
1039
- }
1040
- .md\:flex-row {
1041
- @media (width >= 48rem) {
1042
- flex-direction: row;
1043
- }
1044
- }
1045
- .md\:px-6 {
1046
- @media (width >= 48rem) {
1047
- padding-inline: calc(var(--spacing) * 6);
1048
- }
1049
- }
1050
- .md\:px-8 {
1051
- @media (width >= 48rem) {
1052
- padding-inline: calc(var(--spacing) * 8);
1053
- }
1054
- }
1055
- .md\:text-sm {
1056
- @media (width >= 48rem) {
1057
- font-size: var(--text-sm);
1058
- line-height: var(--tw-leading, var(--text-sm--line-height));
1059
- }
1060
- }
1061
- .xl\:block {
1062
- @media (width >= 80rem) {
1063
- display: block;
1064
- }
1065
- }
1066
- }
1067
- @property --tw-translate-x {
1068
- syntax: "*";
1069
- inherits: false;
1070
- initial-value: 0;
1071
- }
1072
- @property --tw-translate-y {
1073
- syntax: "*";
1074
- inherits: false;
1075
- initial-value: 0;
1076
- }
1077
- @property --tw-translate-z {
1078
- syntax: "*";
1079
- inherits: false;
1080
- initial-value: 0;
1081
- }
1082
- @property --tw-space-y-reverse {
1083
- syntax: "*";
1084
- inherits: false;
1085
- initial-value: 0;
1086
- }
1087
- @property --tw-space-x-reverse {
1088
- syntax: "*";
1089
- inherits: false;
1090
- initial-value: 0;
1091
- }
1092
- @property --tw-divide-x-reverse {
1093
- syntax: "*";
1094
- inherits: false;
1095
- initial-value: 0;
1096
- }
1097
- @property --tw-border-style {
1098
- syntax: "*";
1099
- inherits: false;
1100
- initial-value: solid;
1101
- }
1102
- @property --tw-font-weight {
1103
- syntax: "*";
1104
- inherits: false;
1105
- }
1106
- @property --tw-backdrop-blur {
1107
- syntax: "*";
1108
- inherits: false;
1109
- }
1110
- @property --tw-backdrop-brightness {
1111
- syntax: "*";
1112
- inherits: false;
1113
- }
1114
- @property --tw-backdrop-contrast {
1115
- syntax: "*";
1116
- inherits: false;
1117
- }
1118
- @property --tw-backdrop-grayscale {
1119
- syntax: "*";
1120
- inherits: false;
1121
- }
1122
- @property --tw-backdrop-hue-rotate {
1123
- syntax: "*";
1124
- inherits: false;
1125
- }
1126
- @property --tw-backdrop-invert {
1127
- syntax: "*";
1128
- inherits: false;
1129
- }
1130
- @property --tw-backdrop-opacity {
1131
- syntax: "*";
1132
- inherits: false;
1133
- }
1134
- @property --tw-backdrop-saturate {
1135
- syntax: "*";
1136
- inherits: false;
1137
- }
1138
- @property --tw-backdrop-sepia {
1139
- syntax: "*";
1140
- inherits: false;
1141
- }
1142
- @property --tw-duration {
1143
- syntax: "*";
1144
- inherits: false;
1145
- }
1146
- @property --tw-shadow {
1147
- syntax: "*";
1148
- inherits: false;
1149
- initial-value: 0 0 #0000;
1150
- }
1151
- @property --tw-shadow-color {
1152
- syntax: "*";
1153
- inherits: false;
1154
- }
1155
- @property --tw-shadow-alpha {
1156
- syntax: "<percentage>";
1157
- inherits: false;
1158
- initial-value: 100%;
1159
- }
1160
- @property --tw-inset-shadow {
1161
- syntax: "*";
1162
- inherits: false;
1163
- initial-value: 0 0 #0000;
1164
- }
1165
- @property --tw-inset-shadow-color {
1166
- syntax: "*";
1167
- inherits: false;
1168
- }
1169
- @property --tw-inset-shadow-alpha {
1170
- syntax: "<percentage>";
1171
- inherits: false;
1172
- initial-value: 100%;
1173
- }
1174
- @property --tw-ring-color {
1175
- syntax: "*";
1176
- inherits: false;
1177
- }
1178
- @property --tw-ring-shadow {
1179
- syntax: "*";
1180
- inherits: false;
1181
- initial-value: 0 0 #0000;
1182
- }
1183
- @property --tw-inset-ring-color {
1184
- syntax: "*";
1185
- inherits: false;
1186
- }
1187
- @property --tw-inset-ring-shadow {
1188
- syntax: "*";
1189
- inherits: false;
1190
- initial-value: 0 0 #0000;
1191
- }
1192
- @property --tw-ring-inset {
1193
- syntax: "*";
1194
- inherits: false;
1195
- }
1196
- @property --tw-ring-offset-width {
1197
- syntax: "<length>";
1198
- inherits: false;
1199
- initial-value: 0px;
1200
- }
1201
- @property --tw-ring-offset-color {
1202
- syntax: "*";
1203
- inherits: false;
1204
- initial-value: #fff;
1205
- }
1206
- @property --tw-ring-offset-shadow {
1207
- syntax: "*";
1208
- inherits: false;
1209
- initial-value: 0 0 #0000;
1210
- }
1211
- @keyframes spin {
1212
- to {
1213
- transform: rotate(360deg);
1214
- }
1215
- }
1216
- @layer properties {
1217
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
1218
- *, ::before, ::after, ::backdrop {
1219
- --tw-translate-x: 0;
1220
- --tw-translate-y: 0;
1221
- --tw-translate-z: 0;
1222
- --tw-space-y-reverse: 0;
1223
- --tw-space-x-reverse: 0;
1224
- --tw-divide-x-reverse: 0;
1225
- --tw-border-style: solid;
1226
- --tw-font-weight: initial;
1227
- --tw-backdrop-blur: initial;
1228
- --tw-backdrop-brightness: initial;
1229
- --tw-backdrop-contrast: initial;
1230
- --tw-backdrop-grayscale: initial;
1231
- --tw-backdrop-hue-rotate: initial;
1232
- --tw-backdrop-invert: initial;
1233
- --tw-backdrop-opacity: initial;
1234
- --tw-backdrop-saturate: initial;
1235
- --tw-backdrop-sepia: initial;
1236
- --tw-duration: initial;
1237
- --tw-shadow: 0 0 #0000;
1238
- --tw-shadow-color: initial;
1239
- --tw-shadow-alpha: 100%;
1240
- --tw-inset-shadow: 0 0 #0000;
1241
- --tw-inset-shadow-color: initial;
1242
- --tw-inset-shadow-alpha: 100%;
1243
- --tw-ring-color: initial;
1244
- --tw-ring-shadow: 0 0 #0000;
1245
- --tw-inset-ring-color: initial;
1246
- --tw-inset-ring-shadow: 0 0 #0000;
1247
- --tw-ring-inset: initial;
1248
- --tw-ring-offset-width: 0px;
1249
- --tw-ring-offset-color: #fff;
1250
- --tw-ring-offset-shadow: 0 0 #0000;
1251
- }
1252
- }
1253
- }
1
+ @source ".";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docstra",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "A Modern Documentation Framework for Next.js",
5
5
  "keywords": [
6
6
  "next",
@@ -29,7 +29,7 @@
29
29
  "import": "./dist/server/index.mjs",
30
30
  "require": "./dist/server/index.js"
31
31
  },
32
- "./styles.css": "./dist/styles.css"
32
+ "./css": "./dist/styles.css"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "npm run build:ts && npm run build:css",
@@ -43,10 +43,11 @@
43
43
  "@types/react-dom": "^19.2.2",
44
44
  "prettier": "^3.6.2",
45
45
  "tsup": "^8.5.0",
46
- "typescript": "^5.9.3"
46
+ "typescript": "^5.9.3",
47
+ "tailwindcss": "^4.1.17",
48
+ "@tailwindcss/cli": "^4.1.17"
47
49
  },
48
50
  "dependencies": {
49
- "@tailwindcss/cli": "^4.1.17",
50
51
  "clsx": "^2.1.1",
51
52
  "gray-matter": "^4.0.3",
52
53
  "lucide-react": "^0.554.0",
@@ -56,7 +57,6 @@
56
57
  "react": "^18 || ^19",
57
58
  "react-dom": "^18 || ^19",
58
59
  "react-toast-msg": "^2.2.6",
59
- "tailwind-merge": "^3.4.0",
60
- "tailwindcss": "^4.1.17"
60
+ "tailwind-merge": "^3.4.0"
61
61
  }
62
62
  }