fumadocs-ui 15.2.4 → 15.2.5

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.
@@ -63,7 +63,7 @@ export function Sidebar({ defaultOpenLevel = 0, prefetch = true, inner, ...props
63
63
  level: 1,
64
64
  };
65
65
  }, [defaultOpenLevel, prefetch]);
66
- return (_jsx(Context.Provider, { value: context, children: _jsx(Base.SidebarList, { id: "nd-sidebar", removeScrollOn: "(min-width: 768px)" // md
66
+ return (_jsx(Context.Provider, { value: context, children: _jsx(Base.SidebarList, { id: "nd-sidebar", removeScrollOn: "(width < 768px)" // md
67
67
  , ...props, className: cn('fixed top-[calc(var(--fd-banner-height)+var(--fd-nav-height))] z-20 bg-fd-card text-sm md:sticky md:h-(--fd-sidebar-height)', 'max-md:inset-x-0 max-md:bottom-0 max-md:bg-fd-background/80 max-md:text-[15px] max-md:backdrop-blur-lg max-md:data-[open=false]:invisible', props.className), style: {
68
68
  ...props.style,
69
69
  '--fd-sidebar-height': 'calc(100dvh - var(--fd-banner-height) - var(--fd-nav-height))',
package/dist/style.css CHANGED
@@ -1,64 +1,6 @@
1
- /*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
2
3
  @layer theme, base, components, utilities;
3
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
4
- @layer base {
5
- *, ::before, ::after, ::backdrop {
6
- --tw-translate-x: 0;
7
- --tw-translate-y: 0;
8
- --tw-translate-z: 0;
9
- --tw-scale-x: 1;
10
- --tw-scale-y: 1;
11
- --tw-scale-z: 1;
12
- --tw-rotate-x: rotateX(0);
13
- --tw-rotate-y: rotateY(0);
14
- --tw-rotate-z: rotateZ(0);
15
- --tw-skew-x: skewX(0);
16
- --tw-skew-y: skewY(0);
17
- --tw-divide-y-reverse: 0;
18
- --tw-border-style: solid;
19
- --tw-font-weight: initial;
20
- --tw-shadow: 0 0 #0000;
21
- --tw-shadow-color: initial;
22
- --tw-shadow-alpha: 100%;
23
- --tw-inset-shadow: 0 0 #0000;
24
- --tw-inset-shadow-color: initial;
25
- --tw-inset-shadow-alpha: 100%;
26
- --tw-ring-color: initial;
27
- --tw-ring-shadow: 0 0 #0000;
28
- --tw-inset-ring-color: initial;
29
- --tw-inset-ring-shadow: 0 0 #0000;
30
- --tw-ring-inset: initial;
31
- --tw-ring-offset-width: 0px;
32
- --tw-ring-offset-color: #fff;
33
- --tw-ring-offset-shadow: 0 0 #0000;
34
- --tw-outline-style: solid;
35
- --tw-blur: initial;
36
- --tw-brightness: initial;
37
- --tw-contrast: initial;
38
- --tw-grayscale: initial;
39
- --tw-hue-rotate: initial;
40
- --tw-invert: initial;
41
- --tw-opacity: initial;
42
- --tw-saturate: initial;
43
- --tw-sepia: initial;
44
- --tw-drop-shadow: initial;
45
- --tw-drop-shadow-color: initial;
46
- --tw-drop-shadow-alpha: 100%;
47
- --tw-drop-shadow-size: initial;
48
- --tw-backdrop-blur: initial;
49
- --tw-backdrop-brightness: initial;
50
- --tw-backdrop-contrast: initial;
51
- --tw-backdrop-grayscale: initial;
52
- --tw-backdrop-hue-rotate: initial;
53
- --tw-backdrop-invert: initial;
54
- --tw-backdrop-opacity: initial;
55
- --tw-backdrop-saturate: initial;
56
- --tw-backdrop-sepia: initial;
57
- --tw-duration: initial;
58
- --radix-collapsible-content-height: 0px;
59
- }
60
- }
61
- }
62
4
  @layer theme {
63
5
  :root, :host {
64
6
  --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
@@ -247,7 +189,10 @@
247
189
  }
248
190
  @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
249
191
  ::placeholder {
250
- color: color-mix(in oklab, currentColor 50%, transparent);
192
+ color: currentcolor;
193
+ @supports (color: color-mix(in lab, red, red)) {
194
+ color: color-mix(in oklab, currentcolor 50%, transparent);
195
+ }
251
196
  }
252
197
  }
253
198
  textarea {
@@ -2837,3 +2782,62 @@
2837
2782
  height: 0px;
2838
2783
  }
2839
2784
  }
2785
+ @layer properties {
2786
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
2787
+ *, ::before, ::after, ::backdrop {
2788
+ --tw-translate-x: 0;
2789
+ --tw-translate-y: 0;
2790
+ --tw-translate-z: 0;
2791
+ --tw-scale-x: 1;
2792
+ --tw-scale-y: 1;
2793
+ --tw-scale-z: 1;
2794
+ --tw-rotate-x: rotateX(0);
2795
+ --tw-rotate-y: rotateY(0);
2796
+ --tw-rotate-z: rotateZ(0);
2797
+ --tw-skew-x: skewX(0);
2798
+ --tw-skew-y: skewY(0);
2799
+ --tw-divide-y-reverse: 0;
2800
+ --tw-border-style: solid;
2801
+ --tw-font-weight: initial;
2802
+ --tw-shadow: 0 0 #0000;
2803
+ --tw-shadow-color: initial;
2804
+ --tw-shadow-alpha: 100%;
2805
+ --tw-inset-shadow: 0 0 #0000;
2806
+ --tw-inset-shadow-color: initial;
2807
+ --tw-inset-shadow-alpha: 100%;
2808
+ --tw-ring-color: initial;
2809
+ --tw-ring-shadow: 0 0 #0000;
2810
+ --tw-inset-ring-color: initial;
2811
+ --tw-inset-ring-shadow: 0 0 #0000;
2812
+ --tw-ring-inset: initial;
2813
+ --tw-ring-offset-width: 0px;
2814
+ --tw-ring-offset-color: #fff;
2815
+ --tw-ring-offset-shadow: 0 0 #0000;
2816
+ --tw-outline-style: solid;
2817
+ --tw-blur: initial;
2818
+ --tw-brightness: initial;
2819
+ --tw-contrast: initial;
2820
+ --tw-grayscale: initial;
2821
+ --tw-hue-rotate: initial;
2822
+ --tw-invert: initial;
2823
+ --tw-opacity: initial;
2824
+ --tw-saturate: initial;
2825
+ --tw-sepia: initial;
2826
+ --tw-drop-shadow: initial;
2827
+ --tw-drop-shadow-color: initial;
2828
+ --tw-drop-shadow-alpha: 100%;
2829
+ --tw-drop-shadow-size: initial;
2830
+ --tw-backdrop-blur: initial;
2831
+ --tw-backdrop-brightness: initial;
2832
+ --tw-backdrop-contrast: initial;
2833
+ --tw-backdrop-grayscale: initial;
2834
+ --tw-backdrop-hue-rotate: initial;
2835
+ --tw-backdrop-invert: initial;
2836
+ --tw-backdrop-opacity: initial;
2837
+ --tw-backdrop-saturate: initial;
2838
+ --tw-backdrop-sepia: initial;
2839
+ --tw-duration: initial;
2840
+ --radix-collapsible-content-height: 0px;
2841
+ }
2842
+ }
2843
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "15.2.4",
3
+ "version": "15.2.5",
4
4
  "description": "The framework for building a documentation website in Next.js",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -83,20 +83,20 @@
83
83
  "postcss-selector-parser": "^7.1.0",
84
84
  "react-medium-image-zoom": "^5.2.14",
85
85
  "tailwind-merge": "^3.1.0",
86
- "fumadocs-core": "15.2.4"
86
+ "fumadocs-core": "15.2.5"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@next/eslint-plugin-next": "^15.2.4",
90
- "@tailwindcss/cli": "^4.1.1",
90
+ "@tailwindcss/cli": "^4.1.3",
91
91
  "@types/lodash.merge": "^4.6.9",
92
92
  "@types/react": "^19.1.0",
93
93
  "@types/react-dom": "^19.1.1",
94
94
  "next": "15.2.4",
95
- "tailwindcss": "^4.1.1",
95
+ "tailwindcss": "^4.1.3",
96
96
  "tsc-alias": "^1.8.13",
97
97
  "@fumadocs/cli": "0.1.1",
98
98
  "eslint-config-custom": "0.0.0",
99
- "fumadocs-core": "15.2.4",
99
+ "fumadocs-core": "15.2.5",
100
100
  "tsconfig": "0.0.0"
101
101
  },
102
102
  "peerDependencies": {
@@ -1,4 +0,0 @@
1
- export * from '../utils/cn.js';
2
- export * from '../components/ui/button.js';
3
- export { useCopyButton } from '../utils/use-copy-button.js';
4
- //# sourceMappingURL=api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/components/api.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from '../utils/cn.js';
2
- export * from '../components/ui/button.js';
3
- export { useCopyButton } from '../utils/use-copy-button.js';