fumadocs-ui 15.6.11 → 15.6.12
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/dist/layouts/home/index.d.ts.map +1 -1
- package/dist/layouts/home/index.js +5 -3
- package/dist/style.css +4 -1
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/home/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAW,MAAM,OAAO,CAAC;AAE/D,OAAO,EACL,KAAK,eAAe,EAEpB,KAAK,UAAU,EAChB,MAAM,kBAAkB,CAAC;AA8B1B,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,GAAG,CAAC,EAAE,OAAO,CACX,UAAU,GAAG;QACX;;WAEG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B,CACF,CAAC;CACH;AAED,wBAAgB,UAAU,CACxB,KAAK,EAAE,eAAe,GAAG,cAAc,CAAC,WAAW,CAAC,2CAmCrD;AAED,wBAAgB,MAAM,CAAC,EACrB,GAAQ,EACR,IAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAgB,EAChB,YAAiB,GAClB,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/home/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAW,MAAM,OAAO,CAAC;AAE/D,OAAO,EACL,KAAK,eAAe,EAEpB,KAAK,UAAU,EAChB,MAAM,kBAAkB,CAAC;AA8B1B,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,GAAG,CAAC,EAAE,OAAO,CACX,UAAU,GAAG;QACX;;WAEG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B,CACF,CAAC;CACH;AAED,wBAAgB,UAAU,CACxB,KAAK,EAAE,eAAe,GAAG,cAAc,CAAC,WAAW,CAAC,2CAmCrD;AAED,wBAAgB,MAAM,CAAC,EACrB,GAAQ,EACR,IAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAgB,EAChB,YAAiB,GAClB,EAAE,eAAe,2CAiGjB"}
|
|
@@ -22,11 +22,13 @@ export function Header({ nav = {}, i18n = false, links, githubUrl, themeSwitch =
|
|
|
22
22
|
const menuItems = finalLinks.filter((item) => ['menu', 'all'].includes(item.on ?? 'all'));
|
|
23
23
|
return (_jsxs(Navbar, { children: [_jsx(Link, { href: nav.url ?? '/', className: "inline-flex items-center gap-2.5 font-semibold", children: nav.title }), nav.children, _jsx("ul", { className: "flex flex-row items-center gap-2 px-6 max-sm:hidden", children: navItems
|
|
24
24
|
.filter((item) => !isSecondary(item))
|
|
25
|
-
.map((item, i) => (_jsx(NavbarLinkItem, { item: item, className: "text-sm" }, i))) }), _jsxs("div", { className: "flex flex-row items-center justify-end gap-1.5 flex-1
|
|
26
|
-
(
|
|
25
|
+
.map((item, i) => (_jsx(NavbarLinkItem, { item: item, className: "text-sm" }, i))) }), _jsxs("div", { className: "flex flex-row items-center justify-end gap-1.5 flex-1 max-lg:hidden", children: [searchToggle.enabled !== false &&
|
|
26
|
+
(searchToggle.components?.lg ?? (_jsx(LargeSearchToggle, { className: "w-full rounded-full ps-2.5 max-w-[240px]", hideIfDisabled: true }))), themeSwitch.enabled !== false &&
|
|
27
|
+
(themeSwitch.component ?? _jsx(ThemeToggle, { mode: themeSwitch?.mode })), i18n ? (_jsx(LanguageToggle, { children: _jsx(Languages, { className: "size-5" }) })) : null, _jsx("div", { className: "flex flex-row items-center empty:hidden", children: navItems.filter(isSecondary).map((item, i) => (_jsx(NavbarLinkItem, { item: item }, i))) })] }), _jsxs("ul", { className: "flex flex-row items-center ms-auto -me-1.5 lg:hidden", children: [searchToggle.enabled !== false &&
|
|
28
|
+
(searchToggle.components?.sm ?? (_jsx(SearchToggle, { className: "p-2", hideIfDisabled: true }))), _jsxs(Menu, { children: [_jsx(MenuTrigger, { "aria-label": "Toggle Menu", className: cn(buttonVariants({
|
|
27
29
|
size: 'icon',
|
|
28
30
|
color: 'ghost',
|
|
29
|
-
className: 'group
|
|
31
|
+
className: 'group',
|
|
30
32
|
})), enableHover: nav.enableHoverToOpen, children: _jsx(ChevronDown, { className: "!size-5.5 transition-transform duration-300 group-data-[state=open]:rotate-180" }) }), _jsxs(MenuContent, { className: "sm:flex-row sm:items-center sm:justify-end", children: [menuItems
|
|
31
33
|
.filter((item) => !isSecondary(item))
|
|
32
34
|
.map((item, i) => (_jsx(MenuLinkItem, { item: item, className: "sm:hidden" }, i))), _jsxs("div", { className: "-ms-1.5 flex flex-row items-center gap-1.5 max-sm:mt-2", children: [menuItems.filter(isSecondary).map((item, i) => (_jsx(MenuLinkItem, { item: item, className: "-me-1.5" }, i))), _jsx("div", { role: "separator", className: "flex-1" }), i18n ? (_jsxs(LanguageToggle, { children: [_jsx(Languages, { className: "size-5" }), _jsx(LanguageToggleText, {}), _jsx(ChevronDown, { className: "size-3 text-fd-muted-foreground" })] })) : null, themeSwitch.enabled !== false &&
|
package/dist/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -222,6 +222,9 @@
|
|
|
222
222
|
::-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 {
|
|
223
223
|
padding-block: 0;
|
|
224
224
|
}
|
|
225
|
+
::-webkit-calendar-picker-indicator {
|
|
226
|
+
line-height: 1;
|
|
227
|
+
}
|
|
225
228
|
:-moz-ui-invalid {
|
|
226
229
|
box-shadow: none;
|
|
227
230
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "15.6.
|
|
3
|
+
"version": "15.6.12",
|
|
4
4
|
"description": "The framework for building a documentation website in Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -104,16 +104,16 @@
|
|
|
104
104
|
"css/*"
|
|
105
105
|
],
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@radix-ui/react-accordion": "^1.2.
|
|
108
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
109
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
107
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
108
|
+
"@radix-ui/react-collapsible": "^1.1.12",
|
|
109
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
110
110
|
"@radix-ui/react-direction": "^1.1.1",
|
|
111
|
-
"@radix-ui/react-navigation-menu": "^1.2.
|
|
112
|
-
"@radix-ui/react-popover": "^1.1.
|
|
113
|
-
"@radix-ui/react-presence": "^1.1.
|
|
114
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
111
|
+
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
112
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
113
|
+
"@radix-ui/react-presence": "^1.1.5",
|
|
114
|
+
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
115
115
|
"@radix-ui/react-slot": "^1.2.3",
|
|
116
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
116
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
117
117
|
"class-variance-authority": "^0.7.1",
|
|
118
118
|
"lodash.merge": "^4.6.2",
|
|
119
119
|
"next-themes": "^0.4.6",
|
|
@@ -121,20 +121,20 @@
|
|
|
121
121
|
"react-medium-image-zoom": "^5.3.0",
|
|
122
122
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
123
123
|
"tailwind-merge": "^3.3.1",
|
|
124
|
-
"fumadocs-core": "15.6.
|
|
124
|
+
"fumadocs-core": "15.6.12"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
127
|
"@next/eslint-plugin-next": "^15.4.6",
|
|
128
|
-
"@tailwindcss/cli": "^4.1.
|
|
128
|
+
"@tailwindcss/cli": "^4.1.12",
|
|
129
129
|
"@types/lodash.merge": "^4.6.9",
|
|
130
130
|
"@types/react": "^19.1.10",
|
|
131
131
|
"@types/react-dom": "^19.1.7",
|
|
132
132
|
"next": "15.4.6",
|
|
133
|
-
"tailwindcss": "^4.1.
|
|
133
|
+
"tailwindcss": "^4.1.12",
|
|
134
134
|
"tsc-alias": "^1.8.16",
|
|
135
135
|
"@fumadocs/cli": "1.0.0",
|
|
136
136
|
"eslint-config-custom": "0.0.0",
|
|
137
|
-
"fumadocs-core": "15.6.
|
|
137
|
+
"fumadocs-core": "15.6.12",
|
|
138
138
|
"tsconfig": "0.0.0"
|
|
139
139
|
},
|
|
140
140
|
"peerDependencies": {
|