fumadocs-ui 15.6.7 → 15.6.8

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/css/neutral.css CHANGED
@@ -22,7 +22,7 @@
22
22
  --color-fd-foreground: hsl(0, 0%, 92%);
23
23
  --color-fd-muted: hsl(0, 0%, 12.9%);
24
24
  --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.8);
25
- --color-fd-popover: hsl(0, 0%, 10.6%);
25
+ --color-fd-popover: hsl(0, 0%, 11.6%);
26
26
  --color-fd-popover-foreground: hsl(0, 0%, 86.9%);
27
27
  --color-fd-card: hsl(0, 0%, 9.8%);
28
28
  --color-fd-card-foreground: hsl(0, 0%, 98%);
@@ -50,7 +50,7 @@ export function SearchDialogOverlay(props) {
50
50
  }
51
51
  export function SearchDialogContent({ children, ...props }) {
52
52
  const { text } = useI18n();
53
- return (_jsxs(DialogContent, { "aria-describedby": undefined, ...props, className: cn('fixed left-1/2 top-4 md:top-[calc(50%-250px)] z-50 w-[calc(100%-2*var(--spacing))] max-w-screen-sm -translate-x-1/2 rounded-2xl border bg-fd-popover/60 backdrop-blur-xl text-fd-popover-foreground shadow-2xl shadow-black/40 overflow-hidden data-[state=closed]:animate-fd-dialog-out data-[state=open]:animate-fd-dialog-in', '*:border-b *:has-[+:last-child[data-empty=true]]:border-b-0 *:data-[empty=true]:border-b-0 *:last:border-b-0', props.className), children: [_jsx(DialogTitle, { className: "hidden", children: text.search }), children] }));
53
+ return (_jsxs(DialogContent, { "aria-describedby": undefined, ...props, className: cn('fixed left-1/2 top-4 md:top-[calc(50%-250px)] z-50 w-[calc(100%-1rem)] max-w-screen-sm -translate-x-1/2 rounded-2xl border bg-fd-popover/80 backdrop-blur-xl text-fd-popover-foreground shadow-2xl shadow-black/50 overflow-hidden data-[state=closed]:animate-fd-dialog-out data-[state=open]:animate-fd-dialog-in', '*:border-b *:has-[+:last-child[data-empty=true]]:border-b-0 *:data-[empty=true]:border-b-0 *:last:border-b-0', props.className), children: [_jsx(DialogTitle, { className: "hidden", children: text.search }), children] }));
54
54
  }
55
55
  export function SearchDialogList({ items = null, Empty = () => (_jsx("div", { className: "py-12 text-center text-sm text-fd-muted-foreground", children: _jsx(I18nLabel, { label: "searchNoResult" }) })), Item = (props) => _jsx(SearchDialogListItem, { ...props }), ...props }) {
56
56
  const ref = useRef(null);
package/dist/style.css CHANGED
@@ -1042,8 +1042,8 @@
1042
1042
  .w-\[286px\] {
1043
1043
  width: 286px;
1044
1044
  }
1045
- .w-\[calc\(100\%-2\*var\(--spacing\)\)\] {
1046
- width: calc(100% - 2 * var(--spacing));
1045
+ .w-\[calc\(100\%-1rem\)\] {
1046
+ width: calc(100% - 1rem);
1047
1047
  }
1048
1048
  .w-fit {
1049
1049
  width: fit-content;
@@ -1346,6 +1346,12 @@
1346
1346
  background-color: color-mix(in oklab, var(--color-fd-popover) 60%, transparent);
1347
1347
  }
1348
1348
  }
1349
+ .bg-fd-popover\/80 {
1350
+ background-color: color-mix(in srgb, hsl(0, 0%, 98%) 80%, transparent);
1351
+ @supports (color: color-mix(in lab, red, red)) {
1352
+ background-color: color-mix(in oklab, var(--color-fd-popover) 80%, transparent);
1353
+ }
1354
+ }
1349
1355
  .bg-fd-primary {
1350
1356
  background-color: var(--color-fd-primary);
1351
1357
  }
@@ -1644,10 +1650,10 @@
1644
1650
  --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
1645
1651
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1646
1652
  }
1647
- .shadow-black\/40 {
1648
- --tw-shadow-color: color-mix(in srgb, #000 40%, transparent);
1653
+ .shadow-black\/50 {
1654
+ --tw-shadow-color: color-mix(in srgb, #000 50%, transparent);
1649
1655
  @supports (color: color-mix(in lab, red, red)) {
1650
- --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 40%, transparent) var(--tw-shadow-alpha), transparent);
1656
+ --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-black) 50%, transparent) var(--tw-shadow-alpha), transparent);
1651
1657
  }
1652
1658
  }
1653
1659
  .outline {
@@ -2501,7 +2507,7 @@
2501
2507
  --color-fd-foreground: hsl(0, 0%, 92%);
2502
2508
  --color-fd-muted: hsl(0, 0%, 12.9%);
2503
2509
  --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.8);
2504
- --color-fd-popover: hsl(0, 0%, 10.6%);
2510
+ --color-fd-popover: hsl(0, 0%, 11.6%);
2505
2511
  --color-fd-popover-foreground: hsl(0, 0%, 86.9%);
2506
2512
  --color-fd-card: hsl(0, 0%, 9.8%);
2507
2513
  --color-fd-card-foreground: hsl(0, 0%, 98%);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "15.6.7",
3
+ "version": "15.6.8",
4
4
  "description": "The framework for building a documentation website in Next.js",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -89,20 +89,20 @@
89
89
  "react-medium-image-zoom": "^5.3.0",
90
90
  "scroll-into-view-if-needed": "^3.1.0",
91
91
  "tailwind-merge": "^3.3.1",
92
- "fumadocs-core": "15.6.7"
92
+ "fumadocs-core": "15.6.8"
93
93
  },
94
94
  "devDependencies": {
95
- "@next/eslint-plugin-next": "^15.4.4",
95
+ "@next/eslint-plugin-next": "^15.4.5",
96
96
  "@tailwindcss/cli": "^4.1.11",
97
97
  "@types/lodash.merge": "^4.6.9",
98
- "@types/react": "^19.1.8",
99
- "@types/react-dom": "^19.1.6",
100
- "next": "15.4.4",
98
+ "@types/react": "^19.1.9",
99
+ "@types/react-dom": "^19.1.7",
100
+ "next": "15.4.5",
101
101
  "tailwindcss": "^4.1.11",
102
102
  "tsc-alias": "^1.8.16",
103
- "@fumadocs/cli": "0.2.1",
104
103
  "eslint-config-custom": "0.0.0",
105
- "fumadocs-core": "15.6.7",
104
+ "@fumadocs/cli": "0.2.1",
105
+ "fumadocs-core": "15.6.8",
106
106
  "tsconfig": "0.0.0"
107
107
  },
108
108
  "peerDependencies": {