diff --git a/app/Enums/Examples/Ui/Avatar.php b/app/Enums/Examples/Ui/Avatar.php index 2175aa2c..af664644 100644 --- a/app/Enums/Examples/Ui/Avatar.php +++ b/app/Enums/Examples/Ui/Avatar.php @@ -48,20 +48,19 @@ class Avatar HTML; public const MODELABLE = <<<'HTML' - + HTML; public const MODELABLE_CUSTOMIZED = <<<'HTML' - + HTML; public const MODELABLE_CUSTOMIZED_COLORS = <<<'HTML' - - + HTML; public const PLACEHOLDER = <<<'HTML' diff --git a/composer.lock b/composer.lock index feb19aed..c6bc746c 100644 --- a/composer.lock +++ b/composer.lock @@ -1824,16 +1824,16 @@ }, { "name": "league/mime-type-detection", - "version": "1.13.0", + "version": "1.14.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96" + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/a6dfb1194a2946fcdc1f38219445234f65b35c96", - "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e", + "reference": "b6a5854368533df0295c5761a0253656a2e52d9e", "shasum": "" }, "require": { @@ -1864,7 +1864,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.13.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0" }, "funding": [ { @@ -1876,20 +1876,20 @@ "type": "tidelift" } ], - "time": "2023-08-05T12:09:49+00:00" + "time": "2023-10-17T14:13:20+00:00" }, { "name": "livewire/livewire", - "version": "v3.0.8", + "version": "v3.0.9", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "6f62019a0e821894f701ca463210c01d7369c929" + "reference": "53db28bcf433e63b7ce6346244091a33adcd9f2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/6f62019a0e821894f701ca463210c01d7369c929", - "reference": "6f62019a0e821894f701ca463210c01d7369c929", + "url": "https://api.github.com/repos/livewire/livewire/zipball/53db28bcf433e63b7ce6346244091a33adcd9f2f", + "reference": "53db28bcf433e63b7ce6346244091a33adcd9f2f", "shasum": "" }, "require": { @@ -1942,7 +1942,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.0.8" + "source": "https://github.com/livewire/livewire/tree/v3.0.9" }, "funding": [ { @@ -1950,7 +1950,7 @@ "type": "github" } ], - "time": "2023-10-10T20:44:46+00:00" + "time": "2023-10-17T16:42:14+00:00" }, { "name": "livewire/volt", @@ -5566,16 +5566,16 @@ }, { "name": "tallstackui/tallstackui", - "version": "v0.6.3", + "version": "v0.6.6", "source": { "type": "git", "url": "https://github.com/tallstackui/tallstackui.git", - "reference": "bd256b5d2b9407cc27a94c29bb1a1ff8ee182cf2" + "reference": "e907ded5c173b17b41349906edbc56d28e8515b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tallstackui/tallstackui/zipball/bd256b5d2b9407cc27a94c29bb1a1ff8ee182cf2", - "reference": "bd256b5d2b9407cc27a94c29bb1a1ff8ee182cf2", + "url": "https://api.github.com/repos/tallstackui/tallstackui/zipball/e907ded5c173b17b41349906edbc56d28e8515b8", + "reference": "e907ded5c173b17b41349906edbc56d28e8515b8", "shasum": "" }, "require": { @@ -5621,9 +5621,9 @@ "description": "A curated list of TallStack UI Components", "support": { "issues": "https://github.com/tallstackui/tallstackui/issues", - "source": "https://github.com/tallstackui/tallstackui/tree/v0.6.3" + "source": "https://github.com/tallstackui/tallstackui/tree/v0.6.6" }, - "time": "2023-10-16T16:28:54+00:00" + "time": "2023-10-17T19:40:34+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -6786,24 +6786,24 @@ }, { "name": "pestphp/pest", - "version": "v2.23.2", + "version": "v2.24.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "b126e8e6e4afd6562e80c5dafcc2a973f17a09b3" + "reference": "811ef27ee4741661f70f629a10e31269d2e2895a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/b126e8e6e4afd6562e80c5dafcc2a973f17a09b3", - "reference": "b126e8e6e4afd6562e80c5dafcc2a973f17a09b3", + "url": "https://api.github.com/repos/pestphp/pest/zipball/811ef27ee4741661f70f629a10e31269d2e2895a", + "reference": "811ef27ee4741661f70f629a10e31269d2e2895a", "shasum": "" }, "require": { "brianium/paratest": "^7.3.0", - "nunomaduro/collision": "^7.9.0|^8.0.0", + "nunomaduro/collision": "^7.10.0|^8.0.0", "nunomaduro/termwind": "^1.15.1|^2.0.0", "pestphp/pest-plugin": "^2.1.1", - "pestphp/pest-plugin-arch": "^2.4.0", + "pestphp/pest-plugin-arch": "^2.4.1", "php": "^8.1.0", "phpunit/phpunit": "^10.4.1" }, @@ -6873,7 +6873,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v2.23.2" + "source": "https://github.com/pestphp/pest/tree/v2.24.0" }, "funding": [ { @@ -6885,7 +6885,7 @@ "type": "github" } ], - "time": "2023-10-10T15:40:34+00:00" + "time": "2023-10-17T09:07:18+00:00" }, { "name": "pestphp/pest-plugin", @@ -7491,16 +7491,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.38", + "version": "1.10.39", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691" + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5302bb402c57f00fb3c2c015bac86e0827e4b691", - "reference": "5302bb402c57f00fb3c2c015bac86e0827e4b691", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d9dedb0413f678b4d03cbc2279a48f91592c97c4", + "reference": "d9dedb0413f678b4d03cbc2279a48f91592c97c4", "shasum": "" }, "require": { @@ -7549,7 +7549,7 @@ "type": "tidelift" } ], - "time": "2023-10-06T14:19:14+00:00" + "time": "2023-10-17T15:46:26+00:00" }, { "name": "phpunit/php-code-coverage", @@ -8952,35 +8952,35 @@ }, { "name": "spatie/flare-client-php", - "version": "1.4.2", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/spatie/flare-client-php.git", - "reference": "5f2c6a7a0d2c1d90c12559dc7828fd942911a544" + "reference": "5db2fdd743c3ede33f2a5367d89ec1a7c9c1d1ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/5f2c6a7a0d2c1d90c12559dc7828fd942911a544", - "reference": "5f2c6a7a0d2c1d90c12559dc7828fd942911a544", + "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/5db2fdd743c3ede33f2a5367d89ec1a7c9c1d1ec", + "reference": "5db2fdd743c3ede33f2a5367d89ec1a7c9c1d1ec", "shasum": "" }, "require": { - "illuminate/pipeline": "^8.0|^9.0|^10.0", + "illuminate/pipeline": "^8.0|^9.0|^10.0|^11.0", "nesbot/carbon": "^2.62.1", "php": "^8.0", "spatie/backtrace": "^1.5.2", - "symfony/http-foundation": "^5.0|^6.0", - "symfony/mime": "^5.2|^6.0", - "symfony/process": "^5.2|^6.0", - "symfony/var-dumper": "^5.2|^6.0" + "symfony/http-foundation": "^5.2|^6.0|^7.0", + "symfony/mime": "^5.2|^6.0|^7.0", + "symfony/process": "^5.2|^6.0|^7.0", + "symfony/var-dumper": "^5.2|^6.0|^7.0" }, "require-dev": { - "dms/phpunit-arraysubset-asserts": "^0.3.0", - "pestphp/pest": "^1.20", + "dms/phpunit-arraysubset-asserts": "^0.5.0", + "pestphp/pest": "^1.20|^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", - "spatie/phpunit-snapshot-assertions": "^4.0" + "spatie/phpunit-snapshot-assertions": "^4.0|^5.0" }, "type": "library", "extra": { @@ -9010,7 +9010,7 @@ ], "support": { "issues": "https://github.com/spatie/flare-client-php/issues", - "source": "https://github.com/spatie/flare-client-php/tree/1.4.2" + "source": "https://github.com/spatie/flare-client-php/tree/1.4.3" }, "funding": [ { @@ -9018,7 +9018,7 @@ "type": "github" } ], - "time": "2023-07-28T08:07:24+00:00" + "time": "2023-10-17T15:54:07+00:00" }, { "name": "spatie/ignition", diff --git a/config/tallstackui.php b/config/tallstackui.php index ac03cc9a..bf48f603 100644 --- a/config/tallstackui.php +++ b/config/tallstackui.php @@ -14,7 +14,7 @@ /* |-------------------------------------------------------------------------- - | Components Settings + | Component Settings |-------------------------------------------------------------------------- | | General components settings. @@ -45,15 +45,14 @@ /* |-------------------------------------------------------------------------- - | Components List + | Component List |-------------------------------------------------------------------------- | | List of all TallStackUi components. */ 'components' => [ 'alert' => Components\Alert::class, - 'avatar' => Components\Avatar\Avatar::class, - 'avatar.modelable' => Components\Avatar\Modelable::class, + 'avatar' => Components\Avatar::class, 'badge' => Components\Badge::class, 'button' => Components\Button\Button::class, 'button.circle' => Components\Button\Circle::class, diff --git a/resources/views/documentation/ui/avatar.blade.php b/resources/views/documentation/ui/avatar.blade.php index 7f024c0a..ac39f4f4 100644 --- a/resources/views/documentation/ui/avatar.blade.php +++ b/resources/views/documentation/ui/avatar.blade.php @@ -70,19 +70,19 @@ description="An option to generate a UI Avatar from a model based on name property." language="blade" :contents="$modelable"> - + - + - +