fumadocs-ui 15.3.1 → 15.3.3
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 +23 -5
- package/css/shiki.css +14 -16
- package/dist/components/callout.d.ts +1 -1
- package/dist/components/callout.d.ts.map +1 -1
- package/dist/components/callout.js +6 -2
- package/dist/components/codeblock.d.ts +2 -3
- package/dist/components/codeblock.d.ts.map +1 -1
- package/dist/components/codeblock.js +8 -9
- package/dist/components/dialog/search-algolia.d.ts.map +1 -1
- package/dist/components/dialog/search-algolia.js +3 -3
- package/dist/components/dialog/search-default.d.ts.map +1 -1
- package/dist/components/dialog/search-default.js +2 -2
- package/dist/components/dialog/search-orama.d.ts.map +1 -1
- package/dist/components/dialog/search-orama.js +3 -3
- package/dist/components/dialog/search.d.ts +10 -9
- package/dist/components/dialog/search.d.ts.map +1 -1
- package/dist/components/dialog/search.js +30 -27
- package/dist/components/layout/sidebar.d.ts +1 -1
- package/dist/components/layout/sidebar.d.ts.map +1 -1
- package/dist/components/layout/sidebar.js +10 -9
- package/dist/components/layout/toc.d.ts +1 -4
- package/dist/components/layout/toc.d.ts.map +1 -1
- package/dist/components/layout/toc.js +3 -5
- package/dist/components/tabs.d.ts +18 -9
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +22 -18
- package/dist/components/ui/hide-if-empty.d.ts +10 -0
- package/dist/components/ui/hide-if-empty.d.ts.map +1 -0
- package/dist/components/ui/hide-if-empty.js +64 -0
- package/dist/components/ui/navigation-menu.js +1 -1
- package/dist/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/scroll-area.js +1 -1
- package/dist/components/ui/tabs.js +2 -2
- package/dist/layouts/docs-client.d.ts +3 -3
- package/dist/layouts/docs-client.d.ts.map +1 -1
- package/dist/layouts/docs-client.js +4 -3
- package/dist/layouts/docs.d.ts +1 -1
- package/dist/layouts/docs.d.ts.map +1 -1
- package/dist/layouts/docs.js +8 -10
- package/dist/layouts/home/navbar.js +5 -5
- package/dist/layouts/home.d.ts.map +1 -1
- package/dist/layouts/home.js +1 -1
- package/dist/layouts/notebook-client.d.ts +0 -3
- package/dist/layouts/notebook-client.d.ts.map +1 -1
- package/dist/layouts/notebook-client.js +1 -7
- package/dist/layouts/notebook.d.ts.map +1 -1
- package/dist/layouts/notebook.js +16 -7
- package/dist/mdx.d.ts +1 -1
- package/dist/page-client.js +1 -1
- package/dist/page.d.ts +7 -9
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +5 -5
- package/dist/style.css +87 -58
- package/package.json +10 -10
package/dist/page.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef, } from 'react';
|
|
2
|
+
import { forwardRef, lazy } from 'react';
|
|
3
3
|
import { AnchorProvider } from 'fumadocs-core/toc';
|
|
4
4
|
import { slot } from './layouts/shared.js';
|
|
5
5
|
import { cn } from './utils/cn.js';
|
|
@@ -8,7 +8,7 @@ import { Toc, TOCItems, TOCScrollArea, } from './components/layout/toc.js';
|
|
|
8
8
|
import { buttonVariants } from './components/ui/button.js';
|
|
9
9
|
import { Edit, Text } from './icons.js';
|
|
10
10
|
import { I18nLabel } from './contexts/i18n.js';
|
|
11
|
-
|
|
11
|
+
const ClerkTOCItems = lazy(() => import('./components/layout/toc-clerk.js'));
|
|
12
12
|
export function DocsPage({ toc = [], full = false, editOnGithub, tableOfContentPopover: { enabled: tocPopoverEnabled, component: tocPopoverReplace, ...tocPopoverOptions } = {}, tableOfContent: { enabled: tocEnabled, component: tocReplace, ...tocOptions } = {}, ...props }) {
|
|
13
13
|
const isTocRequired = toc.length > 0 ||
|
|
14
14
|
tocOptions.footer !== undefined ||
|
|
@@ -21,7 +21,7 @@ export function DocsPage({ toc = [], full = false, editOnGithub, tableOfContentP
|
|
|
21
21
|
return (_jsxs(AnchorProvider, { toc: toc, single: tocOptions.single, children: [_jsxs(PageBody, { ...props.container, className: cn(props.container?.className), style: {
|
|
22
22
|
'--fd-tocnav-height': !tocPopoverEnabled ? '0px' : undefined,
|
|
23
23
|
...props.container?.style,
|
|
24
|
-
}, children: [slot({ enabled: tocPopoverEnabled, component: tocPopoverReplace }, _jsxs(TocPopover, { className: "h-10", children: [_jsx(TocPopoverTrigger, { className: "w-full", items: toc }), _jsxs(TocPopoverContent, { children: [tocPopoverOptions.header, _jsx(TOCScrollArea, {
|
|
24
|
+
}, children: [slot({ enabled: tocPopoverEnabled, component: tocPopoverReplace }, _jsxs(TocPopover, { className: "h-10", children: [_jsx(TocPopoverTrigger, { className: "w-full", items: toc }), _jsxs(TocPopoverContent, { children: [tocPopoverOptions.header, _jsx(TOCScrollArea, { className: "px-4 md:px-6", children: tocPopoverOptions.style === 'clerk' ? (_jsx(ClerkTOCItems, { items: toc })) : (_jsx(TOCItems, { items: toc })) }), tocPopoverOptions.footer] })] }), {
|
|
25
25
|
items: toc,
|
|
26
26
|
...tocPopoverOptions,
|
|
27
27
|
}), _jsxs(PageArticle, { ...props.article, className: cn(full || !tocEnabled ? 'max-w-[1120px]' : 'max-w-[860px]', props.article?.className), children: [slot(props.breadcrumb, _jsx(Breadcrumb, { ...props.breadcrumb })), props.children, _jsx("div", { role: "none", className: "flex-1" }), _jsxs("div", { className: "flex flex-row flex-wrap items-center justify-between gap-4 empty:hidden", children: [editOnGithub && (_jsx(EditOnGitHub, { href: `https://github.com/${editOnGithub.owner}/${editOnGithub.repo}/blob/${editOnGithub.sha}/${editOnGithub.path.startsWith('/') ? editOnGithub.path.slice(1) : editOnGithub.path}` })), props.lastUpdate && (_jsx(LastUpdate, { date: new Date(props.lastUpdate) }))] }), slot(props.footer, _jsx(Footer, { items: props.footer?.items }))] })] }), slot({ enabled: tocEnabled, component: tocReplace }, _jsxs(Toc, { children: [tocOptions.header, _jsxs("h3", { className: "inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground", children: [_jsx(Text, { className: "size-4" }), _jsx(I18nLabel, { label: "toc" })] }), _jsx(TOCScrollArea, { children: tocOptions.style === 'clerk' ? (_jsx(ClerkTOCItems, { items: toc })) : (_jsx(TOCItems, { items: toc })) }), tocOptions.footer] }), {
|
|
@@ -55,6 +55,6 @@ DocsTitle.displayName = 'DocsTitle';
|
|
|
55
55
|
/**
|
|
56
56
|
* For separate MDX page
|
|
57
57
|
*/
|
|
58
|
-
export function withArticle(
|
|
59
|
-
return (_jsx("main", { className:
|
|
58
|
+
export function withArticle(props) {
|
|
59
|
+
return (_jsx("main", { ...props, className: cn('container py-12', props.className), children: _jsx("article", { className: "prose", children: props.children }) }));
|
|
60
60
|
}
|
package/dist/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.
|
|
1
|
+
/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"Courier New", monospace;
|
|
10
10
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
11
11
|
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
12
|
+
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
12
13
|
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
13
14
|
--color-black: #000;
|
|
14
15
|
--spacing: 0.25rem;
|
|
@@ -67,12 +68,14 @@
|
|
|
67
68
|
--color-fd-diff-add-symbol: rgb(10, 200, 100);
|
|
68
69
|
--animate-fd-fade-in: fd-fade-in 300ms ease;
|
|
69
70
|
--animate-fd-fade-out: fd-fade-out 300ms ease;
|
|
70
|
-
--animate-fd-dialog-in: fd-dialog-in
|
|
71
|
-
--animate-fd-dialog-out: fd-dialog-out
|
|
71
|
+
--animate-fd-dialog-in: fd-dialog-in 240ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
72
|
+
--animate-fd-dialog-out: fd-dialog-out 240ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
72
73
|
--animate-fd-popover-in: fd-popover-in 150ms ease;
|
|
73
74
|
--animate-fd-popover-out: fd-popover-out 150ms ease;
|
|
74
|
-
--animate-fd-collapsible-down: fd-collapsible-down 150ms
|
|
75
|
-
|
|
75
|
+
--animate-fd-collapsible-down: fd-collapsible-down 150ms
|
|
76
|
+
cubic-bezier(0.45, 0, 0.55, 1);
|
|
77
|
+
--animate-fd-collapsible-up: fd-collapsible-up 150ms
|
|
78
|
+
cubic-bezier(0.45, 0, 0.55, 1);
|
|
76
79
|
--animate-fd-accordion-down: fd-accordion-down 200ms ease-out;
|
|
77
80
|
--animate-fd-accordion-up: fd-accordion-up 200ms ease-out;
|
|
78
81
|
--animate-fd-nav-menu-in: fd-nav-menu-in 200ms ease;
|
|
@@ -354,9 +357,6 @@
|
|
|
354
357
|
.bottom-1\.5 {
|
|
355
358
|
bottom: calc(var(--spacing) * 1.5);
|
|
356
359
|
}
|
|
357
|
-
.left-\(--fd-nav-left\) {
|
|
358
|
-
left: var(--fd-nav-left);
|
|
359
|
-
}
|
|
360
360
|
.left-1\/2 {
|
|
361
361
|
left: calc(1/2 * 100%);
|
|
362
362
|
}
|
|
@@ -409,9 +409,6 @@
|
|
|
409
409
|
.-mx-1 {
|
|
410
410
|
margin-inline: calc(var(--spacing) * -1);
|
|
411
411
|
}
|
|
412
|
-
.-mx-2 {
|
|
413
|
-
margin-inline: calc(var(--spacing) * -2);
|
|
414
|
-
}
|
|
415
412
|
.\!my-0 {
|
|
416
413
|
margin-block: calc(var(--spacing) * 0) !important;
|
|
417
414
|
}
|
|
@@ -442,6 +439,9 @@
|
|
|
442
439
|
.ms-auto {
|
|
443
440
|
margin-inline-start: auto;
|
|
444
441
|
}
|
|
442
|
+
.ms-px {
|
|
443
|
+
margin-inline-start: 1px;
|
|
444
|
+
}
|
|
445
445
|
.-me-\(--fd-sidebar-width\) {
|
|
446
446
|
margin-inline-end: calc(var(--fd-sidebar-width) * -1);
|
|
447
447
|
}
|
|
@@ -847,9 +847,6 @@
|
|
|
847
847
|
.mr-auto {
|
|
848
848
|
margin-right: auto;
|
|
849
849
|
}
|
|
850
|
-
.-mb-1 {
|
|
851
|
-
margin-bottom: calc(var(--spacing) * -1);
|
|
852
|
-
}
|
|
853
850
|
.mb-1 {
|
|
854
851
|
margin-bottom: calc(var(--spacing) * 1);
|
|
855
852
|
}
|
|
@@ -889,6 +886,19 @@
|
|
|
889
886
|
.table {
|
|
890
887
|
display: table;
|
|
891
888
|
}
|
|
889
|
+
.fd-scroll-container {
|
|
890
|
+
&::-webkit-scrollbar {
|
|
891
|
+
width: 5px;
|
|
892
|
+
height: 5px;
|
|
893
|
+
}
|
|
894
|
+
&::-webkit-scrollbar-thumb {
|
|
895
|
+
border-radius: 5px;
|
|
896
|
+
background: var(--color-fd-border);
|
|
897
|
+
}
|
|
898
|
+
&::-webkit-scrollbar-track {
|
|
899
|
+
background: transparent;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
892
902
|
.size-3 {
|
|
893
903
|
width: calc(var(--spacing) * 3);
|
|
894
904
|
height: calc(var(--spacing) * 3);
|
|
@@ -947,6 +957,9 @@
|
|
|
947
957
|
.max-h-\[50vh\] {
|
|
948
958
|
max-height: 50vh;
|
|
949
959
|
}
|
|
960
|
+
.max-h-\[80svh\] {
|
|
961
|
+
max-height: 80svh;
|
|
962
|
+
}
|
|
950
963
|
.max-h-\[400px\] {
|
|
951
964
|
max-height: 400px;
|
|
952
965
|
}
|
|
@@ -1001,6 +1014,9 @@
|
|
|
1001
1014
|
.w-full {
|
|
1002
1015
|
width: 100%;
|
|
1003
1016
|
}
|
|
1017
|
+
.w-max {
|
|
1018
|
+
width: max-content;
|
|
1019
|
+
}
|
|
1004
1020
|
.w-px {
|
|
1005
1021
|
width: 1px;
|
|
1006
1022
|
}
|
|
@@ -1040,6 +1056,9 @@
|
|
|
1040
1056
|
.min-w-\[220px\] {
|
|
1041
1057
|
min-width: 220px;
|
|
1042
1058
|
}
|
|
1059
|
+
.min-w-full {
|
|
1060
|
+
min-width: 100%;
|
|
1061
|
+
}
|
|
1043
1062
|
.flex-1 {
|
|
1044
1063
|
flex: 1;
|
|
1045
1064
|
}
|
|
@@ -1265,6 +1284,12 @@
|
|
|
1265
1284
|
border-inline-start-color: color-mix(in oklab, var(--color-blue-500) 50%, transparent);
|
|
1266
1285
|
}
|
|
1267
1286
|
}
|
|
1287
|
+
.border-s-green-500\/50 {
|
|
1288
|
+
border-inline-start-color: color-mix(in srgb, oklch(72.3% 0.219 149.579) 50%, transparent);
|
|
1289
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1290
|
+
border-inline-start-color: color-mix(in oklab, var(--color-green-500) 50%, transparent);
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1268
1293
|
.border-s-orange-500\/50 {
|
|
1269
1294
|
border-inline-start-color: color-mix(in srgb, oklch(70.5% 0.213 47.604) 50%, transparent);
|
|
1270
1295
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1343,6 +1368,9 @@
|
|
|
1343
1368
|
.fill-blue-500 {
|
|
1344
1369
|
fill: var(--color-blue-500);
|
|
1345
1370
|
}
|
|
1371
|
+
.fill-green-500 {
|
|
1372
|
+
fill: var(--color-green-500);
|
|
1373
|
+
}
|
|
1346
1374
|
.fill-orange-500 {
|
|
1347
1375
|
fill: var(--color-orange-500);
|
|
1348
1376
|
}
|
|
@@ -1445,9 +1473,6 @@
|
|
|
1445
1473
|
.ps-\[calc\(var\(--fd-layout-offset\)\+var\(--fd-sidebar-width\)\)\] {
|
|
1446
1474
|
padding-inline-start: calc(var(--fd-layout-offset) + var(--fd-sidebar-width));
|
|
1447
1475
|
}
|
|
1448
|
-
.ps-px {
|
|
1449
|
-
padding-inline-start: 1px;
|
|
1450
|
-
}
|
|
1451
1476
|
.pe-\(--fd-layout-offset\) {
|
|
1452
1477
|
padding-inline-end: var(--fd-layout-offset);
|
|
1453
1478
|
}
|
|
@@ -1460,8 +1485,8 @@
|
|
|
1460
1485
|
.pt-0 {
|
|
1461
1486
|
padding-top: calc(var(--spacing) * 0);
|
|
1462
1487
|
}
|
|
1463
|
-
.pt-
|
|
1464
|
-
padding-top: calc(var(--spacing) *
|
|
1488
|
+
.pt-1\.5 {
|
|
1489
|
+
padding-top: calc(var(--spacing) * 1.5);
|
|
1465
1490
|
}
|
|
1466
1491
|
.pt-8 {
|
|
1467
1492
|
padding-top: calc(var(--spacing) * 8);
|
|
@@ -1686,6 +1711,9 @@
|
|
|
1686
1711
|
.\[--fd-tocnav-height\:36px\] {
|
|
1687
1712
|
--fd-tocnav-height: 36px;
|
|
1688
1713
|
}
|
|
1714
|
+
.\[scrollbar-width\:none\] {
|
|
1715
|
+
scrollbar-width: none;
|
|
1716
|
+
}
|
|
1689
1717
|
.\*\:col-start-1 {
|
|
1690
1718
|
:is(& > *) {
|
|
1691
1719
|
grid-column-start: 1;
|
|
@@ -1696,14 +1724,19 @@
|
|
|
1696
1724
|
grid-row-start: 1;
|
|
1697
1725
|
}
|
|
1698
1726
|
}
|
|
1699
|
-
.\*\:
|
|
1727
|
+
.\*\:my-auto {
|
|
1700
1728
|
:is(& > *) {
|
|
1701
|
-
|
|
1729
|
+
margin-block: auto;
|
|
1702
1730
|
}
|
|
1703
1731
|
}
|
|
1704
|
-
.\*\:
|
|
1732
|
+
.\*\:flex {
|
|
1705
1733
|
:is(& > *) {
|
|
1706
|
-
|
|
1734
|
+
display: flex;
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
.\*\:flex-col {
|
|
1738
|
+
:is(& > *) {
|
|
1739
|
+
flex-direction: column;
|
|
1707
1740
|
}
|
|
1708
1741
|
}
|
|
1709
1742
|
.group-hover\:opacity-100 {
|
|
@@ -1875,6 +1908,11 @@
|
|
|
1875
1908
|
display: none;
|
|
1876
1909
|
}
|
|
1877
1910
|
}
|
|
1911
|
+
.data-\[empty\=true\]\:hidden {
|
|
1912
|
+
&[data-empty="true"] {
|
|
1913
|
+
display: none;
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1878
1916
|
.data-\[motion\=from-end\]\:animate-fd-enterFromRight {
|
|
1879
1917
|
&[data-motion="from-end"] {
|
|
1880
1918
|
animation: var(--animate-fd-enterFromRight);
|
|
@@ -2028,16 +2066,6 @@
|
|
|
2028
2066
|
background-color: var(--color-fd-background);
|
|
2029
2067
|
}
|
|
2030
2068
|
}
|
|
2031
|
-
.max-md\:pt-6 {
|
|
2032
|
-
@media (width < 48rem) {
|
|
2033
|
-
padding-top: calc(var(--spacing) * 6);
|
|
2034
|
-
}
|
|
2035
|
-
}
|
|
2036
|
-
.max-md\:pb-6 {
|
|
2037
|
-
@media (width < 48rem) {
|
|
2038
|
-
padding-bottom: calc(var(--spacing) * 6);
|
|
2039
|
-
}
|
|
2040
|
-
}
|
|
2041
2069
|
.max-sm\:mt-2 {
|
|
2042
2070
|
@media (width < 40rem) {
|
|
2043
2071
|
margin-top: calc(var(--spacing) * 2);
|
|
@@ -2170,11 +2198,6 @@
|
|
|
2170
2198
|
height: calc(var(--spacing) * 12);
|
|
2171
2199
|
}
|
|
2172
2200
|
}
|
|
2173
|
-
.lg\:w-\[calc\(100\%-1rem\)\] {
|
|
2174
|
-
@media (width >= 64rem) {
|
|
2175
|
-
width: calc(100% - 1rem);
|
|
2176
|
-
}
|
|
2177
|
-
}
|
|
2178
2201
|
.lg\:grid-cols-3 {
|
|
2179
2202
|
@media (width >= 64rem) {
|
|
2180
2203
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
@@ -2206,6 +2229,11 @@
|
|
|
2206
2229
|
--fd-nav-height: calc(var(--spacing) * 24);
|
|
2207
2230
|
}
|
|
2208
2231
|
}
|
|
2232
|
+
.lg\:\[--fd-padding\:1rem\] {
|
|
2233
|
+
@media (width >= 64rem) {
|
|
2234
|
+
--fd-padding: 1rem;
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2209
2237
|
.lg\:\[--fd-sidebar-width\:286px\] {
|
|
2210
2238
|
@media (width >= 64rem) {
|
|
2211
2239
|
--fd-sidebar-width: 286px;
|
|
@@ -2278,12 +2306,6 @@
|
|
|
2278
2306
|
padding-left: calc(var(--spacing) * 3);
|
|
2279
2307
|
}
|
|
2280
2308
|
}
|
|
2281
|
-
.\[\&_svg\]\:\!size-4\.5 {
|
|
2282
|
-
& svg {
|
|
2283
|
-
width: calc(var(--spacing) * 4.5) !important;
|
|
2284
|
-
height: calc(var(--spacing) * 4.5) !important;
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
2309
|
.\[\&_svg\]\:size-3\.5 {
|
|
2288
2310
|
& svg {
|
|
2289
2311
|
width: calc(var(--spacing) * 3.5);
|
|
@@ -2366,10 +2388,16 @@
|
|
|
2366
2388
|
color: var(--shiki-light);
|
|
2367
2389
|
}
|
|
2368
2390
|
code .line {
|
|
2369
|
-
|
|
2391
|
+
line-height: 1.45em;
|
|
2392
|
+
min-height: 1.45em;
|
|
2370
2393
|
position: relative;
|
|
2371
|
-
|
|
2372
|
-
|
|
2394
|
+
}
|
|
2395
|
+
&.has-focused code .line:not(.focused) {
|
|
2396
|
+
filter: blur(2px);
|
|
2397
|
+
transition: filter 200ms;
|
|
2398
|
+
}
|
|
2399
|
+
&.has-focused:hover code .line:not(.focused) {
|
|
2400
|
+
filter: blur(0);
|
|
2373
2401
|
}
|
|
2374
2402
|
&[data-line-numbers] code .twoslash-meta-line {
|
|
2375
2403
|
margin-left: calc(var(--spacing) * 7);
|
|
@@ -2408,9 +2436,6 @@
|
|
|
2408
2436
|
content: '+';
|
|
2409
2437
|
color: var(--color-fd-diff-add-symbol);
|
|
2410
2438
|
}
|
|
2411
|
-
code .diff {
|
|
2412
|
-
position: relative;
|
|
2413
|
-
}
|
|
2414
2439
|
.highlighted {
|
|
2415
2440
|
background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);
|
|
2416
2441
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2418,17 +2443,21 @@
|
|
|
2418
2443
|
}
|
|
2419
2444
|
}
|
|
2420
2445
|
.highlighted-word {
|
|
2421
|
-
padding: 1px
|
|
2422
|
-
margin: -1px
|
|
2423
|
-
border:
|
|
2446
|
+
padding: 1px;
|
|
2447
|
+
margin-block: -1px;
|
|
2448
|
+
border-radius: var(--radius-md);
|
|
2449
|
+
border-style: var(--tw-border-style);
|
|
2450
|
+
border-width: 1px;
|
|
2451
|
+
border-color: color-mix(in srgb, hsl(0, 0%, 9%) 30%, transparent);
|
|
2424
2452
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2425
|
-
border:
|
|
2453
|
+
border-color: color-mix(in oklab, var(--color-fd-primary) 30%, transparent);
|
|
2426
2454
|
}
|
|
2427
|
-
background-color: color-mix(
|
|
2455
|
+
background-color: color-mix(in srgb, hsl(0, 0%, 9%) 10%, transparent);
|
|
2428
2456
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2429
|
-
background-color: color-mix(
|
|
2457
|
+
background-color: color-mix(in oklab, var(--color-fd-primary) 10%, transparent);
|
|
2430
2458
|
}
|
|
2431
|
-
|
|
2459
|
+
--tw-font-weight: var(--font-weight-medium);
|
|
2460
|
+
font-weight: var(--font-weight-medium);
|
|
2432
2461
|
}
|
|
2433
2462
|
}
|
|
2434
2463
|
.dark .shiki:not(.not-fumadocs-codeblock *) {
|
|
@@ -2742,7 +2771,7 @@
|
|
|
2742
2771
|
transform: scale(1);
|
|
2743
2772
|
}
|
|
2744
2773
|
to {
|
|
2745
|
-
transform: scale(1.
|
|
2774
|
+
transform: scale(1.04);
|
|
2746
2775
|
opacity: 0;
|
|
2747
2776
|
}
|
|
2748
2777
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "15.3.
|
|
3
|
+
"version": "15.3.3",
|
|
4
4
|
"description": "The framework for building a documentation website in Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"NextJs",
|
|
@@ -88,21 +88,21 @@
|
|
|
88
88
|
"postcss-selector-parser": "^7.1.0",
|
|
89
89
|
"react-medium-image-zoom": "^5.2.14",
|
|
90
90
|
"react-remove-scroll": "^2.6.3",
|
|
91
|
-
"tailwind-merge": "^3.
|
|
92
|
-
"fumadocs-core": "15.3.
|
|
91
|
+
"tailwind-merge": "^3.3.0",
|
|
92
|
+
"fumadocs-core": "15.3.3"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@next/eslint-plugin-next": "^15.3.
|
|
96
|
-
"@tailwindcss/cli": "^4.1.
|
|
95
|
+
"@next/eslint-plugin-next": "^15.3.2",
|
|
96
|
+
"@tailwindcss/cli": "^4.1.7",
|
|
97
97
|
"@types/lodash.merge": "^4.6.9",
|
|
98
|
-
"@types/react": "^19.1.
|
|
99
|
-
"@types/react-dom": "^19.1.
|
|
100
|
-
"next": "15.3.
|
|
101
|
-
"tailwindcss": "^4.1.
|
|
98
|
+
"@types/react": "^19.1.4",
|
|
99
|
+
"@types/react-dom": "^19.1.5",
|
|
100
|
+
"next": "15.3.2",
|
|
101
|
+
"tailwindcss": "^4.1.7",
|
|
102
102
|
"tsc-alias": "^1.8.16",
|
|
103
103
|
"@fumadocs/cli": "0.1.1",
|
|
104
104
|
"eslint-config-custom": "0.0.0",
|
|
105
|
-
"fumadocs-core": "15.3.
|
|
105
|
+
"fumadocs-core": "15.3.3",
|
|
106
106
|
"tsconfig": "0.0.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|