chore: upgrade i18next 26, prettier 3, fontsource-variable, domhandler 6, lint-staged 17
- i18next 23->26 + react-i18next 15->17 - prettier 2->3, reformat all files - replace @fontsource/inter with @fontsource-variable/inter 5, update import path - domhandler 5->6 (aligns with transitive deps) - lint-staged 16->17
This commit is contained in:
@@ -15,5 +15,5 @@ export const NavCategoryHeader = as<'div', NavCategoryHeaderProps>(
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
@@ -23,11 +23,11 @@ export const NavItem = as<
|
||||
export const NavLink = forwardRef<HTMLAnchorElement, ComponentProps<typeof Link>>(
|
||||
({ className, ...props }, ref) => (
|
||||
<Link className={classNames(css.NavLink, className)} {...props} ref={ref} />
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
export const NavButton = as<'button'>(
|
||||
({ as: AsNavButton = 'button', className, ...props }, ref) => (
|
||||
<AsNavButton className={classNames(css.NavLink, className)} {...props} ref={ref} />
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
@@ -6,5 +6,5 @@ import * as css from './styles.css';
|
||||
export const NavItemContent = as<'p', ComponentProps<typeof Text>>(
|
||||
({ className, ...props }, ref) => (
|
||||
<Text className={classNames(css.NavItemContent, className)} size="T300" {...props} ref={ref} />
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
@@ -13,5 +13,5 @@ export const NavItemOptions = as<'div', ComponentProps<typeof Box>>(
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user