@farming-labs/docs 0.2.96 → 0.2.98

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/docs",
3
- "version": "0.2.96",
3
+ "version": "0.2.98",
4
4
  "description": "Modern, flexible MDX-based docs framework — core types, config, and CLI",
5
5
  "keywords": [
6
6
  "docs",
@@ -72,7 +72,7 @@
72
72
  "./styles/themes/shadcn.css": "./styles/themes/shadcn.css"
73
73
  },
74
74
  "dependencies": {
75
- "@clack/prompts": "^0.9.1",
75
+ "@clack/prompts": "^1.7.0",
76
76
  "@mdx-js/mdx": "^3.1.1",
77
77
  "@modelcontextprotocol/server": "2.0.0",
78
78
  "@scalar/core": "^0.4.3",
@@ -187,6 +187,24 @@ aside#nd-sidebar-mobile {
187
187
 
188
188
  aside#nd-sidebar::after,
189
189
  .fd-sidebar::after {
190
+ position: absolute;
191
+ inset-block: 1.25rem 1.5rem;
192
+ inset-inline-end: 0;
193
+ z-index: 1;
194
+ display: block !important;
195
+ width: 1px;
196
+ content: "";
197
+ pointer-events: none;
198
+ background: linear-gradient(
199
+ to bottom,
200
+ transparent 0%,
201
+ var(--color-fd-border) 10%,
202
+ var(--color-fd-border) 90%,
203
+ transparent 100%
204
+ );
205
+ }
206
+
207
+ aside#nd-sidebar-mobile::after {
190
208
  display: none !important;
191
209
  }
192
210
 
@@ -197,10 +215,10 @@ aside#nd-sidebar-mobile .fd-sidebar {
197
215
  background: transparent !important;
198
216
  }
199
217
 
200
- /* Match shadcn/ui's compact, unframed navigation rail. */
218
+ /* Match shadcn/ui's compact navigation rail while preserving built-in controls. */
201
219
  aside#nd-sidebar > div:first-child {
202
220
  gap: 0.375rem !important;
203
- padding: 0.5rem 1rem 0.25rem !important;
221
+ padding: 0.75rem 1.25rem 0.5rem !important;
204
222
  }
205
223
 
206
224
  aside#nd-sidebar .fd-api-reference-switcher {
@@ -208,7 +226,14 @@ aside#nd-sidebar .fd-api-reference-switcher {
208
226
  }
209
227
 
210
228
  aside#nd-sidebar [data-radix-scroll-area-viewport] {
211
- padding: 0 4rem 1rem 1.625rem !important;
229
+ padding: 1.25rem 1.25rem 2rem 1.5rem !important;
230
+ mask-image: linear-gradient(
231
+ to bottom,
232
+ transparent 0,
233
+ black 1.25rem,
234
+ black calc(100% - 1.5rem),
235
+ transparent 100%
236
+ ) !important;
212
237
  }
213
238
 
214
239
  aside#nd-sidebar-mobile [data-radix-scroll-area-viewport] {
@@ -305,7 +330,7 @@ aside#nd-sidebar-mobile
305
330
  }
306
331
 
307
332
  aside#nd-sidebar > div:last-child {
308
- padding: 0.5rem 4rem 1rem 1.625rem !important;
333
+ padding: 0.5rem 1.25rem 1rem 1.5rem !important;
309
334
  }
310
335
 
311
336
  aside#nd-sidebar > div:last-child > div {
@@ -567,6 +592,15 @@ aside#nd-sidebar button.text-fd-muted-foreground,
567
592
  line-height: 1.5 !important;
568
593
  }
569
594
 
595
+ .fd-generated-page-header {
596
+ display: flex;
597
+ flex-direction: column;
598
+ }
599
+
600
+ .fd-generated-page-header .fd-page-title {
601
+ margin: 0 0 0.5rem;
602
+ }
603
+
570
604
  .fd-docs-content,
571
605
  #nd-page .prose {
572
606
  color: var(--color-fd-foreground);
@@ -597,6 +631,7 @@ aside#nd-sidebar button.text-fd-muted-foreground,
597
631
  .fd-copy-btn,
598
632
  .fd-ai-code-copy,
599
633
  .fd-ai-model-dropdown-btn,
634
+ .fd-page-footer > a,
600
635
  .fd-page-nav-card,
601
636
  .fd-page-nav a,
602
637
  #nd-page > div[class~="@container"] > a {
@@ -613,12 +648,27 @@ aside#nd-sidebar button.text-fd-muted-foreground,
613
648
  .fd-copy-btn:hover,
614
649
  .fd-ai-code-copy:hover,
615
650
  .fd-ai-model-dropdown-btn:hover,
651
+ .fd-page-footer > a:hover,
616
652
  .fd-page-nav-card:hover,
617
653
  .fd-page-nav a:hover,
618
654
  #nd-page > div[class~="@container"] > a:hover {
619
655
  background: var(--fd-shadcn-control-hover) !important;
620
656
  }
621
657
 
658
+ .fd-page-footer > a {
659
+ min-height: 2rem;
660
+ padding: 0.5rem 0.75rem !important;
661
+ text-decoration: none !important;
662
+ }
663
+
664
+ .fd-llms-txt-links {
665
+ display: none !important;
666
+ }
667
+
668
+ #nd-docs-layout a[href$="/llms.txt"] {
669
+ display: none !important;
670
+ }
671
+
622
672
  .fd-page-nav,
623
673
  #nd-page > div[class~="@container"] {
624
674
  display: grid !important;
@@ -1016,6 +1066,21 @@ article :not(pre) > code,
1016
1066
  }
1017
1067
  }
1018
1068
 
1069
+ @media (max-width: 767px) {
1070
+ figure.shiki pre,
1071
+ .fd-docs-content figure.shiki pre {
1072
+ padding: 0.625rem 0.75rem !important;
1073
+ }
1074
+ }
1075
+
1076
+ @media (prefers-reduced-motion: reduce) {
1077
+ aside#nd-sidebar a,
1078
+ aside#nd-sidebar button {
1079
+ scroll-behavior: auto !important;
1080
+ transition-duration: 0.01ms !important;
1081
+ }
1082
+ }
1083
+
1019
1084
  .fd-table-wrapper {
1020
1085
  border: 1px solid var(--fd-shadcn-soft-border) !important;
1021
1086
  border-radius: calc(var(--radius) * 1.2) !important;