chore: bump version to 2.23.13 and update dependencies (#450)

* chore: bump version to 2.23.13 and update dependencies

- Updated application version from 2.23.12 to 2.23.13 in package.json.
- Upgraded several dependencies including @marsidev/react-turnstile to 1.4.2, @next/bundle-analyzer to 16.1.6, @next/eslint-plugin-next to 16.1.6, and others for improved functionality and security.
- Adjusted package versions in pnpm-lock.yaml and pnpm-workspace.yaml for consistency across the project.
- Removed unused AI translation functionality from translations-comparison component to streamline the codebase.

* refactor: clean up code formatting and update Stripe API version

- Removed unnecessary blank lines in LineItemDetails component for improved readability.
- Enhanced formatting in PricingItem component for better clarity.
- Updated Stripe API version from '2025-12-15.clover' to '2026-01-28.clover' for compatibility with the latest features.
- Adjusted i18n initialization in email templates for consistency.
- Reformatted props in AdminReactivateUserDialog for better structure.
- Cleaned up type imports in ImageUploadInput component.
This commit is contained in:
Giancarlo Buomprisco
2026-02-06 12:55:05 +01:00
committed by GitHub
parent 58f08c5f39
commit 68276fda8a
17 changed files with 1286 additions and 1491 deletions

View File

@@ -16,7 +16,7 @@
"input-otp": "1.4.2",
"lucide-react": "catalog:",
"radix-ui": "1.4.3",
"react-dropzone": "^14.3.8",
"react-dropzone": "^14.4.0",
"react-top-loading-bar": "3.0.2",
"recharts": "2.15.3",
"tailwind-merge": "^3.4.0"

View File

@@ -1,6 +1,6 @@
'use client';
import type { FormEvent, MouseEventHandler } from 'react';
import type { MouseEventHandler } from 'react';
import { useCallback, useEffect, useRef, useState } from 'react';
import Image from 'next/image';
@@ -39,40 +39,41 @@ export const ImageUploadInput: React.FC<Props> =
fileName: '',
});
const onInputChange = useCallback(
(e: FormEvent<HTMLInputElement>) => {
e.preventDefault();
const onInputChange: React.InputEventHandler<HTMLInputElement> =
useCallback(
(e) => {
e.preventDefault();
const files = e.currentTarget.files;
const files = e.currentTarget.files;
if (files?.length) {
const file = files[0];
if (files?.length) {
const file = files[0];
if (!file) {
return;
}
if (!file) {
return;
}
const data = URL.createObjectURL(file);
const data = URL.createObjectURL(file);
setState({
image: data,
fileName: file.name,
});
if (onValueChange) {
onValueChange({
setState({
image: data,
file,
fileName: file.name,
});
}
}
if (onInput) {
onInput(e);
}
},
[onInput, onValueChange],
);
if (onValueChange) {
onValueChange({
image: data,
file,
});
}
}
if (onInput) {
onInput(e);
}
},
[onInput, onValueChange],
);
const onRemove = useCallback(() => {
setState({