fumadocs-ui 16.11.2 → 16.11.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
//#region src/layouts/home/slots/header.d.ts
|
|
3
3
|
declare const navItemVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
4
|
+
variant?: "icon" | "main" | "button" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
|
|
7
7
|
//#endregion
|
package/dist/style.css
CHANGED
|
@@ -489,10 +489,11 @@
|
|
|
489
489
|
margin-inline-end: auto;
|
|
490
490
|
}
|
|
491
491
|
.prose {
|
|
492
|
+
--tw-prose-size: 1;
|
|
492
493
|
color: var(--tw-prose-body);
|
|
493
494
|
max-width: none;
|
|
494
|
-
font-size: 1rem;
|
|
495
|
-
line-height: 1.75rem;
|
|
495
|
+
font-size: calc(1rem * var(--tw-prose-size));
|
|
496
|
+
line-height: calc(1.75rem * var(--tw-prose-size));
|
|
496
497
|
:where([class~="lead"]):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
497
498
|
font-size: 1.25em;
|
|
498
499
|
line-height: 1.6;
|
|
@@ -501,7 +502,7 @@
|
|
|
501
502
|
color: var(--tw-prose-lead);
|
|
502
503
|
}
|
|
503
504
|
:where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
504
|
-
padding-inline-start: 1rem;
|
|
505
|
+
padding-inline-start: calc(1rem * var(--tw-prose-size));
|
|
505
506
|
list-style-type: disc;
|
|
506
507
|
margin-top: 1.25em;
|
|
507
508
|
margin-bottom: 1.25em;
|
|
@@ -632,7 +633,7 @@
|
|
|
632
633
|
:where(h1):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
633
634
|
color: var(--tw-prose-headings);
|
|
634
635
|
font-weight: 800;
|
|
635
|
-
font-size: var(--text-3xl);
|
|
636
|
+
font-size: calc(var(--text-3xl) * var(--tw-prose-size));
|
|
636
637
|
margin-top: 0;
|
|
637
638
|
margin-bottom: 0.8888889em;
|
|
638
639
|
line-height: 1.1111111;
|
|
@@ -718,9 +719,9 @@
|
|
|
718
719
|
box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);
|
|
719
720
|
}
|
|
720
721
|
:where(code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
721
|
-
padding: 3px;
|
|
722
|
+
padding: calc(3px * var(--tw-prose-size));
|
|
722
723
|
border: solid 1px;
|
|
723
|
-
font-size: 13px;
|
|
724
|
+
font-size: calc(13px * var(--tw-prose-size));
|
|
724
725
|
border-color: var(--color-fd-border);
|
|
725
726
|
border-radius: 5px;
|
|
726
727
|
font-weight: 400;
|
|
@@ -732,7 +733,7 @@
|
|
|
732
733
|
}
|
|
733
734
|
:where(h1 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
734
735
|
color: inherit;
|
|
735
|
-
font-size: var(--text-2xl);
|
|
736
|
+
font-size: calc(var(--text-2xl) * var(--tw-prose-size));
|
|
736
737
|
}
|
|
737
738
|
:where(h2 code):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
738
739
|
color: inherit;
|
|
@@ -825,7 +826,7 @@
|
|
|
825
826
|
}
|
|
826
827
|
:where(th):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
827
828
|
text-align: start;
|
|
828
|
-
padding: calc(var(--spacing) * 2.5);
|
|
829
|
+
padding: calc(var(--spacing) * 2.5 * var(--tw-prose-size));
|
|
829
830
|
border-inline-start: 1px solid var(--color-fd-border);
|
|
830
831
|
background: var(--color-fd-muted);
|
|
831
832
|
}
|
|
@@ -838,7 +839,7 @@
|
|
|
838
839
|
:where(td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
839
840
|
text-align: start;
|
|
840
841
|
border-inline-start: 1px solid var(--color-fd-border);
|
|
841
|
-
padding: calc(var(--spacing) * 2.5);
|
|
842
|
+
padding: calc(var(--spacing) * 2.5 * var(--tw-prose-size));
|
|
842
843
|
}
|
|
843
844
|
:where(td:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
844
845
|
border-inline-start: none;
|
|
@@ -1741,6 +1742,12 @@
|
|
|
1741
1742
|
--tw-font-weight: var(--font-weight-semibold);
|
|
1742
1743
|
font-weight: var(--font-weight-semibold);
|
|
1743
1744
|
}
|
|
1745
|
+
.prose-sm {
|
|
1746
|
+
--tw-prose-size: 0.875;
|
|
1747
|
+
:where(dt, strong, blockquote, h1, h2, h3, h4, kbd, thead th, a:not([data-card])):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
1748
|
+
font-weight: 450;
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1744
1751
|
.text-nowrap {
|
|
1745
1752
|
text-wrap: nowrap;
|
|
1746
1753
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "16.11.
|
|
3
|
+
"version": "16.11.3",
|
|
4
4
|
"description": "The Radix UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
149
149
|
"shiki": "^4.3.1",
|
|
150
150
|
"unist-util-visit": "^5.1.0",
|
|
151
|
-
"@fumadocs/tailwind": "0.1.
|
|
151
|
+
"@fumadocs/tailwind": "0.1.1"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
154
|
"@tailwindcss/cli": "^4.3.2",
|
|
@@ -164,9 +164,9 @@
|
|
|
164
164
|
"tailwindcss": "^4.3.2",
|
|
165
165
|
"tsdown": "0.22.4",
|
|
166
166
|
"unified": "^11.0.5",
|
|
167
|
-
"fumadocs
|
|
167
|
+
"@fumadocs/cli": "1.4.1",
|
|
168
168
|
"tsconfig": "0.0.0",
|
|
169
|
-
"
|
|
169
|
+
"fumadocs-core": "16.11.3"
|
|
170
170
|
},
|
|
171
171
|
"peerDependencies": {
|
|
172
172
|
"@types/mdx": "*",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"react": "^19.2.0",
|
|
176
176
|
"react-dom": "^19.2.0",
|
|
177
177
|
"takumi-js": "*",
|
|
178
|
-
"fumadocs-core": "16.11.
|
|
178
|
+
"fumadocs-core": "16.11.3"
|
|
179
179
|
},
|
|
180
180
|
"peerDependenciesMeta": {
|
|
181
181
|
"next": {
|