fumadocs-ui 15.0.12 → 15.0.14
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/preset.css +13 -11
- package/dist/components/github-info.d.ts +7 -0
- package/dist/components/github-info.d.ts.map +1 -0
- package/dist/components/github-info.js +53 -0
- package/dist/components/registry.d.ts.map +1 -1
- package/dist/components/registry.js +5 -0
- package/dist/components/type-table.d.ts +1 -0
- package/dist/components/type-table.d.ts.map +1 -1
- package/dist/components/type-table.js +1 -1
- package/dist/layouts/docs/shared.d.ts +1 -1
- package/dist/layouts/docs/shared.d.ts.map +1 -1
- package/dist/layouts/docs/shared.js +1 -1
- package/dist/layouts/docs/sidebar.d.ts.map +1 -1
- package/dist/layouts/docs/sidebar.js +1 -0
- package/dist/layouts/docs.js +1 -1
- package/dist/style.css +206 -539
- package/package.json +12 -11
package/css/preset.css
CHANGED
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
@
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
40
|
+
@utility fd-steps {
|
|
41
|
+
counter-reset: step;
|
|
42
|
+
border-left-width: 1px;
|
|
43
|
+
margin-left: 1rem;
|
|
44
|
+
padding-left: 1.75rem;
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
48
47
|
|
|
49
|
-
|
|
48
|
+
@utility fd-step {
|
|
49
|
+
&:before {
|
|
50
50
|
background-color: var(--color-fd-secondary);
|
|
51
51
|
color: var(--color-fd-secondary-foreground);
|
|
52
52
|
content: counter(step);
|
|
@@ -62,12 +62,14 @@
|
|
|
62
62
|
position: absolute;
|
|
63
63
|
left: -1rem;
|
|
64
64
|
}
|
|
65
|
+
}
|
|
65
66
|
|
|
66
|
-
|
|
67
|
+
@utility prose-no-margin {
|
|
68
|
+
& > :first-child {
|
|
67
69
|
margin-top: 0;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
|
|
72
|
+
& > :last-child {
|
|
71
73
|
margin-bottom: 0;
|
|
72
74
|
}
|
|
73
75
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type AnchorHTMLAttributes } from 'react';
|
|
2
|
+
export declare function GithubInfo({ repo, owner, token, ...props }: AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3
|
+
owner: string;
|
|
4
|
+
repo: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
}): Promise<import("react/jsx-runtime").JSX.Element>;
|
|
7
|
+
//# sourceMappingURL=github-info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"github-info.d.ts","sourceRoot":"","sources":["../../src/components/github-info.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAqClD,wBAAsB,UAAU,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,KAAK,EACL,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,oDA4BA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from '../utils/cn.js';
|
|
3
|
+
import { Star } from 'lucide-react';
|
|
4
|
+
async function getRepoStarsAndForks(owner, repo, token) {
|
|
5
|
+
const endpoint = `https://api.github.com/repos/${owner}/${repo}`;
|
|
6
|
+
const headers = new Headers({
|
|
7
|
+
'Content-Type': 'application/json',
|
|
8
|
+
});
|
|
9
|
+
if (token)
|
|
10
|
+
headers.set('Authorization', `Bearer ${token}`);
|
|
11
|
+
const response = await fetch(endpoint, {
|
|
12
|
+
headers,
|
|
13
|
+
next: {
|
|
14
|
+
revalidate: 60,
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
if (!response.ok) {
|
|
18
|
+
const message = await response.text();
|
|
19
|
+
throw new Error(`Failed to fetch repository data: ${message}`);
|
|
20
|
+
}
|
|
21
|
+
const data = await response.json();
|
|
22
|
+
return {
|
|
23
|
+
stars: data.stargazers_count,
|
|
24
|
+
forks: data.forks_count,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export async function GithubInfo({ repo, owner, token, ...props }) {
|
|
28
|
+
const { stars } = await getRepoStarsAndForks(owner, repo, token);
|
|
29
|
+
const humanizedStars = humanizeNumber(stars);
|
|
30
|
+
return (_jsxs("a", { href: `https://github.com/${owner}/${repo}`, rel: "noreferrer noopener", target: "_blank", ...props, className: cn('flex flex-col gap-1.5 p-2 rounded-lg text-sm text-fd-foreground/80 transition-colors lg:flex-row lg:items-center hover:text-fd-accent-foreground hover:bg-fd-accent', props.className), children: [_jsxs("p", { className: "flex items-center gap-2 truncate", children: [_jsxs("svg", { fill: "currentColor", viewBox: "0 0 24 24", className: "size-3.5", children: [_jsx("title", { children: "GitHub" }), _jsx("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" })] }), owner, "/", repo] }), _jsxs("p", { className: "flex text-xs items-center gap-1 text-fd-muted-foreground", children: [_jsx(Star, { className: "size-3" }), humanizedStars] })] }));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Converts a number to a human-readable string with K suffix for thousands
|
|
34
|
+
* @example 1500 -> "1.5K", 1000000 -> "1000000"
|
|
35
|
+
*/
|
|
36
|
+
function humanizeNumber(num) {
|
|
37
|
+
if (num < 1000) {
|
|
38
|
+
return num.toString();
|
|
39
|
+
}
|
|
40
|
+
if (num < 100000) {
|
|
41
|
+
// For numbers between 1,000 and 99,999, show with one decimal (e.g., 1.5K)
|
|
42
|
+
const value = (num / 1000).toFixed(1);
|
|
43
|
+
// Remove trailing .0 if present
|
|
44
|
+
const formattedValue = value.endsWith('.0') ? value.slice(0, -2) : value;
|
|
45
|
+
return `${formattedValue}K`;
|
|
46
|
+
}
|
|
47
|
+
if (num < 1000000) {
|
|
48
|
+
// For numbers between 10,000 and 999,999, show as whole K (e.g., 10K, 999K)
|
|
49
|
+
return `${Math.floor(num / 1000)}K`;
|
|
50
|
+
}
|
|
51
|
+
// For 1,000,000 and above, just return the number
|
|
52
|
+
return num.toString();
|
|
53
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/components/registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAUpD,eAAO,MAAM,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/components/registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAUpD,eAAO,MAAM,QAAQ,EAAE,QAmFtB,CAAC"}
|
|
@@ -52,6 +52,11 @@ export const registry = {
|
|
|
52
52
|
mapImportPath: contextsMap,
|
|
53
53
|
},
|
|
54
54
|
{ name: 'accordion', files: ['accordion.tsx'] },
|
|
55
|
+
{
|
|
56
|
+
name: 'github-info',
|
|
57
|
+
files: ['github-info.tsx'],
|
|
58
|
+
description: 'A card to display GitHub repo info',
|
|
59
|
+
},
|
|
55
60
|
{ name: 'banner', files: ['banner.tsx'] },
|
|
56
61
|
{ name: 'callout', files: ['callout.tsx'] },
|
|
57
62
|
{ name: 'card', files: ['card.tsx'] },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-table.d.ts","sourceRoot":"","sources":["../../src/components/type-table.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,SAAS,CAWrE;AAED,UAAU,UAAU;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"type-table.d.ts","sourceRoot":"","sources":["../../src/components/type-table.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,wBAAgB,IAAI,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,SAAS,CAWrE;AAED,UAAU,UAAU;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;CAAE,2CAiDvE"}
|
|
@@ -15,5 +15,5 @@ const code = cva('rounded-md bg-fd-secondary p-1 text-fd-secondary-foreground',
|
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
17
|
export function TypeTable({ type }) {
|
|
18
|
-
return (_jsx("div", { className: "prose my-6 overflow-auto prose-no-margin", children: _jsxs("table", { className: "whitespace-nowrap text-sm text-fd-muted-foreground", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "w-[45%]", children: "Prop" }), _jsx("th", { className: "w-[30%]", children: "Type" }), _jsx("th", { className: "w-1/4", children: "Default" })] }) }), _jsx("tbody", { children: Object.entries(type).map(([key, value]) => (_jsxs("tr", { children: [_jsx("td", { children: _jsxs("div", { className: field(), children: [
|
|
18
|
+
return (_jsx("div", { className: "prose my-6 overflow-auto prose-no-margin", children: _jsxs("table", { className: "whitespace-nowrap text-sm text-fd-muted-foreground", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "w-[45%]", children: "Prop" }), _jsx("th", { className: "w-[30%]", children: "Type" }), _jsx("th", { className: "w-1/4", children: "Default" })] }) }), _jsx("tbody", { children: Object.entries(type).map(([key, value]) => (_jsxs("tr", { children: [_jsx("td", { children: _jsxs("div", { className: field(), children: [_jsxs("code", { className: cn(code({ color: 'primary' })), children: [key, !value.required && '?'] }), value.description ? _jsx(Info, { children: value.description }) : null] }) }), _jsx("td", { children: _jsxs("div", { className: field(), children: [_jsx("code", { className: code(), children: value.type }), value.typeDescription ? (_jsx(Info, { children: value.typeDescription })) : null, value.typeDescriptionLink ? (_jsx(Link, { href: value.typeDescriptionLink, children: _jsx(InfoIcon, { className: "size-4" }) })) : null] }) }), _jsx("td", { children: value.default ? (_jsx("code", { className: code(), children: value.default })) : (_jsx("span", { children: "-" })) })] }, key))) })] }) }));
|
|
19
19
|
}
|
|
@@ -43,7 +43,7 @@ export interface SidebarComponents {
|
|
|
43
43
|
export declare function SidebarLinkItem({ item, ...props }: {
|
|
44
44
|
item: LinkItemType;
|
|
45
45
|
className?: string;
|
|
46
|
-
}):
|
|
46
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
export declare function checkPageTree(passed: unknown): void;
|
|
48
48
|
export declare function getSidebarTabsFromOptions(options: SidebarOptions['tabs'], tree: PageTree.Root): Option[] | undefined;
|
|
49
49
|
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/shared.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAG9D,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;CACtE;AAED,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IAErB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAExC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,UAAU,GAAG,KAAK,CAAC;IAErC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAA;KAAE,CAAC,CAAC;IAClC,MAAM,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAC;IAC1E,SAAS,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAA;KAAE,CAAC,CAAC;CAC7C;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,GAAG,KAAK,EACT,EAAE;IACD,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/shared.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAG9D,eAAO,MAAM,eAAe;;CAE3B,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;CACtE;AAED,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IAErB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAExC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,UAAU,GAAG,KAAK,CAAC;IAErC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAA;KAAE,CAAC,CAAC;IAClC,MAAM,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,SAAS,CAAA;KAAE,CAAC,CAAC;IAC1E,SAAS,EAAE,EAAE,CAAC;QAAE,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAA;KAAE,CAAC,CAAC;CAC7C;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,GAAG,KAAK,EACT,EAAE;IACD,IAAI,EAAE,YAAY,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAsDA;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,QAY5C;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAC/B,IAAI,EAAE,QAAQ,CAAC,IAAI,wBASpB"}
|
|
@@ -16,7 +16,7 @@ export function SidebarLinkItem({ item, ...props }) {
|
|
|
16
16
|
}), 'gap-1.5 [&_svg]:size-4', props.className), children: [item.icon, item.text] }));
|
|
17
17
|
}
|
|
18
18
|
if (item.type === 'custom')
|
|
19
|
-
return item.children;
|
|
19
|
+
return _jsx("div", { ...props, children: item.children });
|
|
20
20
|
return (_jsx(SidebarItem, { href: item.url, icon: item.icon, external: item.external, ...props, children: item.text }));
|
|
21
21
|
}
|
|
22
22
|
export function checkPageTree(passed) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/sidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,oBAAoB,EAGzB,KAAK,cAAc,EAEnB,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AACf,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAU1D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAGnE,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC/D;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA2BD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,YAAY,2CAqDrD;AAED,wBAAgB,OAAO,CAAC,EACtB,gBAAoB,EACpB,QAAe,EACf,KAAK,EACL,GAAG,KAAK,EACT,EAAE,YAAY,GAAG;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAA;CAAE,2CAwC3D;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,cAAc,CAAC,cAAc,CAAC,2CASlE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,cAAc,CAAC,cAAc,CAAC,2CAYlE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,2CAarD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,CAAC,oBAAoB,CAAC,2CAkB3E;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,2CAsBA;AAED,wBAAgB,aAAa,CAAC,EAC5B,WAAmB,EACnB,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,2CAgBA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,uBAAuB,2CAqBlE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,2CAmCjD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,uBAAuB,2CAmBlE;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,2CAiB/C;AAgBD;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACzC,
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/layouts/docs/sidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,oBAAoB,EAGzB,KAAK,cAAc,EAEnB,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AACf,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAU1D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAGnE,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC/D;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AA2BD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,YAAY,2CAqDrD;AAED,wBAAgB,OAAO,CAAC,EACtB,gBAAoB,EACpB,QAAe,EACf,KAAK,EACL,GAAG,KAAK,EACT,EAAE,YAAY,GAAG;IAAE,KAAK,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAA;CAAE,2CAwC3D;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,cAAc,CAAC,cAAc,CAAC,2CASlE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,cAAc,CAAC,cAAc,CAAC,2CAYlE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,eAAe,2CAarD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,CAAC,oBAAoB,CAAC,2CAkB3E;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,SAAS,GAAG;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,2CAsBA;AAED,wBAAgB,aAAa,CAAC,EAC5B,WAAmB,EACnB,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,2CAgBA;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,uBAAuB,2CAqBlE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,2CAmCjD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,uBAAuB,2CAmBlE;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,2CAiB/C;AAgBD;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CACzC,2CAwDA"}
|
|
@@ -179,6 +179,7 @@ export function SidebarPageTree(props) {
|
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
return (_jsx(Fragment, { children: renderSidebarList(root.children, 1) }, root.$id));
|
|
182
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps -- root.id is enough
|
|
182
183
|
}, [props.components, root.$id]);
|
|
183
184
|
}
|
|
184
185
|
function PageTreeFolder({ item, ...props }) {
|
package/dist/layouts/docs.js
CHANGED
|
@@ -37,7 +37,7 @@ export function DocsLayout({ nav: { enabled: navEnabled = true, component: navRe
|
|
|
37
37
|
}), 'fixed top-1/2 -translate-y-1/2 start-0 z-40 text-fd-muted-foreground border-s-0 rounded-s-none shadow-md data-[collapsed=false]:hidden max-md:hidden'), children: _jsx(ChevronRight, {}) })) : null, replaceOrDefault({ enabled: sidebarEnabled, component: sidebarReplace }, _jsxs(Aside, { ...sidebar, className: cn('md:ps-(--fd-layout-offset)', sidebar.className), children: [_jsxs(SidebarHeader, { children: [_jsxs("div", { className: "flex flex-row pt-1 max-md:hidden", children: [_jsx(Link, { href: nav.url ?? '/', className: "inline-flex text-[15px] items-center gap-2.5 font-medium", children: nav.title }), nav.children, collapsible && (_jsx(SidebarCollapseTrigger, { className: cn(buttonVariants({
|
|
38
38
|
color: 'ghost',
|
|
39
39
|
size: 'icon-sm',
|
|
40
|
-
}), 'ms-auto mb-auto text-fd-muted-foreground max-md:hidden') }))] }), sidebarBanner, tabs.length > 0 ? (_jsx(RootToggle, { options: tabs, className: "-mx-2" })) : null, !sidebarHideSearch ? (_jsx(LargeSearchToggle, { hideIfDisabled: true, className: "rounded-lg max-md:hidden" })) : null] }), _jsxs(SidebarViewport, { children: [_jsx("div", { className: "mb-4 empty:hidden
|
|
40
|
+
}), 'ms-auto mb-auto text-fd-muted-foreground max-md:hidden') }))] }), sidebarBanner, tabs.length > 0 ? (_jsx(RootToggle, { options: tabs, className: "-mx-2" })) : null, !sidebarHideSearch ? (_jsx(LargeSearchToggle, { hideIfDisabled: true, className: "rounded-lg max-md:hidden" })) : null] }), _jsxs(SidebarViewport, { children: [_jsx("div", { className: "mb-4 empty:hidden", children: links
|
|
41
41
|
.filter((v) => v.type !== 'icon')
|
|
42
42
|
.map((item, i) => (_jsx(SidebarLinkItem, { item: item }, i))) }), _jsx(SidebarPageTree, { components: sidebarComponents })] }), _jsxs(SidebarFooter, { children: [_jsx(SidebarFooterItems, { links: links, i18n: i18n, disableThemeSwitch: props.disableThemeSwitch ?? false }), sidebarFooter] })] }), {
|
|
43
43
|
...sidebar,
|
package/dist/style.css
CHANGED
|
@@ -1,275 +1,18 @@
|
|
|
1
|
-
/*! tailwindcss v4.0.
|
|
1
|
+
/*! tailwindcss v4.0.9 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer theme, base, components, utilities;
|
|
3
3
|
@layer theme {
|
|
4
4
|
:root, :host {
|
|
5
5
|
--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
6
6
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
7
|
-
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
8
7
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
9
8
|
"Courier New", monospace;
|
|
10
|
-
--color-red-50: oklch(0.971 0.013 17.38);
|
|
11
|
-
--color-red-100: oklch(0.936 0.032 17.717);
|
|
12
|
-
--color-red-200: oklch(0.885 0.062 18.334);
|
|
13
|
-
--color-red-300: oklch(0.808 0.114 19.571);
|
|
14
|
-
--color-red-400: oklch(0.704 0.191 22.216);
|
|
15
9
|
--color-red-500: oklch(0.637 0.237 25.331);
|
|
16
|
-
--color-red-600: oklch(0.577 0.245 27.325);
|
|
17
|
-
--color-red-700: oklch(0.505 0.213 27.518);
|
|
18
|
-
--color-red-800: oklch(0.444 0.177 26.899);
|
|
19
|
-
--color-red-900: oklch(0.396 0.141 25.723);
|
|
20
|
-
--color-red-950: oklch(0.258 0.092 26.042);
|
|
21
|
-
--color-orange-50: oklch(0.98 0.016 73.684);
|
|
22
|
-
--color-orange-100: oklch(0.954 0.038 75.164);
|
|
23
|
-
--color-orange-200: oklch(0.901 0.076 70.697);
|
|
24
|
-
--color-orange-300: oklch(0.837 0.128 66.29);
|
|
25
|
-
--color-orange-400: oklch(0.75 0.183 55.934);
|
|
26
10
|
--color-orange-500: oklch(0.705 0.213 47.604);
|
|
27
|
-
--color-orange-600: oklch(0.646 0.222 41.116);
|
|
28
|
-
--color-orange-700: oklch(0.553 0.195 38.402);
|
|
29
|
-
--color-orange-800: oklch(0.47 0.157 37.304);
|
|
30
|
-
--color-orange-900: oklch(0.408 0.123 38.172);
|
|
31
|
-
--color-orange-950: oklch(0.266 0.079 36.259);
|
|
32
|
-
--color-amber-50: oklch(0.987 0.022 95.277);
|
|
33
|
-
--color-amber-100: oklch(0.962 0.059 95.617);
|
|
34
|
-
--color-amber-200: oklch(0.924 0.12 95.746);
|
|
35
|
-
--color-amber-300: oklch(0.879 0.169 91.605);
|
|
36
|
-
--color-amber-400: oklch(0.828 0.189 84.429);
|
|
37
|
-
--color-amber-500: oklch(0.769 0.188 70.08);
|
|
38
|
-
--color-amber-600: oklch(0.666 0.179 58.318);
|
|
39
|
-
--color-amber-700: oklch(0.555 0.163 48.998);
|
|
40
|
-
--color-amber-800: oklch(0.473 0.137 46.201);
|
|
41
|
-
--color-amber-900: oklch(0.414 0.112 45.904);
|
|
42
|
-
--color-amber-950: oklch(0.279 0.077 45.635);
|
|
43
|
-
--color-yellow-50: oklch(0.987 0.026 102.212);
|
|
44
|
-
--color-yellow-100: oklch(0.973 0.071 103.193);
|
|
45
|
-
--color-yellow-200: oklch(0.945 0.129 101.54);
|
|
46
|
-
--color-yellow-300: oklch(0.905 0.182 98.111);
|
|
47
|
-
--color-yellow-400: oklch(0.852 0.199 91.936);
|
|
48
|
-
--color-yellow-500: oklch(0.795 0.184 86.047);
|
|
49
|
-
--color-yellow-600: oklch(0.681 0.162 75.834);
|
|
50
|
-
--color-yellow-700: oklch(0.554 0.135 66.442);
|
|
51
|
-
--color-yellow-800: oklch(0.476 0.114 61.907);
|
|
52
|
-
--color-yellow-900: oklch(0.421 0.095 57.708);
|
|
53
|
-
--color-yellow-950: oklch(0.286 0.066 53.813);
|
|
54
|
-
--color-lime-50: oklch(0.986 0.031 120.757);
|
|
55
|
-
--color-lime-100: oklch(0.967 0.067 122.328);
|
|
56
|
-
--color-lime-200: oklch(0.938 0.127 124.321);
|
|
57
|
-
--color-lime-300: oklch(0.897 0.196 126.665);
|
|
58
|
-
--color-lime-400: oklch(0.841 0.238 128.85);
|
|
59
|
-
--color-lime-500: oklch(0.768 0.233 130.85);
|
|
60
|
-
--color-lime-600: oklch(0.648 0.2 131.684);
|
|
61
|
-
--color-lime-700: oklch(0.532 0.157 131.589);
|
|
62
|
-
--color-lime-800: oklch(0.453 0.124 130.933);
|
|
63
|
-
--color-lime-900: oklch(0.405 0.101 131.063);
|
|
64
|
-
--color-lime-950: oklch(0.274 0.072 132.109);
|
|
65
|
-
--color-green-50: oklch(0.982 0.018 155.826);
|
|
66
|
-
--color-green-100: oklch(0.962 0.044 156.743);
|
|
67
|
-
--color-green-200: oklch(0.925 0.084 155.995);
|
|
68
|
-
--color-green-300: oklch(0.871 0.15 154.449);
|
|
69
|
-
--color-green-400: oklch(0.792 0.209 151.711);
|
|
70
|
-
--color-green-500: oklch(0.723 0.219 149.579);
|
|
71
|
-
--color-green-600: oklch(0.627 0.194 149.214);
|
|
72
|
-
--color-green-700: oklch(0.527 0.154 150.069);
|
|
73
|
-
--color-green-800: oklch(0.448 0.119 151.328);
|
|
74
|
-
--color-green-900: oklch(0.393 0.095 152.535);
|
|
75
|
-
--color-green-950: oklch(0.266 0.065 152.934);
|
|
76
|
-
--color-emerald-50: oklch(0.979 0.021 166.113);
|
|
77
|
-
--color-emerald-100: oklch(0.95 0.052 163.051);
|
|
78
|
-
--color-emerald-200: oklch(0.905 0.093 164.15);
|
|
79
|
-
--color-emerald-300: oklch(0.845 0.143 164.978);
|
|
80
|
-
--color-emerald-400: oklch(0.765 0.177 163.223);
|
|
81
|
-
--color-emerald-500: oklch(0.696 0.17 162.48);
|
|
82
|
-
--color-emerald-600: oklch(0.596 0.145 163.225);
|
|
83
|
-
--color-emerald-700: oklch(0.508 0.118 165.612);
|
|
84
|
-
--color-emerald-800: oklch(0.432 0.095 166.913);
|
|
85
|
-
--color-emerald-900: oklch(0.378 0.077 168.94);
|
|
86
|
-
--color-emerald-950: oklch(0.262 0.051 172.552);
|
|
87
|
-
--color-teal-50: oklch(0.984 0.014 180.72);
|
|
88
|
-
--color-teal-100: oklch(0.953 0.051 180.801);
|
|
89
|
-
--color-teal-200: oklch(0.91 0.096 180.426);
|
|
90
|
-
--color-teal-300: oklch(0.855 0.138 181.071);
|
|
91
|
-
--color-teal-400: oklch(0.777 0.152 181.912);
|
|
92
|
-
--color-teal-500: oklch(0.704 0.14 182.503);
|
|
93
|
-
--color-teal-600: oklch(0.6 0.118 184.704);
|
|
94
|
-
--color-teal-700: oklch(0.511 0.096 186.391);
|
|
95
|
-
--color-teal-800: oklch(0.437 0.078 188.216);
|
|
96
|
-
--color-teal-900: oklch(0.386 0.063 188.416);
|
|
97
|
-
--color-teal-950: oklch(0.277 0.046 192.524);
|
|
98
|
-
--color-cyan-50: oklch(0.984 0.019 200.873);
|
|
99
|
-
--color-cyan-100: oklch(0.956 0.045 203.388);
|
|
100
|
-
--color-cyan-200: oklch(0.917 0.08 205.041);
|
|
101
|
-
--color-cyan-300: oklch(0.865 0.127 207.078);
|
|
102
|
-
--color-cyan-400: oklch(0.789 0.154 211.53);
|
|
103
|
-
--color-cyan-500: oklch(0.715 0.143 215.221);
|
|
104
|
-
--color-cyan-600: oklch(0.609 0.126 221.723);
|
|
105
|
-
--color-cyan-700: oklch(0.52 0.105 223.128);
|
|
106
|
-
--color-cyan-800: oklch(0.45 0.085 224.283);
|
|
107
|
-
--color-cyan-900: oklch(0.398 0.07 227.392);
|
|
108
|
-
--color-cyan-950: oklch(0.302 0.056 229.695);
|
|
109
|
-
--color-sky-50: oklch(0.977 0.013 236.62);
|
|
110
|
-
--color-sky-100: oklch(0.951 0.026 236.824);
|
|
111
|
-
--color-sky-200: oklch(0.901 0.058 230.902);
|
|
112
|
-
--color-sky-300: oklch(0.828 0.111 230.318);
|
|
113
|
-
--color-sky-400: oklch(0.746 0.16 232.661);
|
|
114
|
-
--color-sky-500: oklch(0.685 0.169 237.323);
|
|
115
|
-
--color-sky-600: oklch(0.588 0.158 241.966);
|
|
116
|
-
--color-sky-700: oklch(0.5 0.134 242.749);
|
|
117
|
-
--color-sky-800: oklch(0.443 0.11 240.79);
|
|
118
|
-
--color-sky-900: oklch(0.391 0.09 240.876);
|
|
119
|
-
--color-sky-950: oklch(0.293 0.066 243.157);
|
|
120
|
-
--color-blue-50: oklch(0.97 0.014 254.604);
|
|
121
|
-
--color-blue-100: oklch(0.932 0.032 255.585);
|
|
122
|
-
--color-blue-200: oklch(0.882 0.059 254.128);
|
|
123
|
-
--color-blue-300: oklch(0.809 0.105 251.813);
|
|
124
|
-
--color-blue-400: oklch(0.707 0.165 254.624);
|
|
125
11
|
--color-blue-500: oklch(0.623 0.214 259.815);
|
|
126
|
-
--color-blue-600: oklch(0.546 0.245 262.881);
|
|
127
|
-
--color-blue-700: oklch(0.488 0.243 264.376);
|
|
128
|
-
--color-blue-800: oklch(0.424 0.199 265.638);
|
|
129
|
-
--color-blue-900: oklch(0.379 0.146 265.522);
|
|
130
|
-
--color-blue-950: oklch(0.282 0.091 267.935);
|
|
131
|
-
--color-indigo-50: oklch(0.962 0.018 272.314);
|
|
132
|
-
--color-indigo-100: oklch(0.93 0.034 272.788);
|
|
133
|
-
--color-indigo-200: oklch(0.87 0.065 274.039);
|
|
134
|
-
--color-indigo-300: oklch(0.785 0.115 274.713);
|
|
135
|
-
--color-indigo-400: oklch(0.673 0.182 276.935);
|
|
136
|
-
--color-indigo-500: oklch(0.585 0.233 277.117);
|
|
137
|
-
--color-indigo-600: oklch(0.511 0.262 276.966);
|
|
138
|
-
--color-indigo-700: oklch(0.457 0.24 277.023);
|
|
139
|
-
--color-indigo-800: oklch(0.398 0.195 277.366);
|
|
140
|
-
--color-indigo-900: oklch(0.359 0.144 278.697);
|
|
141
|
-
--color-indigo-950: oklch(0.257 0.09 281.288);
|
|
142
|
-
--color-violet-50: oklch(0.969 0.016 293.756);
|
|
143
|
-
--color-violet-100: oklch(0.943 0.029 294.588);
|
|
144
|
-
--color-violet-200: oklch(0.894 0.057 293.283);
|
|
145
|
-
--color-violet-300: oklch(0.811 0.111 293.571);
|
|
146
|
-
--color-violet-400: oklch(0.702 0.183 293.541);
|
|
147
|
-
--color-violet-500: oklch(0.606 0.25 292.717);
|
|
148
|
-
--color-violet-600: oklch(0.541 0.281 293.009);
|
|
149
|
-
--color-violet-700: oklch(0.491 0.27 292.581);
|
|
150
|
-
--color-violet-800: oklch(0.432 0.232 292.759);
|
|
151
|
-
--color-violet-900: oklch(0.38 0.189 293.745);
|
|
152
|
-
--color-violet-950: oklch(0.283 0.141 291.089);
|
|
153
|
-
--color-purple-50: oklch(0.977 0.014 308.299);
|
|
154
|
-
--color-purple-100: oklch(0.946 0.033 307.174);
|
|
155
|
-
--color-purple-200: oklch(0.902 0.063 306.703);
|
|
156
|
-
--color-purple-300: oklch(0.827 0.119 306.383);
|
|
157
|
-
--color-purple-400: oklch(0.714 0.203 305.504);
|
|
158
|
-
--color-purple-500: oklch(0.627 0.265 303.9);
|
|
159
|
-
--color-purple-600: oklch(0.558 0.288 302.321);
|
|
160
|
-
--color-purple-700: oklch(0.496 0.265 301.924);
|
|
161
|
-
--color-purple-800: oklch(0.438 0.218 303.724);
|
|
162
|
-
--color-purple-900: oklch(0.381 0.176 304.987);
|
|
163
|
-
--color-purple-950: oklch(0.291 0.149 302.717);
|
|
164
|
-
--color-fuchsia-50: oklch(0.977 0.017 320.058);
|
|
165
|
-
--color-fuchsia-100: oklch(0.952 0.037 318.852);
|
|
166
|
-
--color-fuchsia-200: oklch(0.903 0.076 319.62);
|
|
167
|
-
--color-fuchsia-300: oklch(0.833 0.145 321.434);
|
|
168
|
-
--color-fuchsia-400: oklch(0.74 0.238 322.16);
|
|
169
|
-
--color-fuchsia-500: oklch(0.667 0.295 322.15);
|
|
170
|
-
--color-fuchsia-600: oklch(0.591 0.293 322.896);
|
|
171
|
-
--color-fuchsia-700: oklch(0.518 0.253 323.949);
|
|
172
|
-
--color-fuchsia-800: oklch(0.452 0.211 324.591);
|
|
173
|
-
--color-fuchsia-900: oklch(0.401 0.17 325.612);
|
|
174
|
-
--color-fuchsia-950: oklch(0.293 0.136 325.661);
|
|
175
|
-
--color-pink-50: oklch(0.971 0.014 343.198);
|
|
176
|
-
--color-pink-100: oklch(0.948 0.028 342.258);
|
|
177
|
-
--color-pink-200: oklch(0.899 0.061 343.231);
|
|
178
|
-
--color-pink-300: oklch(0.823 0.12 346.018);
|
|
179
|
-
--color-pink-400: oklch(0.718 0.202 349.761);
|
|
180
|
-
--color-pink-500: oklch(0.656 0.241 354.308);
|
|
181
|
-
--color-pink-600: oklch(0.592 0.249 0.584);
|
|
182
|
-
--color-pink-700: oklch(0.525 0.223 3.958);
|
|
183
|
-
--color-pink-800: oklch(0.459 0.187 3.815);
|
|
184
|
-
--color-pink-900: oklch(0.408 0.153 2.432);
|
|
185
|
-
--color-pink-950: oklch(0.284 0.109 3.907);
|
|
186
|
-
--color-rose-50: oklch(0.969 0.015 12.422);
|
|
187
|
-
--color-rose-100: oklch(0.941 0.03 12.58);
|
|
188
|
-
--color-rose-200: oklch(0.892 0.058 10.001);
|
|
189
|
-
--color-rose-300: oklch(0.81 0.117 11.638);
|
|
190
|
-
--color-rose-400: oklch(0.712 0.194 13.428);
|
|
191
|
-
--color-rose-500: oklch(0.645 0.246 16.439);
|
|
192
|
-
--color-rose-600: oklch(0.586 0.253 17.585);
|
|
193
|
-
--color-rose-700: oklch(0.514 0.222 16.935);
|
|
194
|
-
--color-rose-800: oklch(0.455 0.188 13.697);
|
|
195
|
-
--color-rose-900: oklch(0.41 0.159 10.272);
|
|
196
|
-
--color-rose-950: oklch(0.271 0.105 12.094);
|
|
197
|
-
--color-slate-50: oklch(0.984 0.003 247.858);
|
|
198
|
-
--color-slate-100: oklch(0.968 0.007 247.896);
|
|
199
|
-
--color-slate-200: oklch(0.929 0.013 255.508);
|
|
200
|
-
--color-slate-300: oklch(0.869 0.022 252.894);
|
|
201
|
-
--color-slate-400: oklch(0.704 0.04 256.788);
|
|
202
|
-
--color-slate-500: oklch(0.554 0.046 257.417);
|
|
203
|
-
--color-slate-600: oklch(0.446 0.043 257.281);
|
|
204
|
-
--color-slate-700: oklch(0.372 0.044 257.287);
|
|
205
|
-
--color-slate-800: oklch(0.279 0.041 260.031);
|
|
206
|
-
--color-slate-900: oklch(0.208 0.042 265.755);
|
|
207
|
-
--color-slate-950: oklch(0.129 0.042 264.695);
|
|
208
|
-
--color-gray-50: oklch(0.985 0.002 247.839);
|
|
209
|
-
--color-gray-100: oklch(0.967 0.003 264.542);
|
|
210
|
-
--color-gray-200: oklch(0.928 0.006 264.531);
|
|
211
|
-
--color-gray-300: oklch(0.872 0.01 258.338);
|
|
212
|
-
--color-gray-400: oklch(0.707 0.022 261.325);
|
|
213
|
-
--color-gray-500: oklch(0.551 0.027 264.364);
|
|
214
|
-
--color-gray-600: oklch(0.446 0.03 256.802);
|
|
215
|
-
--color-gray-700: oklch(0.373 0.034 259.733);
|
|
216
|
-
--color-gray-800: oklch(0.278 0.033 256.848);
|
|
217
|
-
--color-gray-900: oklch(0.21 0.034 264.665);
|
|
218
|
-
--color-gray-950: oklch(0.13 0.028 261.692);
|
|
219
|
-
--color-zinc-50: oklch(0.985 0 0);
|
|
220
|
-
--color-zinc-100: oklch(0.967 0.001 286.375);
|
|
221
|
-
--color-zinc-200: oklch(0.92 0.004 286.32);
|
|
222
|
-
--color-zinc-300: oklch(0.871 0.006 286.286);
|
|
223
|
-
--color-zinc-400: oklch(0.705 0.015 286.067);
|
|
224
|
-
--color-zinc-500: oklch(0.552 0.016 285.938);
|
|
225
|
-
--color-zinc-600: oklch(0.442 0.017 285.786);
|
|
226
|
-
--color-zinc-700: oklch(0.37 0.013 285.805);
|
|
227
|
-
--color-zinc-800: oklch(0.274 0.006 286.033);
|
|
228
|
-
--color-zinc-900: oklch(0.21 0.006 285.885);
|
|
229
|
-
--color-zinc-950: oklch(0.141 0.005 285.823);
|
|
230
|
-
--color-neutral-50: oklch(0.985 0 0);
|
|
231
|
-
--color-neutral-100: oklch(0.97 0 0);
|
|
232
|
-
--color-neutral-200: oklch(0.922 0 0);
|
|
233
|
-
--color-neutral-300: oklch(0.87 0 0);
|
|
234
|
-
--color-neutral-400: oklch(0.708 0 0);
|
|
235
|
-
--color-neutral-500: oklch(0.556 0 0);
|
|
236
|
-
--color-neutral-600: oklch(0.439 0 0);
|
|
237
|
-
--color-neutral-700: oklch(0.371 0 0);
|
|
238
|
-
--color-neutral-800: oklch(0.269 0 0);
|
|
239
|
-
--color-neutral-900: oklch(0.205 0 0);
|
|
240
|
-
--color-neutral-950: oklch(0.145 0 0);
|
|
241
|
-
--color-stone-50: oklch(0.985 0.001 106.423);
|
|
242
|
-
--color-stone-100: oklch(0.97 0.001 106.424);
|
|
243
|
-
--color-stone-200: oklch(0.923 0.003 48.717);
|
|
244
|
-
--color-stone-300: oklch(0.869 0.005 56.366);
|
|
245
|
-
--color-stone-400: oklch(0.709 0.01 56.259);
|
|
246
|
-
--color-stone-500: oklch(0.553 0.013 58.071);
|
|
247
|
-
--color-stone-600: oklch(0.444 0.011 73.639);
|
|
248
|
-
--color-stone-700: oklch(0.374 0.01 67.558);
|
|
249
|
-
--color-stone-800: oklch(0.268 0.007 34.298);
|
|
250
|
-
--color-stone-900: oklch(0.216 0.006 56.043);
|
|
251
|
-
--color-stone-950: oklch(0.147 0.004 49.25);
|
|
252
12
|
--color-black: #000;
|
|
253
|
-
--color-white: #fff;
|
|
254
13
|
--spacing: 0.25rem;
|
|
255
14
|
--breakpoint-sm: 40rem;
|
|
256
|
-
--breakpoint-md: 48rem;
|
|
257
|
-
--breakpoint-lg: 64rem;
|
|
258
|
-
--breakpoint-xl: 80rem;
|
|
259
|
-
--breakpoint-2xl: 96rem;
|
|
260
|
-
--container-3xs: 16rem;
|
|
261
|
-
--container-2xs: 18rem;
|
|
262
|
-
--container-xs: 20rem;
|
|
263
15
|
--container-sm: 24rem;
|
|
264
|
-
--container-md: 28rem;
|
|
265
|
-
--container-lg: 32rem;
|
|
266
|
-
--container-xl: 36rem;
|
|
267
|
-
--container-2xl: 42rem;
|
|
268
|
-
--container-3xl: 48rem;
|
|
269
|
-
--container-4xl: 56rem;
|
|
270
|
-
--container-5xl: 64rem;
|
|
271
|
-
--container-6xl: 72rem;
|
|
272
|
-
--container-7xl: 80rem;
|
|
273
16
|
--text-xs: 0.75rem;
|
|
274
17
|
--text-xs--line-height: calc(1 / 0.75);
|
|
275
18
|
--text-sm: 0.875rem;
|
|
@@ -278,88 +21,18 @@
|
|
|
278
21
|
--text-base--line-height: calc(1.5 / 1);
|
|
279
22
|
--text-lg: 1.125rem;
|
|
280
23
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
281
|
-
--text-xl: 1.25rem;
|
|
282
|
-
--text-xl--line-height: calc(1.75 / 1.25);
|
|
283
|
-
--text-2xl: 1.5rem;
|
|
284
|
-
--text-2xl--line-height: calc(2 / 1.5);
|
|
285
24
|
--text-3xl: 1.875rem;
|
|
286
25
|
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
287
|
-
--text-4xl: 2.25rem;
|
|
288
|
-
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
289
|
-
--text-5xl: 3rem;
|
|
290
|
-
--text-5xl--line-height: 1;
|
|
291
|
-
--text-6xl: 3.75rem;
|
|
292
|
-
--text-6xl--line-height: 1;
|
|
293
|
-
--text-7xl: 4.5rem;
|
|
294
|
-
--text-7xl--line-height: 1;
|
|
295
|
-
--text-8xl: 6rem;
|
|
296
|
-
--text-8xl--line-height: 1;
|
|
297
|
-
--text-9xl: 8rem;
|
|
298
|
-
--text-9xl--line-height: 1;
|
|
299
|
-
--font-weight-thin: 100;
|
|
300
|
-
--font-weight-extralight: 200;
|
|
301
|
-
--font-weight-light: 300;
|
|
302
|
-
--font-weight-normal: 400;
|
|
303
26
|
--font-weight-medium: 500;
|
|
304
27
|
--font-weight-semibold: 600;
|
|
305
|
-
--font-weight-bold: 700;
|
|
306
|
-
--font-weight-extrabold: 800;
|
|
307
|
-
--font-weight-black: 900;
|
|
308
|
-
--tracking-tighter: -0.05em;
|
|
309
|
-
--tracking-tight: -0.025em;
|
|
310
|
-
--tracking-normal: 0em;
|
|
311
|
-
--tracking-wide: 0.025em;
|
|
312
|
-
--tracking-wider: 0.05em;
|
|
313
|
-
--tracking-widest: 0.1em;
|
|
314
|
-
--leading-tight: 1.25;
|
|
315
|
-
--leading-snug: 1.375;
|
|
316
|
-
--leading-normal: 1.5;
|
|
317
|
-
--leading-relaxed: 1.625;
|
|
318
|
-
--leading-loose: 2;
|
|
319
|
-
--radius-xs: 0.125rem;
|
|
320
|
-
--radius-sm: 0.25rem;
|
|
321
28
|
--radius-md: 0.375rem;
|
|
322
29
|
--radius-lg: 0.5rem;
|
|
323
30
|
--radius-xl: 0.75rem;
|
|
324
31
|
--radius-2xl: 1rem;
|
|
325
|
-
--radius-3xl: 1.5rem;
|
|
326
|
-
--radius-4xl: 2rem;
|
|
327
|
-
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
328
|
-
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
329
|
-
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
330
|
-
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
331
|
-
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
332
|
-
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
333
|
-
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
334
|
-
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
335
|
-
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
336
|
-
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
337
|
-
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
|
|
338
|
-
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
339
|
-
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
|
|
340
|
-
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
341
|
-
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
342
|
-
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
|
|
343
|
-
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
344
|
-
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
345
|
-
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
346
32
|
--animate-spin: spin 1s linear infinite;
|
|
347
|
-
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
348
|
-
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
349
|
-
--animate-bounce: bounce 1s infinite;
|
|
350
|
-
--blur-xs: 4px;
|
|
351
33
|
--blur-sm: 8px;
|
|
352
34
|
--blur-md: 12px;
|
|
353
35
|
--blur-lg: 16px;
|
|
354
|
-
--blur-xl: 24px;
|
|
355
|
-
--blur-2xl: 40px;
|
|
356
|
-
--blur-3xl: 64px;
|
|
357
|
-
--perspective-dramatic: 100px;
|
|
358
|
-
--perspective-near: 300px;
|
|
359
|
-
--perspective-normal: 500px;
|
|
360
|
-
--perspective-midrange: 800px;
|
|
361
|
-
--perspective-distant: 1200px;
|
|
362
|
-
--aspect-video: 16 / 9;
|
|
363
36
|
--default-transition-duration: 150ms;
|
|
364
37
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
365
38
|
--default-font-family: var(--font-sans);
|
|
@@ -564,6 +237,31 @@
|
|
|
564
237
|
.collapse {
|
|
565
238
|
visibility: collapse;
|
|
566
239
|
}
|
|
240
|
+
.fd-step {
|
|
241
|
+
&:before {
|
|
242
|
+
background-color: var(--color-fd-secondary);
|
|
243
|
+
color: var(--color-fd-secondary-foreground);
|
|
244
|
+
content: counter(step);
|
|
245
|
+
counter-increment: step;
|
|
246
|
+
border-radius: 9999px;
|
|
247
|
+
justify-content: center;
|
|
248
|
+
align-items: center;
|
|
249
|
+
width: 2rem;
|
|
250
|
+
height: 2rem;
|
|
251
|
+
font-size: 0.875rem;
|
|
252
|
+
line-height: 1.25rem;
|
|
253
|
+
display: flex;
|
|
254
|
+
position: absolute;
|
|
255
|
+
left: -1rem;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
.fd-steps {
|
|
259
|
+
counter-reset: step;
|
|
260
|
+
border-left-width: 1px;
|
|
261
|
+
margin-left: 1rem;
|
|
262
|
+
padding-left: 1.75rem;
|
|
263
|
+
position: relative;
|
|
264
|
+
}
|
|
567
265
|
.absolute {
|
|
568
266
|
position: absolute;
|
|
569
267
|
}
|
|
@@ -1087,6 +785,14 @@
|
|
|
1087
785
|
border-bottom-color: var(--tw-prose-th-borders);
|
|
1088
786
|
}
|
|
1089
787
|
}
|
|
788
|
+
.prose-no-margin {
|
|
789
|
+
& > :first-child {
|
|
790
|
+
margin-top: 0;
|
|
791
|
+
}
|
|
792
|
+
& > :last-child {
|
|
793
|
+
margin-bottom: 0;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
1090
796
|
.mt-\(--fd-nav-height\) {
|
|
1091
797
|
margin-top: var(--fd-nav-height);
|
|
1092
798
|
}
|
|
@@ -1706,6 +1412,9 @@
|
|
|
1706
1412
|
.text-fd-foreground\/30 {
|
|
1707
1413
|
color: color-mix(in oklab, var(--color-fd-foreground) 30%, transparent);
|
|
1708
1414
|
}
|
|
1415
|
+
.text-fd-foreground\/80 {
|
|
1416
|
+
color: color-mix(in oklab, var(--color-fd-foreground) 80%, transparent);
|
|
1417
|
+
}
|
|
1709
1418
|
.text-fd-muted-foreground {
|
|
1710
1419
|
color: var(--color-fd-muted-foreground);
|
|
1711
1420
|
}
|
|
@@ -1806,16 +1515,16 @@
|
|
|
1806
1515
|
--tw-duration: 300ms;
|
|
1807
1516
|
transition-duration: 300ms;
|
|
1808
1517
|
}
|
|
1518
|
+
.select-none {
|
|
1519
|
+
-webkit-user-select: none;
|
|
1520
|
+
user-select: none;
|
|
1521
|
+
}
|
|
1809
1522
|
.\[--fd-nav-height\:calc\(var\(--spacing\)\*14\)\] {
|
|
1810
1523
|
--fd-nav-height: calc(var(--spacing) * 14);
|
|
1811
1524
|
}
|
|
1812
1525
|
.\[--fd-tocnav-height\:36px\] {
|
|
1813
1526
|
--fd-tocnav-height: 36px;
|
|
1814
1527
|
}
|
|
1815
|
-
.select-none {
|
|
1816
|
-
-webkit-user-select: none;
|
|
1817
|
-
user-select: none;
|
|
1818
|
-
}
|
|
1819
1528
|
.group-hover\:opacity-100 {
|
|
1820
1529
|
&:is(:where(.group):hover *) {
|
|
1821
1530
|
@media (hover: hover) {
|
|
@@ -2305,6 +2014,16 @@
|
|
|
2305
2014
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
2306
2015
|
}
|
|
2307
2016
|
}
|
|
2017
|
+
.lg\:flex-row {
|
|
2018
|
+
@media (width >= 64rem) {
|
|
2019
|
+
flex-direction: row;
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
.lg\:items-center {
|
|
2023
|
+
@media (width >= 64rem) {
|
|
2024
|
+
align-items: center;
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2308
2027
|
.lg\:rounded-2xl {
|
|
2309
2028
|
@media (width >= 64rem) {
|
|
2310
2029
|
border-radius: var(--radius-2xl);
|
|
@@ -2521,37 +2240,6 @@
|
|
|
2521
2240
|
background-color: var(--color-fd-background);
|
|
2522
2241
|
}
|
|
2523
2242
|
}
|
|
2524
|
-
@layer utilities {
|
|
2525
|
-
.fd-steps {
|
|
2526
|
-
counter-reset: step;
|
|
2527
|
-
border-left-width: 1px;
|
|
2528
|
-
margin-left: 1rem;
|
|
2529
|
-
padding-left: 1.75rem;
|
|
2530
|
-
position: relative;
|
|
2531
|
-
}
|
|
2532
|
-
.fd-step:before {
|
|
2533
|
-
background-color: var(--color-fd-secondary);
|
|
2534
|
-
color: var(--color-fd-secondary-foreground);
|
|
2535
|
-
content: counter(step);
|
|
2536
|
-
counter-increment: step;
|
|
2537
|
-
border-radius: 9999px;
|
|
2538
|
-
justify-content: center;
|
|
2539
|
-
align-items: center;
|
|
2540
|
-
width: 2rem;
|
|
2541
|
-
height: 2rem;
|
|
2542
|
-
font-size: 0.875rem;
|
|
2543
|
-
line-height: 1.25rem;
|
|
2544
|
-
display: flex;
|
|
2545
|
-
position: absolute;
|
|
2546
|
-
left: -1rem;
|
|
2547
|
-
}
|
|
2548
|
-
.prose-no-margin > :first-child {
|
|
2549
|
-
margin-top: 0;
|
|
2550
|
-
}
|
|
2551
|
-
.prose-no-margin > :last-child {
|
|
2552
|
-
margin-bottom: 0;
|
|
2553
|
-
}
|
|
2554
|
-
}
|
|
2555
2243
|
@property --radix-collapsible-content-height {
|
|
2556
2244
|
syntax: '<length>';
|
|
2557
2245
|
inherits: false;
|
|
@@ -2567,182 +2255,6 @@
|
|
|
2567
2255
|
cursor: pointer;
|
|
2568
2256
|
}
|
|
2569
2257
|
}
|
|
2570
|
-
@keyframes spin {
|
|
2571
|
-
to {
|
|
2572
|
-
transform: rotate(360deg);
|
|
2573
|
-
}
|
|
2574
|
-
}
|
|
2575
|
-
@keyframes ping {
|
|
2576
|
-
75%, 100% {
|
|
2577
|
-
transform: scale(2);
|
|
2578
|
-
opacity: 0;
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
@keyframes pulse {
|
|
2582
|
-
50% {
|
|
2583
|
-
opacity: 0.5;
|
|
2584
|
-
}
|
|
2585
|
-
}
|
|
2586
|
-
@keyframes bounce {
|
|
2587
|
-
0%, 100% {
|
|
2588
|
-
transform: translateY(-25%);
|
|
2589
|
-
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
2590
|
-
}
|
|
2591
|
-
50% {
|
|
2592
|
-
transform: none;
|
|
2593
|
-
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
2594
|
-
}
|
|
2595
|
-
}
|
|
2596
|
-
@keyframes fd-collapsible-down {
|
|
2597
|
-
from {
|
|
2598
|
-
height: 0;
|
|
2599
|
-
opacity: 0;
|
|
2600
|
-
}
|
|
2601
|
-
to {
|
|
2602
|
-
height: var(--radix-collapsible-content-height);
|
|
2603
|
-
}
|
|
2604
|
-
}
|
|
2605
|
-
@keyframes fd-collapsible-up {
|
|
2606
|
-
from {
|
|
2607
|
-
height: var(--radix-collapsible-content-height);
|
|
2608
|
-
}
|
|
2609
|
-
to {
|
|
2610
|
-
height: 0;
|
|
2611
|
-
opacity: 0;
|
|
2612
|
-
}
|
|
2613
|
-
}
|
|
2614
|
-
@keyframes fd-accordion-down {
|
|
2615
|
-
from {
|
|
2616
|
-
height: 0;
|
|
2617
|
-
opacity: 0.5;
|
|
2618
|
-
}
|
|
2619
|
-
to {
|
|
2620
|
-
height: var(--radix-accordion-content-height);
|
|
2621
|
-
}
|
|
2622
|
-
}
|
|
2623
|
-
@keyframes fd-accordion-up {
|
|
2624
|
-
from {
|
|
2625
|
-
height: var(--radix-accordion-content-height);
|
|
2626
|
-
}
|
|
2627
|
-
to {
|
|
2628
|
-
height: 0;
|
|
2629
|
-
opacity: 0.5;
|
|
2630
|
-
}
|
|
2631
|
-
}
|
|
2632
|
-
@keyframes fd-dialog-in {
|
|
2633
|
-
from {
|
|
2634
|
-
transform: scale(0.95);
|
|
2635
|
-
opacity: 0;
|
|
2636
|
-
}
|
|
2637
|
-
to {
|
|
2638
|
-
transform: scale(1);
|
|
2639
|
-
}
|
|
2640
|
-
}
|
|
2641
|
-
@keyframes fd-dialog-out {
|
|
2642
|
-
from {
|
|
2643
|
-
transform: scale(1);
|
|
2644
|
-
}
|
|
2645
|
-
to {
|
|
2646
|
-
transform: scale(0.95);
|
|
2647
|
-
opacity: 0;
|
|
2648
|
-
}
|
|
2649
|
-
}
|
|
2650
|
-
@keyframes fd-popover-in {
|
|
2651
|
-
from {
|
|
2652
|
-
opacity: 0;
|
|
2653
|
-
transform: scale(0.98) translateY(-4px);
|
|
2654
|
-
}
|
|
2655
|
-
to {
|
|
2656
|
-
opacity: 1;
|
|
2657
|
-
transform: scale(1) translateY(0);
|
|
2658
|
-
}
|
|
2659
|
-
}
|
|
2660
|
-
@keyframes fd-popover-out {
|
|
2661
|
-
from {
|
|
2662
|
-
opacity: 1;
|
|
2663
|
-
transform: translateY(0);
|
|
2664
|
-
}
|
|
2665
|
-
to {
|
|
2666
|
-
opacity: 0;
|
|
2667
|
-
transform: translateY(-4px);
|
|
2668
|
-
}
|
|
2669
|
-
}
|
|
2670
|
-
@keyframes fd-fade-in {
|
|
2671
|
-
from {
|
|
2672
|
-
opacity: 0;
|
|
2673
|
-
}
|
|
2674
|
-
to {
|
|
2675
|
-
opacity: 1;
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
|
-
@keyframes fd-fade-out {
|
|
2679
|
-
from {
|
|
2680
|
-
opacity: 1;
|
|
2681
|
-
}
|
|
2682
|
-
to {
|
|
2683
|
-
opacity: 0;
|
|
2684
|
-
}
|
|
2685
|
-
}
|
|
2686
|
-
@keyframes fd-enterFromRight {
|
|
2687
|
-
from {
|
|
2688
|
-
opacity: 0;
|
|
2689
|
-
transform: translateX(200px);
|
|
2690
|
-
}
|
|
2691
|
-
to {
|
|
2692
|
-
opacity: 1;
|
|
2693
|
-
transform: translateX(0);
|
|
2694
|
-
}
|
|
2695
|
-
}
|
|
2696
|
-
@keyframes fd-enterFromLeft {
|
|
2697
|
-
from {
|
|
2698
|
-
opacity: 0;
|
|
2699
|
-
transform: translateX(-200px);
|
|
2700
|
-
}
|
|
2701
|
-
to {
|
|
2702
|
-
opacity: 1;
|
|
2703
|
-
transform: translateX(0);
|
|
2704
|
-
}
|
|
2705
|
-
}
|
|
2706
|
-
@keyframes fd-exitToRight {
|
|
2707
|
-
from {
|
|
2708
|
-
opacity: 1;
|
|
2709
|
-
transform: translateX(0);
|
|
2710
|
-
}
|
|
2711
|
-
to {
|
|
2712
|
-
opacity: 0;
|
|
2713
|
-
transform: translateX(200px);
|
|
2714
|
-
}
|
|
2715
|
-
}
|
|
2716
|
-
@keyframes fd-exitToLeft {
|
|
2717
|
-
from {
|
|
2718
|
-
opacity: 1;
|
|
2719
|
-
transform: translateX(0);
|
|
2720
|
-
}
|
|
2721
|
-
to {
|
|
2722
|
-
opacity: 0;
|
|
2723
|
-
transform: translateX(-200px);
|
|
2724
|
-
}
|
|
2725
|
-
}
|
|
2726
|
-
@keyframes fd-nav-menu-in {
|
|
2727
|
-
from {
|
|
2728
|
-
opacity: 0;
|
|
2729
|
-
height: 0px;
|
|
2730
|
-
}
|
|
2731
|
-
to {
|
|
2732
|
-
opacity: 1;
|
|
2733
|
-
height: var(--radix-navigation-menu-viewport-height);
|
|
2734
|
-
}
|
|
2735
|
-
}
|
|
2736
|
-
@keyframes fd-nav-menu-out {
|
|
2737
|
-
from {
|
|
2738
|
-
opacity: 1;
|
|
2739
|
-
height: var(--radix-navigation-menu-viewport-height);
|
|
2740
|
-
}
|
|
2741
|
-
to {
|
|
2742
|
-
opacity: 0;
|
|
2743
|
-
height: 0px;
|
|
2744
|
-
}
|
|
2745
|
-
}
|
|
2746
2258
|
@property --tw-translate-x {
|
|
2747
2259
|
syntax: "*";
|
|
2748
2260
|
inherits: false;
|
|
@@ -2952,3 +2464,158 @@
|
|
|
2952
2464
|
syntax: "*";
|
|
2953
2465
|
inherits: false;
|
|
2954
2466
|
}
|
|
2467
|
+
@keyframes spin {
|
|
2468
|
+
to {
|
|
2469
|
+
transform: rotate(360deg);
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
@keyframes fd-collapsible-down {
|
|
2473
|
+
from {
|
|
2474
|
+
height: 0;
|
|
2475
|
+
opacity: 0;
|
|
2476
|
+
}
|
|
2477
|
+
to {
|
|
2478
|
+
height: var(--radix-collapsible-content-height);
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
@keyframes fd-collapsible-up {
|
|
2482
|
+
from {
|
|
2483
|
+
height: var(--radix-collapsible-content-height);
|
|
2484
|
+
}
|
|
2485
|
+
to {
|
|
2486
|
+
height: 0;
|
|
2487
|
+
opacity: 0;
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
@keyframes fd-accordion-down {
|
|
2491
|
+
from {
|
|
2492
|
+
height: 0;
|
|
2493
|
+
opacity: 0.5;
|
|
2494
|
+
}
|
|
2495
|
+
to {
|
|
2496
|
+
height: var(--radix-accordion-content-height);
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
@keyframes fd-accordion-up {
|
|
2500
|
+
from {
|
|
2501
|
+
height: var(--radix-accordion-content-height);
|
|
2502
|
+
}
|
|
2503
|
+
to {
|
|
2504
|
+
height: 0;
|
|
2505
|
+
opacity: 0.5;
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
@keyframes fd-dialog-in {
|
|
2509
|
+
from {
|
|
2510
|
+
transform: scale(0.95);
|
|
2511
|
+
opacity: 0;
|
|
2512
|
+
}
|
|
2513
|
+
to {
|
|
2514
|
+
transform: scale(1);
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
@keyframes fd-dialog-out {
|
|
2518
|
+
from {
|
|
2519
|
+
transform: scale(1);
|
|
2520
|
+
}
|
|
2521
|
+
to {
|
|
2522
|
+
transform: scale(0.95);
|
|
2523
|
+
opacity: 0;
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
@keyframes fd-popover-in {
|
|
2527
|
+
from {
|
|
2528
|
+
opacity: 0;
|
|
2529
|
+
transform: scale(0.98) translateY(-4px);
|
|
2530
|
+
}
|
|
2531
|
+
to {
|
|
2532
|
+
opacity: 1;
|
|
2533
|
+
transform: scale(1) translateY(0);
|
|
2534
|
+
}
|
|
2535
|
+
}
|
|
2536
|
+
@keyframes fd-popover-out {
|
|
2537
|
+
from {
|
|
2538
|
+
opacity: 1;
|
|
2539
|
+
transform: translateY(0);
|
|
2540
|
+
}
|
|
2541
|
+
to {
|
|
2542
|
+
opacity: 0;
|
|
2543
|
+
transform: translateY(-4px);
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
@keyframes fd-fade-in {
|
|
2547
|
+
from {
|
|
2548
|
+
opacity: 0;
|
|
2549
|
+
}
|
|
2550
|
+
to {
|
|
2551
|
+
opacity: 1;
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
@keyframes fd-fade-out {
|
|
2555
|
+
from {
|
|
2556
|
+
opacity: 1;
|
|
2557
|
+
}
|
|
2558
|
+
to {
|
|
2559
|
+
opacity: 0;
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
@keyframes fd-enterFromRight {
|
|
2563
|
+
from {
|
|
2564
|
+
opacity: 0;
|
|
2565
|
+
transform: translateX(200px);
|
|
2566
|
+
}
|
|
2567
|
+
to {
|
|
2568
|
+
opacity: 1;
|
|
2569
|
+
transform: translateX(0);
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
@keyframes fd-enterFromLeft {
|
|
2573
|
+
from {
|
|
2574
|
+
opacity: 0;
|
|
2575
|
+
transform: translateX(-200px);
|
|
2576
|
+
}
|
|
2577
|
+
to {
|
|
2578
|
+
opacity: 1;
|
|
2579
|
+
transform: translateX(0);
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
@keyframes fd-exitToRight {
|
|
2583
|
+
from {
|
|
2584
|
+
opacity: 1;
|
|
2585
|
+
transform: translateX(0);
|
|
2586
|
+
}
|
|
2587
|
+
to {
|
|
2588
|
+
opacity: 0;
|
|
2589
|
+
transform: translateX(200px);
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
@keyframes fd-exitToLeft {
|
|
2593
|
+
from {
|
|
2594
|
+
opacity: 1;
|
|
2595
|
+
transform: translateX(0);
|
|
2596
|
+
}
|
|
2597
|
+
to {
|
|
2598
|
+
opacity: 0;
|
|
2599
|
+
transform: translateX(-200px);
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
@keyframes fd-nav-menu-in {
|
|
2603
|
+
from {
|
|
2604
|
+
opacity: 0;
|
|
2605
|
+
height: 0px;
|
|
2606
|
+
}
|
|
2607
|
+
to {
|
|
2608
|
+
opacity: 1;
|
|
2609
|
+
height: var(--radix-navigation-menu-viewport-height);
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
@keyframes fd-nav-menu-out {
|
|
2613
|
+
from {
|
|
2614
|
+
opacity: 1;
|
|
2615
|
+
height: var(--radix-navigation-menu-viewport-height);
|
|
2616
|
+
}
|
|
2617
|
+
to {
|
|
2618
|
+
opacity: 0;
|
|
2619
|
+
height: 0px;
|
|
2620
|
+
}
|
|
2621
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.14",
|
|
4
4
|
"description": "The framework for building a documentation website in Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"./image-zoom.css": "./dist/image-zoom.css",
|
|
18
18
|
"./components/*": {
|
|
19
19
|
"import": "./dist/components/*.js",
|
|
20
|
-
"types": "./dist/components/*.d.ts"
|
|
20
|
+
"types": "./dist/components/*.d.ts",
|
|
21
|
+
"default": "./dist/components/*.js"
|
|
21
22
|
},
|
|
22
23
|
"./i18n": {
|
|
23
24
|
"import": "./dist/i18n.js",
|
|
@@ -64,24 +65,24 @@
|
|
|
64
65
|
"@radix-ui/react-tabs": "^1.1.3",
|
|
65
66
|
"class-variance-authority": "^0.7.1",
|
|
66
67
|
"lodash.merge": "^4.6.2",
|
|
67
|
-
"lucide-react": "^0.
|
|
68
|
+
"lucide-react": "^0.477.0",
|
|
68
69
|
"next-themes": "^0.4.4",
|
|
69
70
|
"postcss-selector-parser": "^7.1.0",
|
|
70
71
|
"react-medium-image-zoom": "^5.2.14",
|
|
71
|
-
"tailwind-merge": "^3.0.
|
|
72
|
+
"tailwind-merge": "^3.0.2"
|
|
72
73
|
},
|
|
73
74
|
"devDependencies": {
|
|
74
|
-
"@next/eslint-plugin-next": "^15.
|
|
75
|
-
"@tailwindcss/cli": "^4.0.
|
|
75
|
+
"@next/eslint-plugin-next": "^15.2.0",
|
|
76
|
+
"@tailwindcss/cli": "^4.0.9",
|
|
76
77
|
"@types/lodash.merge": "^4.6.9",
|
|
77
78
|
"@types/react": "^19.0.10",
|
|
78
79
|
"@types/react-dom": "^19.0.4",
|
|
79
|
-
"next": "15.
|
|
80
|
-
"tailwindcss": "^4.0.
|
|
81
|
-
"tsc-alias": "^1.8.
|
|
80
|
+
"next": "15.2.0",
|
|
81
|
+
"tailwindcss": "^4.0.9",
|
|
82
|
+
"tsc-alias": "^1.8.11",
|
|
82
83
|
"@fumadocs/cli": "0.0.8",
|
|
83
84
|
"eslint-config-custom": "0.0.0",
|
|
84
|
-
"fumadocs-core": "15.0.
|
|
85
|
+
"fumadocs-core": "15.0.14",
|
|
85
86
|
"tsconfig": "0.0.0"
|
|
86
87
|
},
|
|
87
88
|
"peerDependencies": {
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
"react": "18.x.x || 19.x.x",
|
|
90
91
|
"react-dom": "18.x.x || 19.x.x",
|
|
91
92
|
"tailwindcss": "^3.4.14 || ^4.0.0",
|
|
92
|
-
"fumadocs-core": "15.0.
|
|
93
|
+
"fumadocs-core": "15.0.14"
|
|
93
94
|
},
|
|
94
95
|
"peerDependenciesMeta": {
|
|
95
96
|
"tailwindcss": {
|