fumadocs-ui 16.3.0 → 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
@@ -838,6 +838,9 @@
838
838
  margin-bottom: 0;
839
839
  }
840
840
  }
841
+ .mt-1 {
842
+ margin-top: calc(var(--spacing) * 1);
843
+ }
841
844
  .mt-6 {
842
845
  margin-top: calc(var(--spacing) * 6);
843
846
  }
@@ -1556,6 +1559,10 @@
1556
1559
  .text-\[1\.75em\] {
1557
1560
  font-size: 1.75em;
1558
1561
  }
1562
+ .leading-none {
1563
+ --tw-leading: 1;
1564
+ line-height: 1;
1565
+ }
1559
1566
  .font-medium {
1560
1567
  --tw-font-weight: var(--font-weight-medium);
1561
1568
  font-weight: var(--font-weight-medium);
@@ -2427,11 +2434,6 @@
2427
2434
  top: calc(50% - 250px);
2428
2435
  }
2429
2436
  }
2430
- .md\:mt-1 {
2431
- @media (width >= 48rem) {
2432
- margin-top: calc(var(--spacing) * 1);
2433
- }
2434
- }
2435
2437
  .md\:mb-auto {
2436
2438
  @media (width >= 48rem) {
2437
2439
  margin-bottom: auto;
@@ -2833,6 +2835,10 @@
2833
2835
  inherits: false;
2834
2836
  initial-value: 0;
2835
2837
  }
2838
+ @property --tw-leading {
2839
+ syntax: "*";
2840
+ inherits: false;
2841
+ }
2836
2842
  @property --tw-font-weight {
2837
2843
  syntax: "*";
2838
2844
  inherits: false;
@@ -3190,6 +3196,7 @@
3190
3196
  --tw-skew-x: initial;
3191
3197
  --tw-skew-y: initial;
3192
3198
  --tw-divide-y-reverse: 0;
3199
+ --tw-leading: initial;
3193
3200
  --tw-font-weight: initial;
3194
3201
  --tw-shadow: 0 0 #0000;
3195
3202
  --tw-shadow-color: initial;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "16.3.0",
3
+ "version": "16.3.1",
4
4
  "description": "The Radix UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Fumadocs",
@@ -105,8 +105,8 @@
105
105
  "next-themes": "^0.4.6",
106
106
  "react-medium-image-zoom": "^5.4.0",
107
107
  "scroll-into-view-if-needed": "^3.1.0",
108
- "@fumadocs/ui": "16.3.0",
109
- "fumadocs-core": "16.3.0"
108
+ "@fumadocs/ui": "16.3.1",
109
+ "fumadocs-core": "16.3.1"
110
110
  },
111
111
  "devDependencies": {
112
112
  "@tailwindcss/cli": "^4.1.18",
@@ -117,7 +117,7 @@
117
117
  "tsc-alias": "^1.8.16",
118
118
  "@fumadocs/cli": "1.1.0",
119
119
  "eslint-config-custom": "0.0.0",
120
- "fumadocs-core": "16.3.0",
120
+ "fumadocs-core": "16.3.1",
121
121
  "tsconfig": "0.0.0"
122
122
  },
123
123
  "peerDependencies": {