diff --git a/composer.json b/composer.json index e7b89ed..473f194 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "project", "require": { "php": ">=8.1", - "firebase/php-jwt": "^6.11", + "firebase/php-jwt": "^7.0", "robthree/twofactorauth": "^3.0", "chillerlan/php-qrcode": "^5.0" }, diff --git a/composer.lock b/composer.lock index 89f8e34..16e136c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "452831f603fe18144b4f4557d0c4ea01", + "content-hash": "081e51355832fa208c1fe8833cb07d49", "packages": [ { "name": "chillerlan/php-qrcode", @@ -167,16 +167,16 @@ }, { "name": "firebase/php-jwt", - "version": "v6.11.1", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "d1e91ecf8c598d073d0995afa8cd5c75c6e19e66" + "reference": "28aa0694bcfdfa5e2959c394d5a1ee7a5083629e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/d1e91ecf8c598d073d0995afa8cd5c75c6e19e66", - "reference": "d1e91ecf8c598d073d0995afa8cd5c75c6e19e66", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/28aa0694bcfdfa5e2959c394d5a1ee7a5083629e", + "reference": "28aa0694bcfdfa5e2959c394d5a1ee7a5083629e", "shasum": "" }, "require": { @@ -224,9 +224,9 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.11.1" + "source": "https://github.com/firebase/php-jwt/tree/v7.0.3" }, - "time": "2025-04-09T20:32:01+00:00" + "time": "2026-02-25T22:16:40+00:00" }, { "name": "robthree/twofactorauth", @@ -308,77 +308,6 @@ } ], "time": "2026-01-05T13:17:41+00:00" - }, - { - "name": "tecnickcom/tcpdf", - "version": "6.11.2", - "source": { - "type": "git", - "url": "https://github.com/tecnickcom/TCPDF.git", - "reference": "e1e2ade18e574e963473f53271591edd8c0033ec" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/e1e2ade18e574e963473f53271591edd8c0033ec", - "reference": "e1e2ade18e574e963473f53271591edd8c0033ec", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": ">=7.1.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "config", - "include", - "tcpdf.php", - "tcpdf_barcodes_1d.php", - "tcpdf_barcodes_2d.php", - "include/tcpdf_colors.php", - "include/tcpdf_filters.php", - "include/tcpdf_font_data.php", - "include/tcpdf_fonts.php", - "include/tcpdf_images.php", - "include/tcpdf_static.php", - "include/barcodes/datamatrix.php", - "include/barcodes/pdf417.php", - "include/barcodes/qrcode.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "LGPL-3.0-or-later" - ], - "authors": [ - { - "name": "Nicola Asuni", - "email": "info@tecnick.com", - "role": "lead" - } - ], - "description": "TCPDF is a PHP class for generating PDF documents and barcodes.", - "homepage": "http://www.tcpdf.org/", - "keywords": [ - "PDFD32000-2008", - "TCPDF", - "barcodes", - "datamatrix", - "pdf", - "pdf417", - "qrcode" - ], - "support": { - "issues": "https://github.com/tecnickcom/TCPDF/issues", - "source": "https://github.com/tecnickcom/TCPDF/tree/6.11.2" - }, - "funding": [ - { - "url": "https://www.paypal.com/donate/?hosted_button_id=NZUEC5XS8MFBJ", - "type": "custom" - } - ], - "time": "2026-03-03T08:58:10+00:00" } ], "packages-dev": [ diff --git a/src/admin/components/FormField.jsx b/src/admin/components/FormField.jsx index 59597bf..9d8c6eb 100644 --- a/src/admin/components/FormField.jsx +++ b/src/admin/components/FormField.jsx @@ -6,13 +6,14 @@ * @param {string} [error] - Chybova zprava (zobrazi se pod inputem) * @param {boolean} [required] - Zobrazi cervenu hvezdicku * @param {string} [className] - Extra CSS trida na wrapperu + * @param {object} [style] - Inline styly na wrapperu * @param {React.ReactNode} children - Input/select/textarea element */ -export default function FormField({ label, error, required, className, children }) { +export default function FormField({ label, error, required, className, style, children }) { const groupClass = `admin-form-group${error ? ' has-error' : ''}${className ? ` ${className}` : ''}` return ( -