Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the dependencies group with 46 updates #35

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"files": ["**/components/ui/*.tsx", "**/utilities/env.ts"],
"rules": {
"react/prop-types": "off",
"react/require-default-props": "off",
"@typescript-eslint/no-empty-object-type": "off"
}
}
Expand Down
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ updates:
dependencies:
patterns:
- "*"
ignore:
# https://github.com/shadcn-ui/ui/issues/4366
- dependency-name: "react-day-picker"
4 changes: 0 additions & 4 deletions app/[locale]/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(
}
);

Button.defaultProps = {
asChild: false
};

Button.displayName = "Button";

export { Button, buttonVariants };
14 changes: 1 addition & 13 deletions app/[locale]/components/ui/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ const DropdownMenuSubTrigger = forwardRef<
</DropdownMenuPrimitive.SubTrigger>
) );

DropdownMenuSubTrigger.defaultProps = {
inset: false
};

DropdownMenuSubTrigger.displayName =
DropdownMenuPrimitive.SubTrigger.displayName;

Expand Down Expand Up @@ -97,10 +93,6 @@ const DropdownMenuItem = forwardRef<
/>
) );

DropdownMenuItem.defaultProps = {
inset: false
};

DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;

const DropdownMenuCheckboxItem = forwardRef<
Expand Down Expand Up @@ -168,10 +160,6 @@ const DropdownMenuLabel = forwardRef<
/>
) );

DropdownMenuLabel.defaultProps = {
inset: false
};

DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;

const DropdownMenuSeparator = forwardRef<
Expand All @@ -190,7 +178,7 @@ DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
function DropdownMenuShortcut( {
className,
...props
}: HTMLAttributes<HTMLSpanElement> )
}: Readonly<HTMLAttributes<HTMLSpanElement>> )
{
return (
<span
Expand Down
2 changes: 1 addition & 1 deletion app/[locale]/components/ui/progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Progress = forwardRef<
>
<ProgressPrimitive.Indicator
className="size-full flex-1 bg-primary transition-all"
style={{ transform: `translateX(-${ 100 - ( value || 0 ) }%)` }}
style={{ transform: `translateX(-${ 100 - ( value ?? 0 ) }%)` }}
/>
</ProgressPrimitive.Root>
) );
Expand Down
3 changes: 2 additions & 1 deletion config/routes.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
//
// Déclaration des routes vers les différentes pages des paramètres.
//
import type { ReactNode } from "react";
import { Bug, Bell, User, Cctv, Files, Palette } from "lucide-react";

export const routes: {
id: string;
icon: JSX.Element;
icon: ReactNode;
href: string;
}[] = [
{
Expand Down
Loading
Loading