Skip to content

Commit

Permalink
Merge pull request #35 from FlorianLeChat/dependabot/npm_and_yarn/dep…
Browse files Browse the repository at this point in the history
…endencies-2d0f5eb25d

Bump the dependencies group with 46 updates
  • Loading branch information
github-actions[bot] authored Jan 1, 2025
2 parents 25bc393 + 4af9fd5 commit 3c52967
Show file tree
Hide file tree
Showing 8 changed files with 2,086 additions and 2,862 deletions.
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

0 comments on commit 3c52967

Please sign in to comment.