diff --git a/CHANGELOG.md b/CHANGELOG.md index 88dfcd3..ab524ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ +## [1.0.15](https://github.com/justdlabs/inertia.ts/compare/1.0.14...1.0.15) (2024-09-01) + ## [1.0.14](https://github.com/justdlabs/inertia.ts/compare/1.0.13...1.0.14) (2024-08-22) ## [1.0.13](https://github.com/justdlabs/inertia.ts/compare/1.0.12...1.0.13) (2024-08-13) diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..917f90f Binary files /dev/null and b/bun.lockb differ diff --git a/composer.json b/composer.json index 1c3f78c..3ac4643 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "justd/laravel", - "version": "1.0.14", + "version": "1.0.15", "type": "project", "description": "The skeleton application for the Laravel framework.", "keywords": [ diff --git a/composer.lock b/composer.lock index b71a62c..fa5532c 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": "ed969f81e360814a330f628d7c6b0d88", + "content-hash": "b8d62025a7f974953195259bb09e0846", "packages": [ { "name": "amphp/amp", @@ -3613,16 +3613,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.29.1", + "version": "1.30.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4" + "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fcaefacf2d5c417e928405b71b400d4ce10daaf4", - "reference": "fcaefacf2d5c417e928405b71b400d4ce10daaf4", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/5ceb0e384997db59f38774bf79c2a6134252c08f", + "reference": "5ceb0e384997db59f38774bf79c2a6134252c08f", "shasum": "" }, "require": { @@ -3650,9 +3650,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.29.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.30.0" }, - "time": "2024-05-31T08:52:43+00:00" + "time": "2024-08-29T09:54:52+00:00" }, { "name": "psr/clock", @@ -4339,16 +4339,16 @@ }, { "name": "spatie/laravel-data", - "version": "4.8.1", + "version": "4.8.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-data.git", - "reference": "597961b02b2f7722246f21dad432bf24c2abb9d6" + "reference": "1732519693ac738cbc9cb21fdd00446c7a6a46e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-data/zipball/597961b02b2f7722246f21dad432bf24c2abb9d6", - "reference": "597961b02b2f7722246f21dad432bf24c2abb9d6", + "url": "https://api.github.com/repos/spatie/laravel-data/zipball/1732519693ac738cbc9cb21fdd00446c7a6a46e6", + "reference": "1732519693ac738cbc9cb21fdd00446c7a6a46e6", "shasum": "" }, "require": { @@ -4403,7 +4403,7 @@ "keywords": ["laravel", "laravel-data", "spatie"], "support": { "issues": "https://github.com/spatie/laravel-data/issues", - "source": "https://github.com/spatie/laravel-data/tree/4.8.1" + "source": "https://github.com/spatie/laravel-data/tree/4.8.2" }, "funding": [ { @@ -4411,20 +4411,20 @@ "type": "github" } ], - "time": "2024-08-13T13:53:42+00:00" + "time": "2024-08-30T13:53:18+00:00" }, { "name": "spatie/laravel-package-tools", - "version": "1.16.4", + "version": "1.16.5", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53" + "reference": "c7413972cf22ffdff97b68499c22baa04eddb6a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53", - "reference": "ddf678e78d7f8b17e5cdd99c0c3413a4a6592e53", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/c7413972cf22ffdff97b68499c22baa04eddb6a2", + "reference": "c7413972cf22ffdff97b68499c22baa04eddb6a2", "shasum": "" }, "require": { @@ -4458,7 +4458,7 @@ "keywords": ["laravel-package-tools", "spatie"], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.4" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.5" }, "funding": [ { @@ -4466,7 +4466,7 @@ "type": "github" } ], - "time": "2024-03-20T07:29:11+00:00" + "time": "2024-08-27T18:56:10+00:00" }, { "name": "spatie/laravel-typescript-transformer", @@ -4544,16 +4544,16 @@ }, { "name": "spatie/php-structure-discoverer", - "version": "2.1.2", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/spatie/php-structure-discoverer.git", - "reference": "0bfebf609b2047360cdca102d2c08fb78b393927" + "reference": "271542206169d95dd2ffe346ddf11f37672553a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/php-structure-discoverer/zipball/0bfebf609b2047360cdca102d2c08fb78b393927", - "reference": "0bfebf609b2047360cdca102d2c08fb78b393927", + "url": "https://api.github.com/repos/spatie/php-structure-discoverer/zipball/271542206169d95dd2ffe346ddf11f37672553a2", + "reference": "271542206169d95dd2ffe346ddf11f37672553a2", "shasum": "" }, "require": { @@ -4603,7 +4603,7 @@ "keywords": ["discover", "laravel", "php", "php-structure-discoverer"], "support": { "issues": "https://github.com/spatie/php-structure-discoverer/issues", - "source": "https://github.com/spatie/php-structure-discoverer/tree/2.1.2" + "source": "https://github.com/spatie/php-structure-discoverer/tree/2.2.0" }, "funding": [ { @@ -4611,7 +4611,7 @@ "type": "github" } ], - "time": "2024-08-13T15:00:59+00:00" + "time": "2024-08-29T10:43:45+00:00" }, { "name": "spatie/typescript-transformer", @@ -4746,16 +4746,16 @@ }, { "name": "symfony/console", - "version": "v7.1.3", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "cb1dcb30ebc7005c29864ee78adb47b5fb7c3cd9" + "reference": "1eed7af6961d763e7832e874d7f9b21c3ea9c111" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/cb1dcb30ebc7005c29864ee78adb47b5fb7c3cd9", - "reference": "cb1dcb30ebc7005c29864ee78adb47b5fb7c3cd9", + "url": "https://api.github.com/repos/symfony/console/zipball/1eed7af6961d763e7832e874d7f9b21c3ea9c111", + "reference": "1eed7af6961d763e7832e874d7f9b21c3ea9c111", "shasum": "" }, "require": { @@ -4810,7 +4810,7 @@ "homepage": "https://symfony.com", "keywords": ["cli", "command-line", "console", "terminal"], "support": { - "source": "https://github.com/symfony/console/tree/v7.1.3" + "source": "https://github.com/symfony/console/tree/v7.1.4" }, "funding": [ { @@ -4826,7 +4826,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:41:01+00:00" + "time": "2024-08-15T22:48:53+00:00" }, { "name": "symfony/css-selector", @@ -5166,16 +5166,16 @@ }, { "name": "symfony/finder", - "version": "v7.1.3", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "717c6329886f32dc65e27461f80f2a465412fdca" + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/717c6329886f32dc65e27461f80f2a465412fdca", - "reference": "717c6329886f32dc65e27461f80f2a465412fdca", + "url": "https://api.github.com/repos/symfony/finder/zipball/d95bbf319f7d052082fb7af147e0f835a695e823", + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823", "shasum": "" }, "require": { @@ -5206,7 +5206,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.1.3" + "source": "https://github.com/symfony/finder/tree/v7.1.4" }, "funding": [ { @@ -5222,7 +5222,7 @@ "type": "tidelift" } ], - "time": "2024-07-24T07:08:44+00:00" + "time": "2024-08-13T14:28:19+00:00" }, { "name": "symfony/http-foundation", @@ -5299,16 +5299,16 @@ }, { "name": "symfony/http-kernel", - "version": "v7.1.3", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "db9702f3a04cc471ec8c70e881825db26ac5f186" + "reference": "6efcbd1b3f444f631c386504fc83eeca25963747" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/db9702f3a04cc471ec8c70e881825db26ac5f186", - "reference": "db9702f3a04cc471ec8c70e881825db26ac5f186", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/6efcbd1b3f444f631c386504fc83eeca25963747", + "reference": "6efcbd1b3f444f631c386504fc83eeca25963747", "shasum": "" }, "require": { @@ -5389,7 +5389,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v7.1.3" + "source": "https://github.com/symfony/http-kernel/tree/v7.1.4" }, "funding": [ { @@ -5405,7 +5405,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T14:58:15+00:00" + "time": "2024-08-30T17:02:28+00:00" }, { "name": "symfony/mailer", @@ -5485,16 +5485,16 @@ }, { "name": "symfony/mime", - "version": "v7.1.2", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "26a00b85477e69a4bab63b66c5dce64f18b0cbfc" + "reference": "ccaa6c2503db867f472a587291e764d6a1e58758" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/26a00b85477e69a4bab63b66c5dce64f18b0cbfc", - "reference": "26a00b85477e69a4bab63b66c5dce64f18b0cbfc", + "url": "https://api.github.com/repos/symfony/mime/zipball/ccaa6c2503db867f472a587291e764d6a1e58758", + "reference": "ccaa6c2503db867f472a587291e764d6a1e58758", "shasum": "" }, "require": { @@ -5542,7 +5542,7 @@ "homepage": "https://symfony.com", "keywords": ["mime", "mime-type"], "support": { - "source": "https://github.com/symfony/mime/tree/v7.1.2" + "source": "https://github.com/symfony/mime/tree/v7.1.4" }, "funding": [ { @@ -5558,7 +5558,7 @@ "type": "tidelift" } ], - "time": "2024-06-28T10:03:55+00:00" + "time": "2024-08-13T14:28:19+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6235,16 +6235,16 @@ }, { "name": "symfony/routing", - "version": "v7.1.3", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "8a908a3f22d5a1b5d297578c2ceb41b02fa916d0" + "reference": "1500aee0094a3ce1c92626ed8cf3c2037e86f5a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/8a908a3f22d5a1b5d297578c2ceb41b02fa916d0", - "reference": "8a908a3f22d5a1b5d297578c2ceb41b02fa916d0", + "url": "https://api.github.com/repos/symfony/routing/zipball/1500aee0094a3ce1c92626ed8cf3c2037e86f5a7", + "reference": "1500aee0094a3ce1c92626ed8cf3c2037e86f5a7", "shasum": "" }, "require": { @@ -6287,7 +6287,7 @@ "homepage": "https://symfony.com", "keywords": ["router", "routing", "uri", "url"], "support": { - "source": "https://github.com/symfony/routing/tree/v7.1.3" + "source": "https://github.com/symfony/routing/tree/v7.1.4" }, "funding": [ { @@ -6303,7 +6303,7 @@ "type": "tidelift" } ], - "time": "2024-07-17T06:10:24+00:00" + "time": "2024-08-29T08:16:25+00:00" }, { "name": "symfony/service-contracts", @@ -6379,16 +6379,16 @@ }, { "name": "symfony/string", - "version": "v7.1.3", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "ea272a882be7f20cad58d5d78c215001617b7f07" + "reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/ea272a882be7f20cad58d5d78c215001617b7f07", - "reference": "ea272a882be7f20cad58d5d78c215001617b7f07", + "url": "https://api.github.com/repos/symfony/string/zipball/6cd670a6d968eaeb1c77c2e76091c45c56bc367b", + "reference": "6cd670a6d968eaeb1c77c2e76091c45c56bc367b", "shasum": "" }, "require": { @@ -6433,7 +6433,7 @@ "homepage": "https://symfony.com", "keywords": ["grapheme", "i18n", "string", "unicode", "utf-8", "utf8"], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.3" + "source": "https://github.com/symfony/string/tree/v7.1.4" }, "funding": [ { @@ -6449,7 +6449,7 @@ "type": "tidelift" } ], - "time": "2024-07-22T10:25:37+00:00" + "time": "2024-08-12T09:59:40+00:00" }, { "name": "symfony/translation", @@ -6608,16 +6608,16 @@ }, { "name": "symfony/uid", - "version": "v7.1.1", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "bb59febeecc81528ff672fad5dab7f06db8c8277" + "reference": "82177535395109075cdb45a70533aa3d7a521cdf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/bb59febeecc81528ff672fad5dab7f06db8c8277", - "reference": "bb59febeecc81528ff672fad5dab7f06db8c8277", + "url": "https://api.github.com/repos/symfony/uid/zipball/82177535395109075cdb45a70533aa3d7a521cdf", + "reference": "82177535395109075cdb45a70533aa3d7a521cdf", "shasum": "" }, "require": { @@ -6654,7 +6654,7 @@ "homepage": "https://symfony.com", "keywords": ["UID", "ulid", "uuid"], "support": { - "source": "https://github.com/symfony/uid/tree/v7.1.1" + "source": "https://github.com/symfony/uid/tree/v7.1.4" }, "funding": [ { @@ -6670,20 +6670,20 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-08-12T09:59:40+00:00" }, { "name": "symfony/var-dumper", - "version": "v7.1.3", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "86af4617cca75a6e28598f49ae0690f3b9d4591f" + "reference": "a5fa7481b199090964d6fd5dab6294d5a870c7aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/86af4617cca75a6e28598f49ae0690f3b9d4591f", - "reference": "86af4617cca75a6e28598f49ae0690f3b9d4591f", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/a5fa7481b199090964d6fd5dab6294d5a870c7aa", + "reference": "a5fa7481b199090964d6fd5dab6294d5a870c7aa", "shasum": "" }, "require": { @@ -6726,7 +6726,7 @@ "homepage": "https://symfony.com", "keywords": ["debug", "dump"], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.1.3" + "source": "https://github.com/symfony/var-dumper/tree/v7.1.4" }, "funding": [ { @@ -6742,7 +6742,7 @@ "type": "tidelift" } ], - "time": "2024-07-26T12:41:01+00:00" + "time": "2024-08-30T16:12:47+00:00" }, { "name": "tightenco/duster", @@ -7256,16 +7256,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42" + "reference": "8520451a140d3f46ac33042715115e290cf5785f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f", + "reference": "8520451a140d3f46ac33042715115e290cf5785f", "shasum": "" }, "require": { @@ -7300,7 +7300,7 @@ "keywords": ["CPU", "core"], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0" }, "funding": [ { @@ -7308,7 +7308,7 @@ "type": "github" } ], - "time": "2024-02-07T09:43:46+00:00" + "time": "2024-08-06T10:04:20+00:00" }, { "name": "filp/whoops", @@ -8174,32 +8174,32 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.1.15", + "version": "10.1.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae" + "reference": "7e308268858ed6baedc8704a304727d20bc07c77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae", - "reference": "5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7e308268858ed6baedc8704a304727d20bc07c77", + "reference": "7e308268858ed6baedc8704a304727d20bc07c77", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.18 || ^5.0", + "nikic/php-parser": "^4.19.1 || ^5.1.0", "php": ">=8.1", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-text-template": "^3.0", - "sebastian/code-unit-reverse-lookup": "^3.0", - "sebastian/complexity": "^3.0", - "sebastian/environment": "^6.0", - "sebastian/lines-of-code": "^2.0", - "sebastian/version": "^4.0", - "theseer/tokenizer": "^1.2.0" + "phpunit/php-file-iterator": "^4.1.0", + "phpunit/php-text-template": "^3.0.1", + "sebastian/code-unit-reverse-lookup": "^3.0.0", + "sebastian/complexity": "^3.2.0", + "sebastian/environment": "^6.1.0", + "sebastian/lines-of-code": "^2.0.2", + "sebastian/version": "^4.0.1", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { "phpunit/phpunit": "^10.1" @@ -8211,7 +8211,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-main": "10.1.x-dev" } }, "autoload": { @@ -8232,7 +8232,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.15" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.16" }, "funding": [ { @@ -8240,7 +8240,7 @@ "type": "github" } ], - "time": "2024-06-29T08:25:15+00:00" + "time": "2024-08-22T04:31:57+00:00" }, { "name": "phpunit/php-file-iterator", @@ -9389,16 +9389,16 @@ }, { "name": "symfony/yaml", - "version": "v7.1.1", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "fa34c77015aa6720469db7003567b9f772492bf2" + "reference": "92e080b851c1c655c786a2da77f188f2dccd0f4b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/fa34c77015aa6720469db7003567b9f772492bf2", - "reference": "fa34c77015aa6720469db7003567b9f772492bf2", + "url": "https://api.github.com/repos/symfony/yaml/zipball/92e080b851c1c655c786a2da77f188f2dccd0f4b", + "reference": "92e080b851c1c655c786a2da77f188f2dccd0f4b", "shasum": "" }, "require": { @@ -9434,7 +9434,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v7.1.1" + "source": "https://github.com/symfony/yaml/tree/v7.1.4" }, "funding": [ { @@ -9450,7 +9450,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-08-12T09:59:40+00:00" }, { "name": "ta-tikoma/phpunit-architecture-test", diff --git a/package-lock.json b/package-lock.json index ffcf198..f3c47d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "inertia.ts", - "version": "1.0.14", + "version": "1.0.15", "lockfileVersion": 3, "requires": true, "packages": { "": { - "version": "1.0.14", + "version": "1.0.15", "dependencies": { "clsx": "^2.1.1", "framer-motion": "^11.3.29", diff --git a/package.json b/package.json index 4a05706..f2784bf 100644 --- a/package.json +++ b/package.json @@ -9,21 +9,21 @@ "preview": "tsc && npm run build && php artisan inertia:start-ssr" }, "devDependencies": { - "@commitlint/cli": "^19.4.0", - "@commitlint/config-conventional": "^19.2.2", + "@commitlint/cli": "^19.4.1", + "@commitlint/config-conventional": "^19.4.1", "@inertiajs/react": "^1.2.0", "@release-it/bumper": "^6.0.1", "@release-it/conventional-changelog": "^8.0.1", - "@tailwindcss/forms": "^0.5.7", - "@types/node": "^18.19.45", - "@types/react": "^18.3.4", + "@tailwindcss/forms": "^0.5.8", + "@types/node": "^18.19.47", + "@types/react": "^18.3.5", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.1", "autoprefixer": "^10.4.20", - "axios": "^1.7.4", + "axios": "^1.7.7", "husky": "^9.1.5", "laravel-vite-plugin": "^1.0.5", - "postcss": "^8.4.41", + "postcss": "^8.4.42", "prettier": "^3.3.3", "prettier-plugin-organize-imports": "^4.0.0", "prettier-plugin-tailwindcss": "^0.6.6", @@ -37,8 +37,8 @@ }, "dependencies": { "clsx": "^2.1.1", - "framer-motion": "^11.3.29", - "justd-icons": "^1.4.39", + "framer-motion": "^11.3.31", + "justd-icons": "^1.4.44", "react-aria-components": "^1.3.3", "sonner": "^1.5.0", "tailwind-merge": "^2.5.2", @@ -80,5 +80,5 @@ } } }, - "version": "1.0.14" + "version": "1.0.15" } diff --git a/resources/js/components/ui/avatar.tsx b/resources/js/components/ui/avatar.tsx index 698398b..0366b93 100644 --- a/resources/js/components/ui/avatar.tsx +++ b/resources/js/components/ui/avatar.tsx @@ -23,6 +23,7 @@ const avatarStyles = tv({ ], variants: { size: { + 'extra-small': 'size-5', small: 'size-6', medium: 'size-8', large: 'size-10' @@ -109,6 +110,7 @@ const avatarBadgeStyles = tv({ base: ['size-3 z-1 absolute bottom-0 right-0 z-10 rounded-full ring-[1.5px] ring-bg bg-bg'], variants: { size: { + 'extra-small': 'size-[0.360rem] translate-x-[0%] translate-y-[0%]', small: 'size-1.5 translate-x-[0%] translate-y-[0%]', medium: 'size-2 translate-x-[5%] translate-y-[5%]', large: 'size-2.5 translate-x-[5%] translate-y-[5%]' diff --git a/resources/js/components/ui/card.tsx b/resources/js/components/ui/card.tsx index e988c90..6980d14 100644 --- a/resources/js/components/ui/card.tsx +++ b/resources/js/components/ui/card.tsx @@ -1,10 +1,10 @@ import * as React from 'react' import type { HeadingProps, TextProps } from 'react-aria-components' -import { Heading } from 'react-aria-components' +import { Heading, Text } from 'react-aria-components' import { tv } from 'tailwind-variants' -import { Description } from './field' +import { cn } from './primitive' const card = tv({ slots: { @@ -26,39 +26,40 @@ const Card = ({ className, ...props }: React.HTMLAttributes) => return
} -interface CardHeaderProps extends React.HTMLAttributes { +interface HeaderProps extends React.HTMLAttributes { title?: string description?: string + withoutPadding?: boolean } -const CardHeader = ({ className, title, description, children, ...props }: CardHeaderProps) => ( -
- {title && {title}} - {description && {description}} - {!title && typeof children === 'string' ? {children} : children} +const Header = ({ withoutPadding = false, className, title, description, children, ...props }: HeaderProps) => ( +
+ {title && {title}} + {description && {description}} + {!title && typeof children === 'string' ? {children} : children}
) -const CardTitle = ({ className, ...props }: HeadingProps) => { +const Title = ({ className, ...props }: HeadingProps) => { return } -const CardDescription = (props: TextProps) => { - return +const Description = ({ className, ...props }: TextProps) => { + return } -const CardContent = ({ className, ...props }: React.HTMLAttributes) => { +const Content = ({ className, ...props }: React.HTMLAttributes) => { return
} -const CardFooter = ({ className, ...props }: React.HTMLAttributes) => { +const Footer = ({ className, ...props }: React.HTMLAttributes) => { return
} -Card.Content = CardContent -Card.Description = CardDescription -Card.Footer = CardFooter -Card.Header = CardHeader -Card.Title = CardTitle +Card.Content = Content +Card.Description = Description +Card.Footer = Footer +Card.Header = Header +Card.Title = Title export { Card } diff --git a/resources/js/components/ui/dialog.tsx b/resources/js/components/ui/dialog.tsx index e89a36b..39be6a1 100644 --- a/resources/js/components/ui/dialog.tsx +++ b/resources/js/components/ui/dialog.tsx @@ -39,7 +39,7 @@ const Dialog = ({ role, className, ...props }: DialogPrimitiveProps) => { return } -interface DialogHeaderProps extends React.HTMLAttributes { +type DialogHeaderProps = React.HTMLAttributes & { title?: string description?: string } @@ -72,7 +72,7 @@ const Header = ({ className, ...props }: DialogHeaderProps) => { ) } -interface DialogTitleProps extends HeadingProps { +type DialogTitleProps = HeadingProps & { className?: string } diff --git a/resources/js/components/ui/dropdown.tsx b/resources/js/components/ui/dropdown.tsx index 4a2216d..1cde33f 100644 --- a/resources/js/components/ui/dropdown.tsx +++ b/resources/js/components/ui/dropdown.tsx @@ -16,11 +16,11 @@ import { cn, cr } from './primitive' const dropdownItemStyles = tv({ base: [ 'group flex cursor-default select-none items-center gap-x-1.5 rounded-[calc(var(--radius)-1px)] py-2 pl-2.5 relative pr-1.5 text-base outline outline-0 forced-color-adjust-none lg:text-sm', - '[&_[data-slot=avatar]]:-mr-0.5 [&_[data-slot=avatar]]:size-6 sm:[&_[data-slot=avatar]]:size-5', - '[&>[data-slot=icon]]:size-4 [&>[data-slot=icon]]:shrink-0', 'has-submenu:open:data-[danger=true]:bg-danger/20 has-submenu:open:data-[danger=true]:text-danger', - 'has-submenu:open:bg-accent has-submenu:open:text-accent-fg', - 'forced-colors:[&>[data-slot=icon]]:text-[CanvasText] forced-colors:[&>[data-slot=icon]]:group-data-[focus]/option:text-[Canvas]' + 'has-submenu:open:bg-accent has-submenu:open:text-accent-fg [&[data-has-submenu][data-open]>[data-slot=icon]]:text-accent-fg', + '[&_[data-slot=avatar]]:-mr-0.5 [&_[data-slot=avatar]]:size-6 sm:[&_[data-slot=avatar]]:size-5', + '[&>[data-slot=icon]]:size-4 [&>[data-slot=icon]]:shrink-0 [&>[data-slot=icon]]:text-muted-fg [&[data-hovered]>[data-slot=icon]]:text-accent-fg [&[data-focused]>[data-slot=icon]]:text-accent-fg [&[data-danger]>[data-slot=icon]]:text-danger/60', + 'forced-colors:[&>[data-slot=icon]]:text-[CanvasText] forced-colors:[&>[data-slot=icon]]:group-data-[focus]:text-[Canvas] ' ], variants: { isDisabled: { @@ -45,10 +45,6 @@ const dropdownItemStyles = tv({ ] }) -interface DropdownSectionProps extends SectionProps { - title?: string -} - const dropdownSectionStyles = tv({ slots: { section: "first:-mt-[5px] xss3 flex flex-col gap-y-0.5 after:content-[''] after:block after:h-[5px]", @@ -58,6 +54,10 @@ const dropdownSectionStyles = tv({ const { section, header } = dropdownSectionStyles() +interface DropdownSectionProps extends SectionProps { + title?: string +} + const DropdownSection = ({ className, ...props }: DropdownSectionProps) => { return (
diff --git a/resources/js/components/ui/field.tsx b/resources/js/components/ui/field.tsx index a97c886..be8d993 100644 --- a/resources/js/components/ui/field.tsx +++ b/resources/js/components/ui/field.tsx @@ -1,5 +1,3 @@ -'use client' - import * as React from 'react' import { diff --git a/resources/js/components/ui/form.tsx b/resources/js/components/ui/form.tsx index 0de3e3e..2f53731 100644 --- a/resources/js/components/ui/form.tsx +++ b/resources/js/components/ui/form.tsx @@ -1,10 +1,8 @@ -import type { FormProps as FormPrimitiveProps } from 'react-aria-components' +import type { FormProps } from 'react-aria-components' import { Form as FormPrimitive } from 'react-aria-components' -interface FormProps extends FormPrimitiveProps {} - const Form = (props: FormProps) => { return } -export { Form, type FormProps } +export { Form } diff --git a/resources/js/components/ui/list-box.tsx b/resources/js/components/ui/list-box.tsx index 38f17e8..3abc152 100644 --- a/resources/js/components/ui/list-box.tsx +++ b/resources/js/components/ui/list-box.tsx @@ -27,10 +27,14 @@ const ListBox = ({ children, className, ...props }: ListBoxPro ) const listBoxItemStyles = tv({ - base: 'lbi cursor-pointer relative rounded-[calc(var(--radius)-1px)] p-2 text-base outline-none transition lg:text-sm', + base: 'lbi cursor-pointer relative rounded-[calc(var(--radius)-1px)] p-2 text-base outline-none lg:text-sm', variants: { - isFocusVisible: { true: 'bg-secondary text-secondary-fg' }, - isHovered: { true: 'bg-accent text-accent-fg' }, + isFocusVisible: { + true: 'bg-secondary [&:focus-visible_[slot=label]]:text-accent-fg [&:focus-visible_[slot=description]]:text-accent-fg/70 text-secondary-fg' + }, + isHovered: { + true: 'bg-accent [&:hover_[slot=label]]:text-accent-fg [&:hover_[slot=description]]:text-accent-fg/70 text-accent-fg [&_.text-muted-fg]:text-accent-fg/80' + }, isFocused: { true: '[&_[data-slot=icon]]:text-accent-fg [&_[data-slot=label]]:text-accent-fg [&_.text-muted-fg]:text-accent-fg/80 bg-accent text-accent-fg' }, @@ -44,7 +48,7 @@ const listBoxItemStyles = tv({ } }) -interface ListBoxItemProps extends ListBoxItemPrimitiveProps { +interface ListBoxItemProps extends ListBoxItemPrimitiveProps { className?: string } @@ -91,7 +95,7 @@ const ListBoxItem = ({ children, className, ...props }: ListBo ) } -interface ListBoxPickerProps extends ListBoxProps {} +type ListBoxPickerProps = ListBoxProps const ListBoxPicker = ({ className, ...props }: ListBoxPickerProps) => { return diff --git a/resources/js/components/ui/menu.tsx b/resources/js/components/ui/menu.tsx index 19f9c6a..89bc133 100644 --- a/resources/js/components/ui/menu.tsx +++ b/resources/js/components/ui/menu.tsx @@ -81,7 +81,6 @@ const Content = ({ className, showArrow = false, popoverClassName, - offset = 4, ...props }: MenuContentProps) => { const { respectScreen } = React.useContext(MenuContext) @@ -126,11 +125,10 @@ const Item = ({ className, isDanger = false, children, ...props }: MenuItemProps } export interface MenuHeaderProps extends React.ComponentProps { - inset?: boolean separator?: boolean } -const MenuHeader = ({ className, inset, separator = false, ...props }: MenuHeaderProps) => ( +const MenuHeader = ({ className, separator = false, ...props }: MenuHeaderProps) => (
{ return {children} } diff --git a/resources/js/components/ui/pagination.tsx b/resources/js/components/ui/pagination.tsx index 5755796..71e8dbf 100644 --- a/resources/js/components/ui/pagination.tsx +++ b/resources/js/components/ui/pagination.tsx @@ -98,7 +98,6 @@ const PaginationItem = ({ size = 'square-petite', appearance = 'outline', intent, - shape = 'square', className, isCurrent, children, diff --git a/resources/js/components/ui/sheet.tsx b/resources/js/components/ui/sheet.tsx index 62724b8..d7b4d56 100644 --- a/resources/js/components/ui/sheet.tsx +++ b/resources/js/components/ui/sheet.tsx @@ -37,17 +37,17 @@ const generateCompoundVariants = (sides: Array) => { isStack: true, className: side === 'top' - ? 'top-2 inset-x-2 rounded-lg border' + ? 'top-2 inset-x-2 rounded-xl ring-1 border-b-0 ring-dark/5 dark:ring-border' : side === 'bottom' - ? 'bottom-2 inset-x-2 rounded-lg border' + ? 'bottom-2 inset-x-2 rounded-xl ring-1 border-t-0 ring-dark/5 dark:ring-border' : side === 'left' - ? 'left-2 inset-y-2 rounded-lg border' - : 'right-2 inset-y-2 rounded-lg border' + ? 'left-2 inset-y-2 rounded-xl ring-1 border-r-0 ring-dark/5 dark:ring-border' + : 'right-2 inset-y-2 rounded-xl ring-1 border-l-0 ring-dark/5 dark:ring-border' })) } const sheetContentStyles = tv({ - base: 'fixed z-50 grid gap-4 bg-overlay text-overlay-fg shadow-lg transition ease-in-out', + base: 'fixed z-50 grid gap-4 bg-overlay border-dark/5 dark:border-border text-overlay-fg shadow-lg transition ease-in-out', variants: { isEntering: { true: 'duration-300 animate-in ' @@ -124,7 +124,7 @@ const SheetContent = ({ )} {...props} > - + {(values) => ( <> {props.children} diff --git a/resources/js/ziggy.js b/resources/js/ziggy.js index 0a81b8a..1bb07f6 100644 --- a/resources/js/ziggy.js +++ b/resources/js/ziggy.js @@ -1,34 +1,5 @@ -const Ziggy = { - url: 'http://inertia.ts.test', - port: null, - defaults: {}, - routes: { - 'sanctum.csrf-cookie': { uri: 'sanctum/csrf-cookie', methods: ['GET', 'HEAD'] }, - home: { uri: '/', methods: ['GET', 'HEAD'] }, - about: { uri: 'about', methods: ['GET', 'HEAD'] }, - dashboard: { uri: 'dashboard', methods: ['GET', 'HEAD'] }, - 'profile.edit': { uri: 'profile', methods: ['GET', 'HEAD'] }, - 'profile.update': { uri: 'profile', methods: ['PATCH'] }, - 'profile.destroy': { uri: 'profile', methods: ['DELETE'] }, - register: { uri: 'register', methods: ['GET', 'HEAD'] }, - login: { uri: 'login', methods: ['GET', 'HEAD'] }, - 'password.request': { uri: 'forgot-password', methods: ['GET', 'HEAD'] }, - 'password.email': { uri: 'forgot-password', methods: ['POST'] }, - 'password.reset': { uri: 'reset-password/{token}', methods: ['GET', 'HEAD'], parameters: ['token'] }, - 'password.store': { uri: 'reset-password', methods: ['POST'] }, - 'verification.notice': { uri: 'verify-email', methods: ['GET', 'HEAD'] }, - 'verification.verify': { - uri: 'verify-email/{id}/{hash}', - methods: ['GET', 'HEAD'], - parameters: ['id', 'hash'] - }, - 'verification.send': { uri: 'email/verification-notification', methods: ['POST'] }, - 'password.confirm': { uri: 'confirm-password', methods: ['GET', 'HEAD'] }, - 'password.update': { uri: 'password', methods: ['PUT'] }, - logout: { uri: 'logout', methods: ['POST'] } - } -} +const Ziggy = {"url":"http:\/\/localhost","port":null,"defaults":{},"routes":{"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"home":{"uri":"\/","methods":["GET","HEAD"]},"about":{"uri":"about","methods":["GET","HEAD"]},"dashboard":{"uri":"dashboard","methods":["GET","HEAD"]},"profile.edit":{"uri":"profile","methods":["GET","HEAD"]},"profile.update":{"uri":"profile","methods":["PATCH"]},"profile.destroy":{"uri":"profile","methods":["DELETE"]},"register":{"uri":"register","methods":["GET","HEAD"]},"login":{"uri":"login","methods":["GET","HEAD"]},"password.request":{"uri":"forgot-password","methods":["GET","HEAD"]},"password.email":{"uri":"forgot-password","methods":["POST"]},"password.reset":{"uri":"reset-password\/{token}","methods":["GET","HEAD"],"parameters":["token"]},"password.store":{"uri":"reset-password","methods":["POST"]},"verification.notice":{"uri":"verify-email","methods":["GET","HEAD"]},"verification.verify":{"uri":"verify-email\/{id}\/{hash}","methods":["GET","HEAD"],"parameters":["id","hash"]},"verification.send":{"uri":"email\/verification-notification","methods":["POST"]},"password.confirm":{"uri":"confirm-password","methods":["GET","HEAD"]},"password.update":{"uri":"password","methods":["PUT"]},"logout":{"uri":"logout","methods":["POST"]}}}; if (typeof window !== 'undefined' && typeof window.Ziggy !== 'undefined') { - Object.assign(Ziggy.routes, window.Ziggy.routes) + Object.assign(Ziggy.routes, window.Ziggy.routes); } -export { Ziggy } +export { Ziggy };