@fumadocs/base-ui 16.19.5 → 16.19.6

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 (50) hide show
  1. package/css/aspen.css +5 -5
  2. package/css/black.css +1 -1
  3. package/css/catppuccin.css +10 -6
  4. package/css/dusk.css +4 -4
  5. package/css/emerald.css +4 -4
  6. package/css/generated/docs.css +1 -1
  7. package/css/generated/flux.css +1 -1
  8. package/css/generated/glass.css +1 -1
  9. package/css/generated/home.css +1 -1
  10. package/css/generated/notebook.css +1 -1
  11. package/css/generated/shared.css +1 -1
  12. package/css/generated/spacious.css +1 -1
  13. package/css/lib/default-colors.css +2 -2
  14. package/css/ocean.css +1 -1
  15. package/css/purple.css +3 -3
  16. package/css/ruby.css +4 -4
  17. package/css/vitepress.css +2 -2
  18. package/dist/.translations/index.d.ts +0 -1
  19. package/dist/.translations/keys.json.js +0 -1
  20. package/dist/components/codeblock.js +1 -1
  21. package/dist/components/dialog/search-algolia.js +5 -5
  22. package/dist/components/dialog/search-default.js +5 -5
  23. package/dist/components/dialog/search.js +4 -4
  24. package/dist/components/github-info.js +1 -1
  25. package/dist/components/image-zoom.js +2 -2
  26. package/dist/components/tabs.js +1 -1
  27. package/dist/components/type-table.js +1 -1
  28. package/dist/components/ui/accordion.js +1 -1
  29. package/dist/components/ui/button.js +1 -1
  30. package/dist/components/ui/popover.js +1 -1
  31. package/dist/layouts/docs/page/slots/toc.js +1 -1
  32. package/dist/layouts/flux/index.js +34 -30
  33. package/dist/layouts/flux/page/slots/toc.js +1 -1
  34. package/dist/layouts/flux/slots/sidebar.js +1 -0
  35. package/dist/layouts/glass/layout-tabs.js +1 -1
  36. package/dist/layouts/glass/page/slots/toc.js +8 -1
  37. package/dist/layouts/glass/slots/header.js +2 -0
  38. package/dist/layouts/glass/slots/sidebar.js +23 -7
  39. package/dist/layouts/home/slots/header.js +1 -1
  40. package/dist/layouts/notebook/page/slots/toc.js +1 -1
  41. package/dist/layouts/notebook/slots/header.js +1 -1
  42. package/dist/layouts/notebook/slots/sidebar.js +1 -0
  43. package/dist/layouts/shared/client.js +1 -1
  44. package/dist/layouts/shared/slots/language-select.js +7 -3
  45. package/dist/layouts/spacious/index.js +2 -2
  46. package/dist/layouts/spacious/page/slots/toc.js +2 -2
  47. package/dist/layouts/spacious/slots/actions.js +3 -3
  48. package/dist/layouts/spacious/slots/sidebar.js +10 -7
  49. package/dist/style.css +37 -50
  50. package/package.json +3 -3
package/dist/style.css CHANGED
@@ -47,7 +47,7 @@
47
47
  --color-fd-background: hsl(0, 0%, 96%);
48
48
  --color-fd-foreground: hsl(0, 0%, 3.9%);
49
49
  --color-fd-muted: hsl(0, 0%, 96.1%);
50
- --color-fd-muted-foreground: hsl(0, 0%, 45.1%);
50
+ --color-fd-muted-foreground: hsl(0, 0%, 39%);
51
51
  --color-fd-popover: hsl(0, 0%, 98%);
52
52
  --color-fd-popover-foreground: hsl(0, 0%, 15.1%);
53
53
  --color-fd-card: hsl(0, 0%, 94.7%);
@@ -346,6 +346,9 @@
346
346
  .start-0\.5 {
347
347
  inset-inline-start: calc(var(--spacing) * 0.5);
348
348
  }
349
+ .start-2 {
350
+ inset-inline-start: calc(var(--spacing) * 2);
351
+ }
349
352
  .end-0 {
350
353
  inset-inline-end: calc(var(--spacing) * 0);
351
354
  }
@@ -1727,7 +1730,7 @@
1727
1730
  background-color: var(--color-fd-muted);
1728
1731
  }
1729
1732
  .bg-fd-muted-foreground\/50 {
1730
- background-color: color-mix(in srgb, hsl(0, 0%, 45.1%) 50%, transparent);
1733
+ background-color: color-mix(in srgb, hsl(0, 0%, 39%) 50%, transparent);
1731
1734
  @supports (color: color-mix(in lab, red, red)) {
1732
1735
  background-color: color-mix(in oklab, var(--color-fd-muted-foreground) 50%, transparent);
1733
1736
  }
@@ -2199,17 +2202,11 @@
2199
2202
  .text-fd-foreground {
2200
2203
  color: var(--color-fd-foreground);
2201
2204
  }
2202
- .text-fd-foreground\/80 {
2203
- color: color-mix(in srgb, hsl(0, 0%, 3.9%) 80%, transparent);
2204
- @supports (color: color-mix(in lab, red, red)) {
2205
- color: color-mix(in oklab, var(--color-fd-foreground) 80%, transparent);
2206
- }
2207
- }
2208
2205
  .text-fd-muted-foreground {
2209
2206
  color: var(--color-fd-muted-foreground);
2210
2207
  }
2211
2208
  .text-fd-muted-foreground\/50 {
2212
- color: color-mix(in srgb, hsl(0, 0%, 45.1%) 50%, transparent);
2209
+ color: color-mix(in srgb, hsl(0, 0%, 39%) 50%, transparent);
2213
2210
  @supports (color: color-mix(in lab, red, red)) {
2214
2211
  color: color-mix(in oklab, var(--color-fd-muted-foreground) 50%, transparent);
2215
2212
  }
@@ -2229,18 +2226,6 @@
2229
2226
  .text-fd-primary-foreground {
2230
2227
  color: var(--color-fd-primary-foreground);
2231
2228
  }
2232
- .text-fd-primary\/50 {
2233
- color: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);
2234
- @supports (color: color-mix(in lab, red, red)) {
2235
- color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);
2236
- }
2237
- }
2238
- .text-fd-primary\/80 {
2239
- color: color-mix(in srgb, hsl(0, 0%, 9%) 80%, transparent);
2240
- @supports (color: color-mix(in lab, red, red)) {
2241
- color: color-mix(in oklab, var(--color-fd-primary) 80%, transparent);
2242
- }
2243
- }
2244
2229
  .text-fd-secondary-foreground {
2245
2230
  color: var(--color-fd-secondary-foreground);
2246
2231
  }
@@ -2299,6 +2284,14 @@
2299
2284
  .ring-fd-border {
2300
2285
  --tw-ring-color: var(--color-fd-border);
2301
2286
  }
2287
+ .outline-hidden {
2288
+ --tw-outline-style: none;
2289
+ outline-style: none;
2290
+ @media (forced-colors: active) {
2291
+ outline: 2px solid transparent;
2292
+ outline-offset: 2px;
2293
+ }
2294
+ }
2302
2295
  .outline {
2303
2296
  outline-style: var(--tw-outline-style);
2304
2297
  outline-width: 1px;
@@ -2530,10 +2523,6 @@
2530
2523
  --tw-ease: var(--ease-out);
2531
2524
  transition-timing-function: var(--ease-out);
2532
2525
  }
2533
- .outline-none {
2534
- --tw-outline-style: none;
2535
- outline-style: none;
2536
- }
2537
2526
  .select-none {
2538
2527
  -webkit-user-select: none;
2539
2528
  user-select: none;
@@ -2673,10 +2662,6 @@
2673
2662
  :is(.\*\:rounded-md > *) {
2674
2663
  border-radius: var(--radius-md);
2675
2664
  }
2676
- :is(.\*\:border-b > *) {
2677
- border-bottom-style: var(--tw-border-style);
2678
- border-bottom-width: 1px;
2679
- }
2680
2665
  :is(.\*\:mask-\[linear-gradient\(to_bottom\,white\,white_30px\,transparent_80px\)\] > *) {
2681
2666
  mask-image: linear-gradient(to bottom,white,white 30px,transparent 80px);
2682
2667
  }
@@ -2706,6 +2691,17 @@
2706
2691
  .not-empty\:p-3:not(:empty) {
2707
2692
  padding: calc(var(--spacing) * 3);
2708
2693
  }
2694
+ .not-focus-visible\:sr-only:not(:focus-visible) {
2695
+ position: absolute;
2696
+ width: 1px;
2697
+ height: 1px;
2698
+ padding: 0;
2699
+ margin: -1px;
2700
+ overflow: hidden;
2701
+ clip-path: inset(50%);
2702
+ white-space: nowrap;
2703
+ border-width: 0;
2704
+ }
2709
2705
  @media (hover: hover) {
2710
2706
  :is(:where(.group):hover .group-hover\:-translate-x-0\.5) {
2711
2707
  --tw-translate-x: calc(var(--spacing) * -0.5);
@@ -2797,10 +2793,6 @@
2797
2793
  border-bottom-right-radius: var(--radius-xl);
2798
2794
  border-bottom-left-radius: var(--radius-xl);
2799
2795
  }
2800
- :is(.\*\:last\:border-b-0 > *):last-child {
2801
- border-bottom-style: var(--tw-border-style);
2802
- border-bottom-width: 0px;
2803
- }
2804
2796
  .empty\:mb-0:empty {
2805
2797
  margin-bottom: 0px;
2806
2798
  }
@@ -2865,13 +2857,8 @@
2865
2857
  .hover\:text-fd-foreground:hover {
2866
2858
  color: var(--color-fd-foreground);
2867
2859
  }
2868
- .hover\:text-fd-popover-foreground\/50:hover {
2869
- color: color-mix(in srgb, hsl(0, 0%, 15.1%) 50%, transparent);
2870
- }
2871
- @supports (color: color-mix(in lab, red, red)) {
2872
- .hover\:text-fd-popover-foreground\/50:hover {
2873
- color: color-mix(in oklab, var(--color-fd-popover-foreground) 50%, transparent);
2874
- }
2860
+ .hover\:text-fd-muted-foreground:hover {
2861
+ color: var(--color-fd-muted-foreground);
2875
2862
  }
2876
2863
  .hover\:underline:hover {
2877
2864
  text-decoration-line: underline;
@@ -2902,9 +2889,13 @@
2902
2889
  .focus-visible\:ring-fd-ring:focus-visible {
2903
2890
  --tw-ring-color: var(--color-fd-ring);
2904
2891
  }
2905
- .focus-visible\:outline-none:focus-visible {
2892
+ .focus-visible\:outline-hidden:focus-visible {
2906
2893
  --tw-outline-style: none;
2907
2894
  outline-style: none;
2895
+ @media (forced-colors: active) {
2896
+ outline: 2px solid transparent;
2897
+ outline-offset: 2px;
2898
+ }
2908
2899
  }
2909
2900
  .focus-visible\:ring-inset:focus-visible {
2910
2901
  --tw-ring-inset: inset;
@@ -2924,10 +2915,6 @@
2924
2915
  .has-data-\[active\=true\]\:text-fd-primary:has([data-active="true"]) {
2925
2916
  color: var(--color-fd-primary);
2926
2917
  }
2927
- :is(.\*\:has-\[\+\:last-child\[data-empty\=true\]\]\:border-b-0 > *):has( + :last-child[data-empty=true]) {
2928
- border-bottom-style: var(--tw-border-style);
2929
- border-bottom-width: 0px;
2930
- }
2931
2918
  .data-checked\:text-fd-accent-foreground[data-checked] {
2932
2919
  color: var(--color-fd-accent-foreground);
2933
2920
  }
@@ -3106,9 +3093,9 @@
3106
3093
  .data-\[collapsed\=false\]\:hidden[data-collapsed="false"] {
3107
3094
  display: none;
3108
3095
  }
3109
- :is(.\*\:data-\[empty\=true\]\:border-b-0 > *)[data-empty="true"] {
3110
- border-bottom-style: var(--tw-border-style);
3111
- border-bottom-width: 0px;
3096
+ :is(.\*\:data-\[empty\=true\]\:border-t-0 > *)[data-empty="true"] {
3097
+ border-top-style: var(--tw-border-style);
3098
+ border-top-width: 0px;
3112
3099
  }
3113
3100
  .data-\[inactive\]\:hidden[data-inactive] {
3114
3101
  display: none;
@@ -3884,7 +3871,7 @@
3884
3871
  --color-fd-background: hsl(0, 0%, 7.04%);
3885
3872
  --color-fd-foreground: hsl(0, 0%, 92%);
3886
3873
  --color-fd-muted: hsl(0, 0%, 12.9%);
3887
- --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.8);
3874
+ --color-fd-muted-foreground: hsla(0, 0%, 72%, 0.8);
3888
3875
  --color-fd-popover: hsl(0, 0%, 11.6%);
3889
3876
  --color-fd-popover-foreground: hsl(0, 0%, 86.9%);
3890
3877
  --color-fd-card: hsl(0, 0%, 9.8%);
@@ -4024,7 +4011,7 @@
4024
4011
  &[data-line-numbers] .line::after {
4025
4012
  position: absolute;
4026
4013
  content: counter(line);
4027
- color: var(--fd-counter-color, hsl(0, 0%, 45.1%));
4014
+ color: var(--fd-counter-color, hsl(0, 0%, 39%));
4028
4015
  @supports (color: color-mix(in lab, red, red)) {
4029
4016
  color: color-mix( in oklab, var(--fd-counter-color, var(--color-fd-muted-foreground)) 60%, transparent );
4030
4017
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fumadocs/base-ui",
3
- "version": "16.19.5",
3
+ "version": "16.19.6",
4
4
  "description": "The Base UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -160,7 +160,7 @@
160
160
  "@types/react": "^19.3.0",
161
161
  "@types/react-dom": "^19.3.0",
162
162
  "fuma-cli": "^0.3.4",
163
- "fumadocs-core": "16.19.5",
163
+ "fumadocs-core": "16.19.6",
164
164
  "react-medium-image-zoom": "^5.4.9",
165
165
  "tailwindcss": "^4.3.5",
166
166
  "tsconfig": "0.0.0",
@@ -169,7 +169,7 @@
169
169
  "peerDependencies": {
170
170
  "@types/mdx": "*",
171
171
  "@types/react": "*",
172
- "fumadocs-core": "16.19.5",
172
+ "fumadocs-core": "16.19.6",
173
173
  "next": "16.x.x",
174
174
  "react": "^19.2.0",
175
175
  "react-dom": "^19.2.0",