UI: Improve padding of sidebar tabs

This commit is contained in:
Fuma Nama
2024-11-03 21:24:52 +08:00
parent 8188dde6e1
commit 80655b3118
18 changed files with 120 additions and 101 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-ui': patch
---
Improve padding of sidebar tabs and expose it to sidebar
+2 -2
View File
@@ -53,14 +53,14 @@
"@next/eslint-plugin-next": "15.0.2",
"@types/hast": "^3.0.4",
"@types/mdx": "^2.0.13",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"autoprefixer": "^10.4.20",
"eslint-config-custom": "workspace:*",
"fast-glob": "^3.3.1",
"gray-matter": "^4.0.3",
"next-validate-link": "^1.0.1",
"next-validate-link": "^1.1.0",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.14",
"tailwindcss-animate": "^1.0.7",
+1 -1
View File
@@ -43,7 +43,7 @@
},
"devDependencies": {
"@types/cross-spawn": "^6.0.6",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"@types/react": "^18.3.12",
"eslint-config-custom": "workspace:*",
"fast-glob": "^3.3.1",
+1 -1
View File
@@ -37,7 +37,7 @@
"devDependencies": {
"@content-collections/core": "^0.7.2",
"@content-collections/mdx": "^0.2.0",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"eslint-config-custom": "workspace:*",
"fumadocs-core": "workspace:*",
"tsconfig": "workspace:*",
+2 -2
View File
@@ -80,7 +80,7 @@
"types:check": "tsc --noEmit"
},
"dependencies": {
"@formatjs/intl-localematcher": "^0.5.6",
"@formatjs/intl-localematcher": "^0.5.7",
"@orama/orama": "^3.0.1",
"@shikijs/rehype": "^1.22.2",
"github-slugger": "^2.0.0",
@@ -103,7 +103,7 @@
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.3",
"@types/negotiator": "^0.6.3",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"algoliasearch": "4.24.0",
+1 -1
View File
@@ -9,7 +9,7 @@
"@content-collections/mdx": "^0.2.0",
"@content-collections/next": "^0.2.3",
"@types/mdx": "^2.0.13",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"autoprefixer": "^10.4.20",
+1 -1
View File
@@ -33,7 +33,7 @@
},
"devDependencies": {
"@types/cross-spawn": "^6.0.6",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"eslint-config-custom": "workspace:*",
"fast-glob": "^3.3.1",
"tsconfig": "workspace:*"
+2 -2
View File
@@ -27,7 +27,7 @@
"types:check": "tsc --noEmit"
},
"dependencies": {
"estree-util-value-to-estree": "^3.1.2",
"estree-util-value-to-estree": "^3.2.1",
"fumadocs-typescript": "workspace:^",
"hast-util-to-estree": "^3.1.0",
"npm-to-yarn": "^3.0.0",
@@ -40,7 +40,7 @@
"@types/estree": "^1.0.6",
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.3",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"eslint-config-custom": "workspace:*",
"remark": "^15.0.0",
"tsconfig": "workspace:*",
+2 -2
View File
@@ -72,9 +72,9 @@
"devDependencies": {
"@types/mdx": "^2.0.13",
"@types/micromatch": "^4.0.9",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"@types/react": "^18.3.12",
"@types/ws": "^8.5.12",
"@types/ws": "^8.5.13",
"eslint-config-custom": "workspace:*",
"fumadocs-core": "workspace:*",
"next": "15.0.2",
+1 -1
View File
@@ -46,7 +46,7 @@
"chokidar": "^4.0.1",
"cross-spawn": "^7.0.3",
"esbuild": "^0.24.0",
"estree-util-value-to-estree": "^3.1.2",
"estree-util-value-to-estree": "^3.2.1",
"fast-glob": "^3.3.1",
"gray-matter": "^4.0.3",
"micromatch": "^4.0.8",
+1 -1
View File
@@ -57,7 +57,7 @@
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"@types/openapi-sampler": "^1.0.3",
"@types/react": "^18.3.12",
"bunchee": "^5.6.1",
+1 -1
View File
@@ -46,7 +46,7 @@
"devDependencies": {
"@types/hast": "^3.0.4",
"@types/mdast": "^4.0.3",
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"@types/react": "^18.3.12",
"eslint-config-custom": "workspace:*",
"fumadocs-ui": "workspace:*",
+1 -1
View File
@@ -35,7 +35,7 @@
"types:check": "tsc --noEmit"
},
"dependencies": {
"@types/node": "22.8.6",
"@types/node": "22.8.7",
"fast-glob": "^3.3.1",
"hast-util-to-jsx-runtime": "^2.3.2",
"mdast-util-from-markdown": "^2.0.2",
@@ -26,7 +26,7 @@ export function RootToggle({
...props
}: {
options: Option[];
} & HTMLAttributes<HTMLButtonElement>): React.ReactElement {
} & HTMLAttributes<HTMLButtonElement>) {
const [open, setOpen] = useState(false);
const { closeOnRedirect } = useSidebar();
const pathname = usePathname();
@@ -34,7 +34,7 @@ export function RootToggle({
return options.find((item) => isActive(item.url, pathname, true));
}, [options, pathname]);
const onClick = (): void => {
const onClick = () => {
closeOnRedirect.current = false;
setOpen(false);
};
@@ -44,7 +44,7 @@ export function RootToggle({
<PopoverTrigger
{...props}
className={cn(
'flex flex-row items-center gap-2.5 rounded-lg p-1 hover:bg-fd-accent/50 hover:text-fd-accent-foreground',
'flex flex-row items-center gap-2 rounded-lg px-2 py-1.5 hover:bg-fd-accent/50 hover:text-fd-accent-foreground',
props.className,
)}
>
@@ -60,7 +60,7 @@ export function RootToggle({
onClick={onClick}
{...item.props}
className={cn(
'flex w-full flex-row items-center gap-2.5 p-1.5',
'flex w-full flex-row items-center gap-2 px-2 py-1.5',
selected === item
? 'bg-fd-accent text-fd-accent-foreground'
: 'hover:bg-fd-accent/50',
@@ -75,11 +75,11 @@ export function RootToggle({
);
}
function Item(props: Option): React.ReactElement {
function Item(props: Option) {
return (
<>
{props.icon}
<div className="flex-1 text-left">
<div className="flex-1 text-start">
<p className="text-sm font-medium">{props.title}</p>
{props.description ? (
<p className="text-xs text-fd-muted-foreground">
+19 -4
View File
@@ -5,6 +5,7 @@ import * as Base from 'fumadocs-core/sidebar';
import { usePathname } from 'next/navigation';
import {
createContext,
type FC,
type HTMLAttributes,
memo,
type ReactNode,
@@ -26,6 +27,12 @@ import {
CollapsibleContent,
CollapsibleTrigger,
} from '../ui/collapsible';
import { type Option } from '@/components/layout/root-toggle';
import dynamic from 'next/dynamic';
const RootToggle = dynamic(() =>
import('@/components/layout/root-toggle').then((mod) => mod.RootToggle),
);
export interface SidebarProps {
/**
@@ -48,6 +55,8 @@ export interface SidebarProps {
*/
components?: Partial<Components>;
tabs?: Option[];
banner?: ReactNode;
children?: ReactNode;
footer?: ReactNode;
@@ -67,9 +76,9 @@ interface InternalContext {
}
interface Components {
Item: React.FC<{ item: PageTree.Item }>;
Folder: React.FC<{ item: PageTree.Folder; level: number }>;
Separator: React.FC<{ item: PageTree.Separator }>;
Item: FC<{ item: PageTree.Item }>;
Folder: FC<{ item: PageTree.Folder; level: number }>;
Separator: FC<{ item: PageTree.Separator }>;
}
const Context = createContext<InternalContext | undefined>(undefined);
@@ -79,6 +88,7 @@ export const Sidebar = memo(
components,
defaultOpenLevel = 0,
prefetch = true,
tabs = [],
...props
}: SidebarProps & {
aside?: HTMLAttributes<HTMLElement> & Record<string, unknown>;
@@ -118,7 +128,12 @@ export const Sidebar = memo(
}
>
<div className="flex size-full flex-col pt-2 md:ms-auto md:w-[var(--fd-sidebar-width)] md:border-e md:pt-4">
{props.banner}
<div className="flex flex-col gap-1 px-4 empty:hidden md:px-3 md:pb-2">
{props.banner}
{tabs.length > 0 ? (
<RootToggle options={tabs} className="-mx-2" />
) : null}
</div>
{hasSearch ? (
<LargeSearchToggle className="mx-4 rounded-lg max-md:hidden md:mx-3" />
) : null}
-1
View File
@@ -114,7 +114,6 @@ export function LinksMenu({ items, ...props }: LinksMenuProps): ReactNode {
export { IconItem } from '@/layouts/links';
export { MenuItem } from '@/layouts/menu-item';
export { NavProvider } from '@/components/layout/nav';
export { RootToggle } from '@/components/layout/root-toggle';
export { Sidebar } from '@/components/layout/sidebar';
export { TreeContextProvider } from '@/contexts/tree';
export { ThemeToggle } from '@/components/layout/theme-toggle';
+5 -6
View File
@@ -21,7 +21,6 @@ declare const {
LanguageToggle,
LanguageToggleText,
LinksMenu,
RootToggle,
Sidebar,
IconItem,
MenuItem,
@@ -32,7 +31,7 @@ const DynamicSidebar = dynamic(
() => import('@/components/layout/dynamic-sidebar'),
);
interface SidebarOptions extends Omit<SidebarProps, 'children'> {
interface SidebarOptions extends Omit<SidebarProps, 'children' | 'tabs'> {
enabled: boolean;
component: ReactNode;
collapsible: boolean;
@@ -82,11 +81,10 @@ export function DocsLayout({
}
const banner = (
<div className="flex flex-col gap-1 px-4 empty:hidden md:px-3 md:pb-2">
<>
<SidebarHeader {...nav} links={links} />
{tabs.length > 0 ? <RootToggle className="-mx-1" options={tabs} /> : null}
{sidebar.banner}
</div>
</>
);
const footer = (
@@ -124,7 +122,7 @@ export function DocsLayout({
>
{replaceOrDefault(
{ enabled: sidebarEnabled, component: sidebarReplace },
<Aside {...sidebar} banner={banner} footer={footer}>
<Aside {...sidebar} banner={banner} footer={footer} tabs={tabs}>
<div className="flex flex-col px-2 pt-4 empty:hidden md:hidden">
{links
.filter((v) => v.type !== 'icon')
@@ -135,6 +133,7 @@ export function DocsLayout({
</Aside>,
{
...sidebar,
tabs,
banner,
footer,
},
+69 -68
View File
@@ -52,7 +52,7 @@ importers:
version: 8.12.2([email protected]([email protected]))([email protected])
vitest:
specifier: ^2.1.4
version: 2.1.4(@types/[email protected].6)([email protected])([email protected])
version: 2.1.4(@types/[email protected].7)([email protected])([email protected])
apps/docs:
dependencies:
@@ -175,8 +175,8 @@ importers:
specifier: ^2.0.13
version: 2.0.13
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
'@types/react':
specifier: ^18.3.12
version: 18.3.12
@@ -196,8 +196,8 @@ importers:
specifier: ^4.0.3
version: 4.0.3
next-validate-link:
specifier: ^1.0.1
version: 1.0.1
specifier: ^1.1.0
version: 1.1.0
postcss:
specifier: ^8.4.47
version: 8.4.47
@@ -451,8 +451,8 @@ importers:
specifier: ^6.0.6
version: 6.0.6
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
'@types/react':
specifier: ^18.3.12
version: 18.3.12
@@ -478,8 +478,8 @@ importers:
specifier: ^0.2.0
version: 0.2.0(@content-collections/[email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
eslint-config-custom:
specifier: workspace:*
version: link:../eslint-config-custom
@@ -499,8 +499,8 @@ importers:
packages/core:
dependencies:
'@formatjs/intl-localematcher':
specifier: ^0.5.6
version: 0.5.6
specifier: ^0.5.7
version: 0.5.7
'@orama/orama':
specifier: ^3.0.1
version: 3.0.1
@@ -569,8 +569,8 @@ importers:
specifier: ^0.6.3
version: 0.6.3
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
'@types/react':
specifier: ^18.3.12
version: 18.3.12
@@ -624,8 +624,8 @@ importers:
specifier: ^6.0.6
version: 6.0.6
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
eslint-config-custom:
specifier: workspace:*
version: link:../eslint-config-custom
@@ -651,8 +651,8 @@ importers:
specifier: ^2.0.13
version: 2.0.13
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
'@types/react':
specifier: ^18.3.12
version: 18.3.12
@@ -684,8 +684,8 @@ importers:
packages/doc-gen:
dependencies:
estree-util-value-to-estree:
specifier: ^3.1.2
version: 3.1.2
specifier: ^3.2.1
version: 3.2.1
fumadocs-typescript:
specifier: workspace:^
version: link:../typescript
@@ -718,8 +718,8 @@ importers:
specifier: ^4.0.3
version: 4.0.4
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
eslint-config-custom:
specifier: workspace:*
version: link:../eslint-config-custom
@@ -756,8 +756,8 @@ importers:
specifier: ^0.24.0
version: 0.24.0
estree-util-value-to-estree:
specifier: ^3.1.2
version: 3.1.2
specifier: ^3.2.1
version: 3.2.1
fast-glob:
specifier: ^3.3.1
version: 3.3.2
@@ -845,14 +845,14 @@ importers:
specifier: ^4.0.9
version: 4.0.9
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
'@types/react':
specifier: ^18.3.12
version: 18.3.12
'@types/ws':
specifier: ^8.5.12
version: 8.5.12
specifier: ^8.5.13
version: 8.5.13
eslint-config-custom:
specifier: workspace:*
version: link:../eslint-config-custom
@@ -933,8 +933,8 @@ importers:
specifier: ^4.0.9
version: 4.0.9
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
'@types/openapi-sampler':
specifier: ^1.0.3
version: 1.0.3
@@ -993,8 +993,8 @@ importers:
specifier: ^4.0.3
version: 4.0.4
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
'@types/react':
specifier: ^18.3.12
version: 18.3.12
@@ -1023,8 +1023,8 @@ importers:
packages/typescript:
dependencies:
'@types/node':
specifier: 22.8.6
version: 22.8.6
specifier: 22.8.7
version: 22.8.7
fast-glob:
specifier: ^3.3.1
version: 3.3.2
@@ -1825,8 +1825,8 @@ packages:
'@floating-ui/[email protected]':
resolution: {integrity: sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig==}
'@formatjs/[email protected].6':
resolution: {integrity: sha512-roz1+Ba5e23AHX6KUAWmLEyTRZegM5YDuxuvkHCyK3RJddf/UXB2f+s7pOMm9ktfPGla0g+mQXOn5vsuYirnaA==}
'@formatjs/[email protected].7':
resolution: {integrity: sha512-GGFtfHGQVFe/niOZp24Kal5b2i36eE2bNL0xi9Sg/yd0TR8aLjcteApZdHmismP5QQax1cMnZM9yWySUUjJteA==}
'@fumari/[email protected]':
resolution: {integrity: sha512-vVnuwLqW8WJsg09EanNHnXnzsjYYsZE7JlD4M1sLvDnWGjvYJKNU6VpRqDxOiDChUszDZFKhxQSNYGShF0bKJg==}
@@ -2881,11 +2881,11 @@ packages:
'@types/[email protected]':
resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==}
'@types/[email protected]3':
resolution: {integrity: sha512-hcUB7THvrGmaEcPcvUZCZtQ2Z3C+UR/aOcraBLCvTsFMh916Gc1kCCYcfcMuB76HM2pSerxl1PoP3KnmHzd9Lw==}
'@types/[email protected]4':
resolution: {integrity: sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==}
'@types/[email protected].6':
resolution: {integrity: sha512-tosuJYKrIqjQIlVCM4PEGxOmyg3FCPa/fViuJChnGeEIhjA46oy8FMVoF9su1/v8PNs2a8Q0iFNyOx0uOF91nw==}
'@types/[email protected].7':
resolution: {integrity: sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==}
'@types/[email protected]':
resolution: {integrity: sha512-SwTm7ZahuDRKirbFSBu30X64mvdwITxS5yeC9JNV20Vp23Ymbl+hVdYxegkLDtYvXIxnUngJb8Ok+m3iEYfZiQ==}
@@ -2911,8 +2911,8 @@ packages:
'@types/[email protected]':
resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}
'@types/[email protected]2':
resolution: {integrity: sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==}
'@types/[email protected]3':
resolution: {integrity: sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==}
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==}
@@ -3721,8 +3721,8 @@ packages:
[email protected]:
resolution: {integrity: sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==}
estree-util-value-to-estree@3.1.2:
resolution: {integrity: sha512-S0gW2+XZkmsx00tU2uJ4L9hUT7IFabbml9pHh2WQqFmAbxit++YGZne0sKJbNwkj9Wvg9E4uqWl4nCIFQMmfag==}
estree-util-value-to-estree@3.2.1:
resolution: {integrity: sha512-Vt2UOjyPbNQQgT5eJh+K5aATti0OjCIAGc9SgMdOFYbohuifsWclR74l0iZTJwePMgWYdX1hlVS+dedH9XV8kw==}
[email protected]:
resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==}
@@ -4728,8 +4728,8 @@ packages:
react: ^16.8 || ^17 || ^18
react-dom: ^16.8 || ^17 || ^18
next-validate-link@1.0.1:
resolution: {integrity: sha512-36DGk4JAC5tFOl/1rw13taNSsrCoCjwVCpHBEavuoePCq1WMofqBEui77rSctRH1X9y5qVxKmd2j3oG1qMX6rQ==}
next-validate-link@1.1.0:
resolution: {integrity: sha512-A59vywagUlkwVfrYnmivZNQMr5cdhX/y6Ch/XejxWT09jnCqZ4NUsHEYVlwW2zq4ah0LKhXgfZ8ynYO56GspiA==}
[email protected]:
resolution: {integrity: sha512-rxIWHcAu4gGSDmwsELXacqAPUk+j8dV/A9cDF5fsiCMpkBDYkO2AEaL1dfD+nNmDiU6QMCFN8Q30VEKapT9UHQ==}
@@ -6701,7 +6701,7 @@ snapshots:
'@floating-ui/[email protected]': {}
'@formatjs/[email protected].6':
'@formatjs/[email protected].7':
dependencies:
tslib: 2.8.1
@@ -7658,7 +7658,7 @@ snapshots:
'@types/[email protected]':
dependencies:
'@types/node': 22.8.6
'@types/node': 22.8.7
'@types/[email protected]':
dependencies:
@@ -7710,16 +7710,16 @@ snapshots:
'@types/[email protected]':
dependencies:
'@types/node': 22.8.6
'@types/node': 22.8.7
form-data: 4.0.1
'@types/[email protected]': {}
'@types/[email protected]3':
'@types/[email protected]4':
dependencies:
undici-types: 5.26.5
'@types/[email protected].6':
'@types/[email protected].7':
dependencies:
undici-types: 6.19.8
@@ -7744,9 +7744,9 @@ snapshots:
'@types/[email protected]': {}
'@types/[email protected]2':
'@types/[email protected]3':
dependencies:
'@types/node': 22.8.6
'@types/node': 22.8.7
'@typescript-eslint/[email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])':
dependencies:
@@ -7845,13 +7845,13 @@ snapshots:
chai: 5.1.2
tinyrainbow: 1.2.0
'@vitest/[email protected]([email protected](@types/[email protected].6)([email protected])([email protected]))':
'@vitest/[email protected]([email protected](@types/[email protected].7)([email protected])([email protected]))':
dependencies:
'@vitest/spy': 2.1.4
estree-walker: 3.0.3
magic-string: 0.30.12
optionalDependencies:
vite: 5.4.10(@types/[email protected].6)([email protected])([email protected])
vite: 5.4.10(@types/[email protected].7)([email protected])([email protected])
'@vitest/[email protected]':
dependencies:
@@ -8826,7 +8826,7 @@ snapshots:
astring: 1.9.0
source-map: 0.7.4
estree-util-value-to-estree@3.1.2:
estree-util-value-to-estree@3.2.1:
dependencies:
'@types/estree': 1.0.6
@@ -9456,7 +9456,7 @@ snapshots:
[email protected]:
dependencies:
'@types/node': 22.8.6
'@types/node': 22.8.7
merge-stream: 2.0.0
supports-color: 8.1.1
@@ -10171,12 +10171,13 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1([email protected])
next-validate-link@1.0.1:
next-validate-link@1.1.0:
dependencies:
fast-glob: 3.3.2
gray-matter: 4.0.3
picocolors: 1.1.1
remark: 15.0.1
remark-gfm: 4.0.0
unist-util-visit: 5.0.0
transitivePeerDependencies:
- supports-color
@@ -10273,7 +10274,7 @@ snapshots:
[email protected]([email protected]):
dependencies:
'@types/node': 18.19.63
'@types/node': 18.19.64
'@types/node-fetch': 2.6.11
abort-controller: 3.0.0
agentkeepalive: 4.5.0
@@ -10717,7 +10718,7 @@ snapshots:
dependencies:
'@types/mdast': 4.0.4
estree-util-is-identifier-name: 3.0.0
estree-util-value-to-estree: 3.1.2
estree-util-value-to-estree: 3.2.1
toml: 3.0.0
unified: 11.0.5
yaml: 2.6.0
@@ -11485,12 +11486,12 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.2
[email protected](@types/[email protected].6)([email protected])([email protected]):
[email protected](@types/[email protected].7)([email protected])([email protected]):
dependencies:
cac: 6.7.14
debug: 4.3.7
pathe: 1.1.2
vite: 5.4.10(@types/[email protected].6)([email protected])([email protected])
vite: 5.4.10(@types/[email protected].7)([email protected])([email protected])
transitivePeerDependencies:
- '@types/node'
- less
@@ -11502,21 +11503,21 @@ snapshots:
- supports-color
- terser
[email protected](@types/[email protected].6)([email protected])([email protected]):
[email protected](@types/[email protected].7)([email protected])([email protected]):
dependencies:
esbuild: 0.21.5
postcss: 8.4.47
rollup: 4.24.3
optionalDependencies:
'@types/node': 22.8.6
'@types/node': 22.8.7
fsevents: 2.3.3
lightningcss: 1.27.0
terser: 5.34.1
[email protected](@types/[email protected].6)([email protected])([email protected]):
[email protected](@types/[email protected].7)([email protected])([email protected]):
dependencies:
'@vitest/expect': 2.1.4
'@vitest/mocker': 2.1.4([email protected](@types/[email protected].6)([email protected])([email protected]))
'@vitest/mocker': 2.1.4([email protected](@types/[email protected].7)([email protected])([email protected]))
'@vitest/pretty-format': 2.1.4
'@vitest/runner': 2.1.4
'@vitest/snapshot': 2.1.4
@@ -11532,11 +11533,11 @@ snapshots:
tinyexec: 0.3.1
tinypool: 1.0.1
tinyrainbow: 1.2.0
vite: 5.4.10(@types/[email protected].6)([email protected])([email protected])
vite-node: 2.1.4(@types/[email protected].6)([email protected])([email protected])
vite: 5.4.10(@types/[email protected].7)([email protected])([email protected])
vite-node: 2.1.4(@types/[email protected].7)([email protected])([email protected])
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 22.8.6
'@types/node': 22.8.7
transitivePeerDependencies:
- less
- lightningcss