@fumadocs/base-ui 16.2.5 → 16.3.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.
@@ -24,7 +24,7 @@ export function SidebarTabsDropdown({ options, placeholder, ...props }) {
24
24
  const isActive = selected && item.url === selected.url;
25
25
  if (!isActive && item.unlisted)
26
26
  return;
27
- return (_jsxs(Link, { href: item.url, onClick: onClick, ...item.props, className: cn('flex items-center gap-2 rounded-lg p-1.5 hover:bg-fd-accent hover:text-fd-accent-foreground', item.props?.className), children: [_jsx("div", { className: "shrink-0 size-9 md:mt-1 md:mb-auto md:size-5 empty:hidden", children: item.icon }), _jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium", children: item.title }), _jsx("p", { className: "text-[0.8125rem] text-fd-muted-foreground empty:hidden", children: item.description })] }), _jsx(Check, { className: cn('shrink-0 ms-auto size-3.5 text-fd-primary', !isActive && 'invisible') })] }, item.url));
27
+ return (_jsxs(Link, { href: item.url, onClick: onClick, ...item.props, className: cn('flex items-center gap-2 rounded-lg p-1.5 hover:bg-fd-accent hover:text-fd-accent-foreground', item.props?.className), children: [_jsx("div", { className: "shrink-0 size-9 md:mb-auto md:size-5 empty:hidden", children: item.icon }), _jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium leading-none", children: item.title }), _jsx("p", { className: "text-[0.8125rem] text-fd-muted-foreground mt-1 empty:hidden", children: item.description })] }), _jsx(Check, { className: cn('shrink-0 ms-auto size-3.5 text-fd-primary', !isActive && 'invisible') })] }, item.url));
28
28
  }) })] }));
29
29
  }
30
30
  export function isTabActive(tab, pathname) {
package/dist/style.css CHANGED
@@ -818,6 +818,9 @@
818
818
  margin-bottom: 0;
819
819
  }
820
820
  }
821
+ .mt-1 {
822
+ margin-top: calc(var(--spacing) * 1);
823
+ }
821
824
  .mt-6 {
822
825
  margin-top: calc(var(--spacing) * 6);
823
826
  }
@@ -1552,6 +1555,10 @@
1552
1555
  .text-\[1\.75em\] {
1553
1556
  font-size: 1.75em;
1554
1557
  }
1558
+ .leading-none {
1559
+ --tw-leading: 1;
1560
+ line-height: 1;
1561
+ }
1555
1562
  .font-medium {
1556
1563
  --tw-font-weight: var(--font-weight-medium);
1557
1564
  font-weight: var(--font-weight-medium);
@@ -2439,11 +2446,6 @@
2439
2446
  top: calc(50% - 250px);
2440
2447
  }
2441
2448
  }
2442
- .md\:mt-1 {
2443
- @media (width >= 48rem) {
2444
- margin-top: calc(var(--spacing) * 1);
2445
- }
2446
- }
2447
2449
  .md\:mb-auto {
2448
2450
  @media (width >= 48rem) {
2449
2451
  margin-bottom: auto;
@@ -2845,6 +2847,10 @@
2845
2847
  inherits: false;
2846
2848
  initial-value: 0;
2847
2849
  }
2850
+ @property --tw-leading {
2851
+ syntax: "*";
2852
+ inherits: false;
2853
+ }
2848
2854
  @property --tw-font-weight {
2849
2855
  syntax: "*";
2850
2856
  inherits: false;
@@ -3110,6 +3116,7 @@
3110
3116
  --tw-skew-x: initial;
3111
3117
  --tw-skew-y: initial;
3112
3118
  --tw-divide-y-reverse: 0;
3119
+ --tw-leading: initial;
3113
3120
  --tw-font-weight: initial;
3114
3121
  --tw-shadow: 0 0 #0000;
3115
3122
  --tw-shadow-color: initial;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fumadocs/base-ui",
3
- "version": "16.2.5",
3
+ "version": "16.3.1",
4
4
  "description": "The Base UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Fumadocs",
@@ -88,8 +88,8 @@
88
88
  "next-themes": "^0.4.6",
89
89
  "react-medium-image-zoom": "^5.4.0",
90
90
  "scroll-into-view-if-needed": "^3.1.0",
91
- "@fumadocs/ui": "16.2.5",
92
- "fumadocs-core": "16.2.5"
91
+ "@fumadocs/ui": "16.3.1",
92
+ "fumadocs-core": "16.3.1"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@tailwindcss/cli": "^4.1.18",
@@ -98,9 +98,9 @@
98
98
  "@types/react-dom": "^19.2.3",
99
99
  "tailwindcss": "^4.1.18",
100
100
  "tsc-alias": "^1.8.16",
101
- "eslint-config-custom": "0.0.0",
101
+ "fumadocs-core": "16.3.1",
102
102
  "@fumadocs/cli": "1.1.0",
103
- "fumadocs-core": "16.2.5",
103
+ "eslint-config-custom": "0.0.0",
104
104
  "tsconfig": "0.0.0"
105
105
  },
106
106
  "peerDependencies": {