@fumadocs/base-ui 16.16.0 → 16.16.1
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/generated/spacious.css +1 -1
- package/dist/layouts/spacious/index.js +2 -1
- package/dist/layouts/spacious/page/index.js +13 -13
- package/dist/layouts/spacious/page/slots/toc.js +2 -2
- package/dist/layouts/spacious/slots/header.js +1 -1
- package/dist/style.css +42 -22
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
@source inline("!header !selected *:min-w-[calc(var(--fd-toc-width)---spacing(16))] *:not-first:border-t *:pointer-events-auto --fd-header-height --fd-layout-height --fd-page-width --fd-roll --fd-sidebar-col --fd-sidebar-width --fd-toc-width --index -ms-2 -mx-1.5 -start-1 -translate-x-3 @max-5xl:invisible @max-5xl:opacity-0 @max-5xl:opacity-100 @max-5xl:ps-0 @max-5xl:transition-none @max-5xl:visible @max-5xl:w-0 @max-md:col-span-full [&>[data-icon]]:size-3.5 [&_svg]:shrink-0 [--fd-header-height:--spacing(14)] [--fd-layout-height:calc(100dvh-var(--fd-banner-height,0px))] [--fd-page-width:760px] [--fd-sidebar-col:var(--fd-sidebar-width)] [--fd-sidebar-width:0px] [--fd-toc-width:0px] [grid-area:header] [grid-area:main] [grid-area:right] [grid-area:sidebar] activeClassName activeLine aiChat alignOffset along angle apart appear area aria-hidden aria-pressed aria-valuemax aria-valuemin aria-valuenow article available
|
|
1
|
+
@source inline("!header !selected *:min-w-[calc(var(--fd-toc-width)---spacing(16))] *:not-first:border-t *:pointer-events-auto --a_bottom --color-fd-background --fd-docs-row-3 --fd-header-height --fd-layout-height --fd-page-width --fd-roll --fd-sidebar-col --fd-sidebar-width --fd-toc-popover-height --fd-toc-width --fd-top-bar --fd-top-bar_bottom --index -ms-2 -mx-1.5 -start-1 -translate-x-3 @max-5xl:invisible @max-5xl:opacity-0 @max-5xl:opacity-100 @max-5xl:ps-0 @max-5xl:transition-none @max-5xl:visible @max-5xl:w-0 @max-md:col-span-full [&>[data-icon]]:size-3.5 [&_svg]:shrink-0 [--fd-header-height:--spacing(14)] [--fd-layout-height:calc(100dvh-var(--fd-banner-height,0px))] [--fd-page-width:760px] [--fd-sidebar-col:var(--fd-sidebar-width)] [--fd-sidebar-width:0px] [--fd-toc-width:0px] [anchor-name:--fd-top-bar] [grid-area:header] [grid-area:main] [grid-area:right] [grid-area:sidebar] [grid-area:toc-popover] above activeClassName activeLine aiChat alignOffset along angle apart appear area aria-hidden aria-pressed aria-valuemax aria-valuemin aria-valuenow article available bar bars before below bg-[linear-gradient(var(--color-fd-background),transparent_16px)] bg-clip-content bg-fd-accent/60 bg-linear-to-b bg-origin-border border-x breadcrumb breadcrumbEnabled circle circumference clerk click closeOnClick col-start-2 collapse comes coming controller createLinkItemRenderer createPageTreeRenderer customSlots data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-sidebar-in data-ending-style:duration-100 data-ending-style:scale-95 data-ending-style:scale-[0.97] data-full data-highlighted:bg-fd-accent data-highlighted:text-fd-accent-foreground data-highlighted:text-fd-foreground data-popup-open:bg-fd-accent data-popup-open:text-fd-accent-foreground data-starting-style:scale-95 defaultVariants direction docs duration duration-150 ease-[cubic-bezier(0.22,1,0.36,1)] easing edit end expand fade fallback fd-spacious-layout first:mt-1 focusin focusout font-semibold footer footerEnabled footerList from-50% from-fd-background fumadocs-core/breadcrumb gap-2.5 gaps getBreadcrumbItemsFromPath glide glides gliding gridTemplate group-hover:-translate-x-0.5 group-hover:translate-x-0.5 gutter h-(--fd-header-height) h-(--fd-toc-popover-height) h-10 h-7.5 h-8 has hasFolders hideIfDisabled hold hover hover:bg-fd-accent/40 hover:bg-fd-accent/60 hover:text-fd-foreground iconLinks in-data-popup-open:rotate-180 includePage includeRoot including inert information initial inset inset-e-0 inset-x-0 inset-y-1 inset-y-2 into itemClass itemOf items-end items-start keep keyboard labels layout:[--fd-page-width:1200px] layout:[--fd-toc-width:--spacing(76)] left lg:hidden like linkItems mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-32px),transparent)] max-h-[50vh] max-h-[min(28rem,var(--available-height))] max-lg:hidden max-md:[--fd-docs-row-3:calc(var(--fd-banner-height,0px)+var(--fd-header-height)+var(--fd-toc-popover-height,0px))] max-md:hidden max-md:layout:[--fd-toc-popover-height:--spacing(10)] max-w-(--fd-page-width) max-w-[380px] may mb-6 mb-8 md:[&_[id]]:scroll-mt-2 md:border md:h-(--fd-layout-height) md:layout:[--fd-sidebar-col:--spacing(2)] md:layout:[--fd-sidebar-width:268px] md:min-h-0 md:ms-0 md:my-2 md:overflow-clip md:overflow-y-auto md:overscroll-y-contain md:pb-16 md:pt-(--fd-header-height) md:px-[max(--spacing(6),calc((100%-var(--fd-page-width)-var(--fd-toc-width))/2))] md:rounded-2xl md:scroll-pt-(--fd-header-height) md:scrollbar-gutter-stable md:scrollbar-thin md:shadow-sm min-h-(--fd-layout-height) min-h-9 min-w-44 mobile motion-safe:animate-fd-roll-in motion-safe:transition-[translate,width,height,opacity] move ms-3 mt-0.5 mt-2 mt-4 mt-8 mx-0.5 mx-2 my-2 navbar nd-page nd-page-panel nd-subnav nd-toc opacity origin outline-8 outline-fd-card outside p-0 pagination pb-4 pb-8 pe-1 pe-2.5 pe-3 pe-4 picked pointer-events-none pointerleave pointerover popover popupClass position positionMethod prefers-reduced-motion print:h-auto print:overflow-visible progressbar ps-0 ps-16 ps-2.5 ps-3.5 ps-5.5 ps-6 ps-[calc(--spacing(2.5)-1px)] pt-4 pt-6 px-[calc(--spacing(2.5)-1px)] queries re-render rect remain right ring-1 ring-fd-border roll rolls rotate rotate-180 rounded rounded-t-2xl rtl:-translate-x-[calc(var(--index)*100%)] rtl:translate-x-3 scale scrolling selectProgress selectTopmost selectors separators setShown setTheme shadow-xl shorter signal single size-3.5! size-4.5 size-7 size-8 soft start start-0 start-0.5 starts stroke-current/25 strokeDasharray strokeDashoffset subscribe supports-[top:anchor(--a_bottom)]:top-[anchor(--fd-top-bar_bottom)] tableOfContent tableOfContentPopover tabsOptions text-[1.75em] text-end text-fd-foreground timezone to-40% to-transparent toc-popover tocEnabled tocPopoverEnabled tocPopoverProps tocProps top-(--fd-banner-height,0px) top-(--fd-docs-row-3) top-0.5 top-[calc(var(--fd-banner-height,0px)+var(--fd-header-height))] transition-[grid-template-columns] transition-[opacity,scale] transition-[opacity,translate] transition-[opacity,visibility] transition-[stroke-dashoffset] transition-[translate] transition-[width,padding,opacity,visibility] transitionProperty translate translate-x-[calc(var(--index)*100%)] turn turns typography under unlisted updated useBaseSlots useBreadcrumbItems useFooterItems useSpaciousLayout useTOCSelector used viewports w-(--fd-sidebar-width) w-(--fd-toc-width) w-64 w-[85%] w-[calc(var(--anchor-width)+--spacing(2))] w-[min(22rem,calc(100vw-1rem))] wider xl:bg-fd-background xl:border xl:me-2 xl:my-2 xl:rounded-2xl xl:shadow-sm z-10 z-20 z-30");
|
|
@@ -56,8 +56,9 @@ function DocsLayout(props) {
|
|
|
56
56
|
...sidebar,
|
|
57
57
|
children: /* @__PURE__ */ jsxs("div", {
|
|
58
58
|
id: "fd-spacious-layout",
|
|
59
|
-
className: "relative grid min-h-(--fd-layout-height) transition-[grid-template-columns] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none [--fd-layout-height:calc(100dvh-var(--fd-banner-height,0px))] [--fd-header-height:--spacing(14)] [--fd-page-width:760px] [--fd-sidebar-width:0px] [--fd-sidebar-col:var(--fd-sidebar-width)] [--fd-toc-width:0px] md:h-(--fd-layout-height) md:overflow-clip
|
|
59
|
+
className: "relative grid min-h-(--fd-layout-height) bg-fd-card transition-[grid-template-columns] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none [--fd-layout-height:calc(100dvh-var(--fd-banner-height,0px))] [--fd-header-height:--spacing(14)] [--fd-page-width:760px] [--fd-sidebar-width:0px] [--fd-sidebar-col:var(--fd-sidebar-width)] [--fd-toc-width:0px] max-md:[--fd-docs-row-3:calc(var(--fd-banner-height,0px)+var(--fd-header-height)+var(--fd-toc-popover-height,0px))] md:h-(--fd-layout-height) md:overflow-clip print:h-auto print:overflow-visible",
|
|
60
60
|
style: { gridTemplate: `"sidebar header right" auto
|
|
61
|
+
"sidebar toc-popover right" auto
|
|
61
62
|
"sidebar main right" 1fr / var(--fd-sidebar-col) minmax(0, 1fr) auto` },
|
|
62
63
|
children: [
|
|
63
64
|
/* @__PURE__ */ jsx(slots.sidebar.main, {}),
|
|
@@ -40,15 +40,15 @@ function DocsPage({ full = false, toc = [], tableOfContent: { enabled: tocEnable
|
|
|
40
40
|
full,
|
|
41
41
|
slots
|
|
42
42
|
},
|
|
43
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ jsxs(slots.toc.provider, {
|
|
44
44
|
single,
|
|
45
45
|
toc: tocEnabled || tocPopoverEnabled ? toc : [],
|
|
46
|
-
children:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/* @__PURE__ */ jsxs("header", {
|
|
46
|
+
children: [
|
|
47
|
+
tocPopoverEnabled && /* @__PURE__ */ jsx(slots.toc.popover, { ...tocPopoverProps }),
|
|
48
|
+
/* @__PURE__ */ jsxs("div", {
|
|
49
|
+
id: "nd-page-panel",
|
|
50
|
+
className: "@container relative flex flex-col min-w-0 min-h-0 [grid-area:main] mx-2 bg-fd-background md:ms-0 md:my-2 md:overflow-clip md:rounded-2xl md:border md:shadow-sm print:overflow-visible",
|
|
51
|
+
children: [/* @__PURE__ */ jsxs("header", {
|
|
52
52
|
className: cn("absolute inset-x-0 top-0 z-10 flex items-center gap-1.5 h-(--fd-header-height) ps-6 pe-4 bg-linear-to-b from-fd-background to-transparent pointer-events-none *:pointer-events-auto max-md:hidden", hasFolders || tocPopoverEnabled ? "from-50%" : "to-40%"),
|
|
53
53
|
children: [
|
|
54
54
|
/* @__PURE__ */ jsx(ExpandSidebar, {}),
|
|
@@ -62,13 +62,12 @@ function DocsPage({ full = false, toc = [], tableOfContent: { enabled: tocEnable
|
|
|
62
62
|
}),
|
|
63
63
|
/* @__PURE__ */ jsx(layout.slots.actions, { className: "ms-auto" })
|
|
64
64
|
]
|
|
65
|
-
}),
|
|
66
|
-
/* @__PURE__ */ jsxs("div", {
|
|
65
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
67
66
|
className: "flex flex-1 items-start px-4 md:min-h-0 md:pt-(--fd-header-height) md:px-[max(--spacing(6),calc((100%-var(--fd-page-width)-var(--fd-toc-width))/2))] md:overflow-y-auto md:overscroll-y-contain md:scrollbar-thin md:scrollbar-gutter-stable md:scroll-pt-(--fd-header-height) md:[&_[id]]:scroll-mt-2",
|
|
68
67
|
children: [/* @__PURE__ */ jsxs("article", {
|
|
69
68
|
id: "nd-page",
|
|
70
69
|
"data-full": full,
|
|
71
|
-
className: cn("flex flex-col gap-4 w-full min-w-0 max-w-(--fd-page-width) pt-
|
|
70
|
+
className: cn("flex flex-col gap-4 w-full min-w-0 max-w-(--fd-page-width) pt-6 pb-8 md:pb-16", full && "layout:[--fd-page-width:1200px]", className),
|
|
72
71
|
...props,
|
|
73
72
|
children: [
|
|
74
73
|
breadcrumbEnabled && /* @__PURE__ */ jsx(slots.breadcrumb, {
|
|
@@ -79,9 +78,10 @@ function DocsPage({ full = false, toc = [], tableOfContent: { enabled: tocEnable
|
|
|
79
78
|
footerEnabled && /* @__PURE__ */ jsx(slots.footer, { ...footer })
|
|
80
79
|
]
|
|
81
80
|
}), tocEnabled && /* @__PURE__ */ jsx(slots.toc.main, { ...tocProps })]
|
|
82
|
-
})
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
})]
|
|
82
|
+
}, pathname),
|
|
83
|
+
/* @__PURE__ */ jsx("div", { className: "fixed inset-x-2 bottom-0 top-(--fd-docs-row-3) supports-[top:anchor(--a_bottom)]:top-[anchor(--fd-top-bar_bottom)] z-20 rounded-t-2xl border-x border-t outline-8 outline-fd-card bg-origin-border bg-[linear-gradient(var(--color-fd-background),transparent_16px)] pointer-events-none md:hidden" })
|
|
84
|
+
]
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}
|
|
@@ -62,10 +62,10 @@ function TOCPopover({ container, trigger, content, header, footer, ...props }) {
|
|
|
62
62
|
open,
|
|
63
63
|
onOpenChange: setOpen,
|
|
64
64
|
...container,
|
|
65
|
-
className: cn("sticky top-(--fd-header-height) z-
|
|
65
|
+
className: cn("sticky top-[calc(var(--fd-banner-height,0px)+var(--fd-header-height))] z-30 [grid-area:toc-popover] h-(--fd-toc-popover-height) md:hidden max-md:layout:[--fd-toc-popover-height:--spacing(10)]", container?.className),
|
|
66
66
|
children: /* @__PURE__ */ jsxs("header", {
|
|
67
67
|
ref,
|
|
68
|
-
className:
|
|
68
|
+
className: "bg-fd-card [anchor-name:--fd-top-bar]",
|
|
69
69
|
children: [/* @__PURE__ */ jsxs(CollapsibleTrigger, {
|
|
70
70
|
...trigger,
|
|
71
71
|
className: cn("flex w-full h-10 items-center gap-2.5 px-4 text-start text-sm text-fd-muted-foreground focus-visible:outline-none", trigger?.className),
|
|
@@ -11,7 +11,7 @@ function Header({ className, ...props }) {
|
|
|
11
11
|
const { slots } = useSpaciousLayout();
|
|
12
12
|
return /* @__PURE__ */ jsxs("header", {
|
|
13
13
|
id: "nd-subnav",
|
|
14
|
-
className: cn("sticky top-
|
|
14
|
+
className: cn("sticky top-(--fd-banner-height,0px) z-30 [grid-area:header] flex items-center h-(--fd-header-height) ps-4 pe-2.5 bg-fd-card [anchor-name:--fd-top-bar] md:hidden", className),
|
|
15
15
|
...props,
|
|
16
16
|
children: [
|
|
17
17
|
/* @__PURE__ */ jsx(slots.navTitle, { className: "inline-flex items-center gap-2.5 me-auto font-semibold" }),
|
package/dist/style.css
CHANGED
|
@@ -352,6 +352,9 @@
|
|
|
352
352
|
.-top-1\.5 {
|
|
353
353
|
top: calc(var(--spacing) * -1.5);
|
|
354
354
|
}
|
|
355
|
+
.top-\(--fd-banner-height\,0px\) {
|
|
356
|
+
top: var(--fd-banner-height,0px);
|
|
357
|
+
}
|
|
355
358
|
.top-\(--fd-docs-row-1\) {
|
|
356
359
|
top: var(--fd-docs-row-1);
|
|
357
360
|
}
|
|
@@ -361,9 +364,6 @@
|
|
|
361
364
|
.top-\(--fd-docs-row-3\) {
|
|
362
365
|
top: var(--fd-docs-row-3);
|
|
363
366
|
}
|
|
364
|
-
.top-\(--fd-header-height\) {
|
|
365
|
-
top: var(--fd-header-height);
|
|
366
|
-
}
|
|
367
367
|
.top-0 {
|
|
368
368
|
top: 0px;
|
|
369
369
|
}
|
|
@@ -385,6 +385,9 @@
|
|
|
385
385
|
.top-\[calc\(--spacing\(4\)\+var\(--fd-docs-row-3\)\)\] {
|
|
386
386
|
top: calc(calc(var(--spacing) * 4) + var(--fd-docs-row-3));
|
|
387
387
|
}
|
|
388
|
+
.top-\[calc\(var\(--fd-banner-height\,0px\)\+var\(--fd-header-height\)\)\] {
|
|
389
|
+
top: calc(var(--fd-banner-height,0px) + var(--fd-header-height));
|
|
390
|
+
}
|
|
388
391
|
.right-2 {
|
|
389
392
|
right: calc(var(--spacing) * 2);
|
|
390
393
|
}
|
|
@@ -1545,6 +1548,10 @@
|
|
|
1545
1548
|
.rounded-xl {
|
|
1546
1549
|
border-radius: var(--radius-xl);
|
|
1547
1550
|
}
|
|
1551
|
+
.rounded-t-2xl {
|
|
1552
|
+
border-top-left-radius: var(--radius-2xl);
|
|
1553
|
+
border-top-right-radius: var(--radius-2xl);
|
|
1554
|
+
}
|
|
1548
1555
|
.border {
|
|
1549
1556
|
border-style: var(--tw-border-style);
|
|
1550
1557
|
border-width: 1px;
|
|
@@ -1696,6 +1703,9 @@
|
|
|
1696
1703
|
}
|
|
1697
1704
|
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
1698
1705
|
}
|
|
1706
|
+
.bg-\[linear-gradient\(var\(--color-fd-background\)\,transparent_16px\)\] {
|
|
1707
|
+
background-image: linear-gradient(var(--color-fd-background),transparent 16px);
|
|
1708
|
+
}
|
|
1699
1709
|
.from-fd-background {
|
|
1700
1710
|
--tw-gradient-from: var(--color-fd-background);
|
|
1701
1711
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
@@ -1741,6 +1751,9 @@
|
|
|
1741
1751
|
.bg-clip-content {
|
|
1742
1752
|
background-clip: content-box;
|
|
1743
1753
|
}
|
|
1754
|
+
.bg-origin-border {
|
|
1755
|
+
background-origin: border-box;
|
|
1756
|
+
}
|
|
1744
1757
|
.fill-\(--callout-color\) {
|
|
1745
1758
|
fill: var(--callout-color);
|
|
1746
1759
|
}
|
|
@@ -1945,9 +1958,6 @@
|
|
|
1945
1958
|
.pt-6 {
|
|
1946
1959
|
padding-top: calc(var(--spacing) * 6);
|
|
1947
1960
|
}
|
|
1948
|
-
.pt-8 {
|
|
1949
|
-
padding-top: calc(var(--spacing) * 8);
|
|
1950
|
-
}
|
|
1951
1961
|
.pt-12 {
|
|
1952
1962
|
padding-top: calc(var(--spacing) * 12);
|
|
1953
1963
|
}
|
|
@@ -2179,6 +2189,13 @@
|
|
|
2179
2189
|
outline-style: var(--tw-outline-style);
|
|
2180
2190
|
outline-width: 1px;
|
|
2181
2191
|
}
|
|
2192
|
+
.outline-8 {
|
|
2193
|
+
outline-style: var(--tw-outline-style);
|
|
2194
|
+
outline-width: 8px;
|
|
2195
|
+
}
|
|
2196
|
+
.outline-fd-card {
|
|
2197
|
+
outline-color: var(--color-fd-card);
|
|
2198
|
+
}
|
|
2182
2199
|
.filter {
|
|
2183
2200
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
2184
2201
|
}
|
|
@@ -2337,11 +2354,6 @@
|
|
|
2337
2354
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2338
2355
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2339
2356
|
}
|
|
2340
|
-
.transition-shadow {
|
|
2341
|
-
transition-property: box-shadow;
|
|
2342
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2343
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2344
|
-
}
|
|
2345
2357
|
.transition-transform {
|
|
2346
2358
|
transition-property: transform, translate, scale, rotate;
|
|
2347
2359
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -2461,6 +2473,9 @@
|
|
|
2461
2473
|
.\[--viewport-padding\:0px\] {
|
|
2462
2474
|
--viewport-padding: 0px;
|
|
2463
2475
|
}
|
|
2476
|
+
.\[anchor-name\:--fd-top-bar\] {
|
|
2477
|
+
anchor-name: --fd-top-bar;
|
|
2478
|
+
}
|
|
2464
2479
|
.\[clip-path\:inset\(0_0_100\%\)\] {
|
|
2465
2480
|
clip-path: inset(0 0 100%);
|
|
2466
2481
|
}
|
|
@@ -3041,6 +3056,11 @@
|
|
|
3041
3056
|
--viewport-padding: 0.625rem;
|
|
3042
3057
|
}
|
|
3043
3058
|
}
|
|
3059
|
+
@supports (top:anchor(--a bottom)) {
|
|
3060
|
+
.supports-\[top\:anchor\(--a_bottom\)\]\:top-\[anchor\(--fd-top-bar_bottom\)\] {
|
|
3061
|
+
top: anchor(--fd-top-bar bottom);
|
|
3062
|
+
}
|
|
3063
|
+
}
|
|
3044
3064
|
@media (prefers-reduced-motion: no-preference) {
|
|
3045
3065
|
.motion-safe\:animate-fd-roll-in {
|
|
3046
3066
|
animation: var(--animate-fd-roll-in);
|
|
@@ -3204,6 +3224,9 @@
|
|
|
3204
3224
|
.max-md\:pb-4 {
|
|
3205
3225
|
padding-bottom: calc(var(--spacing) * 4);
|
|
3206
3226
|
}
|
|
3227
|
+
.max-md\:\[--fd-docs-row-3\:calc\(var\(--fd-banner-height\,0px\)\+var\(--fd-header-height\)\+var\(--fd-toc-popover-height\,0px\)\)\] {
|
|
3228
|
+
--fd-docs-row-3: calc(var(--fd-banner-height,0px) + var(--fd-header-height) + var(--fd-toc-popover-height,0px));
|
|
3229
|
+
}
|
|
3207
3230
|
}
|
|
3208
3231
|
@media (width < 40rem) {
|
|
3209
3232
|
.max-sm\:mt-2 {
|
|
@@ -3256,8 +3279,8 @@
|
|
|
3256
3279
|
.md\:my-2 {
|
|
3257
3280
|
margin-block: calc(var(--spacing) * 2);
|
|
3258
3281
|
}
|
|
3259
|
-
.md\:
|
|
3260
|
-
margin-inline-
|
|
3282
|
+
.md\:ms-0 {
|
|
3283
|
+
margin-inline-start: 0px;
|
|
3261
3284
|
}
|
|
3262
3285
|
.md\:mb-auto {
|
|
3263
3286
|
margin-bottom: auto;
|
|
@@ -3309,12 +3332,6 @@
|
|
|
3309
3332
|
border-style: var(--tw-border-style);
|
|
3310
3333
|
border-width: 1px;
|
|
3311
3334
|
}
|
|
3312
|
-
.md\:bg-fd-background {
|
|
3313
|
-
background-color: var(--color-fd-background);
|
|
3314
|
-
}
|
|
3315
|
-
.md\:bg-fd-card {
|
|
3316
|
-
background-color: var(--color-fd-card);
|
|
3317
|
-
}
|
|
3318
3335
|
.md\:bg-linear-to-b {
|
|
3319
3336
|
--tw-gradient-position: to bottom;
|
|
3320
3337
|
}
|
|
@@ -3348,9 +3365,6 @@
|
|
|
3348
3365
|
.md\:pt-2 {
|
|
3349
3366
|
padding-top: calc(var(--spacing) * 2);
|
|
3350
3367
|
}
|
|
3351
|
-
.md\:pt-6 {
|
|
3352
|
-
padding-top: calc(var(--spacing) * 6);
|
|
3353
|
-
}
|
|
3354
3368
|
.md\:pt-8 {
|
|
3355
3369
|
padding-top: calc(var(--spacing) * 8);
|
|
3356
3370
|
}
|
|
@@ -3360,6 +3374,9 @@
|
|
|
3360
3374
|
.md\:pb-8 {
|
|
3361
3375
|
padding-bottom: calc(var(--spacing) * 8);
|
|
3362
3376
|
}
|
|
3377
|
+
.md\:pb-16 {
|
|
3378
|
+
padding-bottom: calc(var(--spacing) * 16);
|
|
3379
|
+
}
|
|
3363
3380
|
.md\:shadow-sm {
|
|
3364
3381
|
--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));
|
|
3365
3382
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -3585,6 +3602,9 @@
|
|
|
3585
3602
|
#nd-docs-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-flux-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-glass-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-spacious-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]) {
|
|
3586
3603
|
--fd-header-height: calc(var(--spacing) * 14);
|
|
3587
3604
|
}
|
|
3605
|
+
#nd-docs-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-notebook-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-home-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-flux-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-glass-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-spacious-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]) {
|
|
3606
|
+
--fd-toc-popover-height: calc(var(--spacing) * 10);
|
|
3607
|
+
}
|
|
3588
3608
|
}
|
|
3589
3609
|
@media (width >= 48rem) {
|
|
3590
3610
|
#nd-docs-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-home-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-flux-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #fd-glass-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #fd-spacious-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fumadocs/base-ui",
|
|
3
|
-
"version": "16.16.
|
|
3
|
+
"version": "16.16.1",
|
|
4
4
|
"description": "The Base UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"@types/react": "^19.3.0",
|
|
164
164
|
"@types/react-dom": "^19.3.0",
|
|
165
165
|
"fuma-cli": "^0.3.1",
|
|
166
|
-
"fumadocs-core": "16.16.
|
|
166
|
+
"fumadocs-core": "16.16.1",
|
|
167
167
|
"react-medium-image-zoom": "^5.4.9",
|
|
168
168
|
"tailwindcss": "^4.3.3",
|
|
169
169
|
"tsconfig": "0.0.0",
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"peerDependencies": {
|
|
174
174
|
"@types/mdx": "*",
|
|
175
175
|
"@types/react": "*",
|
|
176
|
-
"fumadocs-core": "16.16.
|
|
176
|
+
"fumadocs-core": "16.16.1",
|
|
177
177
|
"next": "16.x.x",
|
|
178
178
|
"react": "^19.2.0",
|
|
179
179
|
"react-dom": "^19.2.0",
|