From 70044e7a42f86fcfdda2a3a90426c834c8a9d508 Mon Sep 17 00:00:00 2001 From: AJ Meireles Date: Tue, 2 Jul 2024 11:53:57 -0300 Subject: [PATCH 1/4] adding flat buttons --- app/Enums/Examples/Ui/Button.php | 82 +++- composer.lock | 448 ++++++++++-------- contents/on-this-page.json | 6 +- .../views/documentation/ui/button.blade.php | 248 ++++++---- 4 files changed, 492 insertions(+), 292 deletions(-) diff --git a/app/Enums/Examples/Ui/Button.php b/app/Enums/Examples/Ui/Button.php index 57e25602..9ba7d17b 100644 --- a/app/Enums/Examples/Ui/Button.php +++ b/app/Enums/Examples/Ui/Button.php @@ -39,19 +39,19 @@ class Button HTML; - public const ICONS = <<<'HTML' + public const ICON = <<<'HTML' TallStackUi TallStackUi HTML; - public const SIZES = <<<'HTML' + public const SIZE = <<<'HTML' TallStackUi TallStackUi TallStackUi TallStackUi HTML; - public const LOADINGS = <<<'HTML' + public const LOADING = <<<'HTML' Basic @@ -69,7 +69,7 @@ class Button HTML; - public const COLORS = <<<'HTML' + public const COLOR = <<<'HTML' @@ -98,7 +98,7 @@ class Button HTML; - public const OUTLINES = <<<'HTML' + public const OUTLINE = <<<'HTML' @@ -127,7 +127,7 @@ class Button HTML; - public const LIGHTS = <<<'HTML' + public const LIGHT = <<<'HTML' @@ -156,6 +156,35 @@ class Button HTML; + public const FLAT = <<<'HTML' + + + + + + + + + + + + + + + + + + + + + + + + + + + HTML; + public const CIRCLE = <<<'HTML' TS @@ -168,17 +197,17 @@ class Button TS HTML; - public const CIRCLE_ICONS = <<<'HTML' + public const CIRCLE_ICON = <<<'HTML' HTML; - public const CIRCLE_SIZES = <<<'HTML' + public const CIRCLE_SIZE = <<<'HTML' HTML; - public const CIRCLE_LOADINGS = <<<'HTML' + public const CIRCLE_LOADING = <<<'HTML' @@ -195,7 +224,7 @@ class Button delay="longest" /> HTML; - public const CIRCLE_COLORS = <<<'HTML' + public const CIRCLE_COLOR = <<<'HTML' @@ -224,7 +253,7 @@ class Button HTML; - public const CIRCLE_OUTLINES = <<<'HTML' + public const CIRCLE_OUTLINE = <<<'HTML' @@ -253,7 +282,7 @@ class Button HTML; - public const CIRCLE_LIGHTS = <<<'HTML' + public const CIRCLE_LIGHT = <<<'HTML' @@ -282,6 +311,35 @@ class Button HTML; + public const CIRCLE_FLAT = <<<'HTML' + + + + + + + + + + + + + + + + + + + + + + + + + + + HTML; + public const PERSONALIZATION = <<<'HTML' TallStackUi::personalize() ->button() diff --git a/composer.lock b/composer.lock index f6478918..fa2f17e9 100644 --- a/composer.lock +++ b/composer.lock @@ -1052,16 +1052,16 @@ }, { "name": "laravel/framework", - "version": "v11.12.0", + "version": "v11.13.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8" + "reference": "92deaa4f037ff100e36809443811301819a8cf84" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", - "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", + "url": "https://api.github.com/repos/laravel/framework/zipball/92deaa4f037ff100e36809443811301819a8cf84", + "reference": "92deaa4f037ff100e36809443811301819a8cf84", "shasum": "" }, "require": { @@ -1253,7 +1253,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-06-25T19:33:56+00:00" + "time": "2024-06-27T09:04:50+00:00" }, { "name": "laravel/prompts", @@ -1965,16 +1965,16 @@ }, { "name": "monolog/monolog", - "version": "3.6.0", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654" + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654", - "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8", + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8", "shasum": "" }, "require": { @@ -2050,7 +2050,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.6.0" + "source": "https://github.com/Seldaek/monolog/tree/3.7.0" }, "funding": [ { @@ -2062,7 +2062,7 @@ "type": "tidelift" } ], - "time": "2024-04-12T21:02:21+00:00" + "time": "2024-06-28T09:40:51+00:00" }, { "name": "nesbot/carbon", @@ -2320,16 +2320,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.0.2", + "version": "v5.1.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" + "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", "shasum": "" }, "require": { @@ -2340,7 +2340,7 @@ }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -2372,9 +2372,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" }, - "time": "2024-03-05T20:51:40+00:00" + "time": "2024-07-01T20:03:41+00:00" }, { "name": "nunomaduro/termwind", @@ -3331,16 +3331,16 @@ }, { "name": "symfony/console", - "version": "v7.1.1", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "9b008f2d7b21c74ef4d0c3de6077a642bc55ece3" + "reference": "0aa29ca177f432ab68533432db0de059f39c92ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/9b008f2d7b21c74ef4d0c3de6077a642bc55ece3", - "reference": "9b008f2d7b21c74ef4d0c3de6077a642bc55ece3", + "url": "https://api.github.com/repos/symfony/console/zipball/0aa29ca177f432ab68533432db0de059f39c92ae", + "reference": "0aa29ca177f432ab68533432db0de059f39c92ae", "shasum": "" }, "require": { @@ -3404,7 +3404,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.1.1" + "source": "https://github.com/symfony/console/tree/v7.1.2" }, "funding": [ { @@ -3420,7 +3420,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-06-28T10:03:55+00:00" }, { "name": "symfony/css-selector", @@ -3556,16 +3556,16 @@ }, { "name": "symfony/error-handler", - "version": "v7.1.1", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "e9b8bbce0b4f322939332ab7b6b81d8c11da27dd" + "reference": "2412d3dddb5c9ea51a39cfbff1c565fc9844ca32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/e9b8bbce0b4f322939332ab7b6b81d8c11da27dd", - "reference": "e9b8bbce0b4f322939332ab7b6b81d8c11da27dd", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/2412d3dddb5c9ea51a39cfbff1c565fc9844ca32", + "reference": "2412d3dddb5c9ea51a39cfbff1c565fc9844ca32", "shasum": "" }, "require": { @@ -3611,7 +3611,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v7.1.1" + "source": "https://github.com/symfony/error-handler/tree/v7.1.2" }, "funding": [ { @@ -3627,7 +3627,7 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-06-25T19:55:06+00:00" }, { "name": "symfony/event-dispatcher", @@ -3928,16 +3928,16 @@ }, { "name": "symfony/http-kernel", - "version": "v7.1.1", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "fa8d1c75b5f33b1302afccf81811f93976c6e26f" + "reference": "ae3fa717db4d41a55d14c2bd92399e37cf5bc0f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/fa8d1c75b5f33b1302afccf81811f93976c6e26f", - "reference": "fa8d1c75b5f33b1302afccf81811f93976c6e26f", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/ae3fa717db4d41a55d14c2bd92399e37cf5bc0f6", + "reference": "ae3fa717db4d41a55d14c2bd92399e37cf5bc0f6", "shasum": "" }, "require": { @@ -4022,7 +4022,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.1" + "source": "https://github.com/symfony/http-kernel/tree/v7.1.2" }, "funding": [ { @@ -4038,20 +4038,20 @@ "type": "tidelift" } ], - "time": "2024-06-04T06:52:15+00:00" + "time": "2024-06-28T13:13:31+00:00" }, { "name": "symfony/mailer", - "version": "v7.1.1", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "2eaad2e167cae930f25a3d731fec8b2ded5e751e" + "reference": "8fcff0af9043c8f8a8e229437cea363e282f9aee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/2eaad2e167cae930f25a3d731fec8b2ded5e751e", - "reference": "2eaad2e167cae930f25a3d731fec8b2ded5e751e", + "url": "https://api.github.com/repos/symfony/mailer/zipball/8fcff0af9043c8f8a8e229437cea363e282f9aee", + "reference": "8fcff0af9043c8f8a8e229437cea363e282f9aee", "shasum": "" }, "require": { @@ -4102,7 +4102,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v7.1.1" + "source": "https://github.com/symfony/mailer/tree/v7.1.2" }, "funding": [ { @@ -4118,20 +4118,20 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-06-28T08:00:31+00:00" }, { "name": "symfony/mime", - "version": "v7.1.1", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "21027eaacc1a8a20f5e616c25c3580f5dd3a15df" + "reference": "26a00b85477e69a4bab63b66c5dce64f18b0cbfc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/21027eaacc1a8a20f5e616c25c3580f5dd3a15df", - "reference": "21027eaacc1a8a20f5e616c25c3580f5dd3a15df", + "url": "https://api.github.com/repos/symfony/mime/zipball/26a00b85477e69a4bab63b66c5dce64f18b0cbfc", + "reference": "26a00b85477e69a4bab63b66c5dce64f18b0cbfc", "shasum": "" }, "require": { @@ -4186,7 +4186,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.1.1" + "source": "https://github.com/symfony/mime/tree/v7.1.2" }, "funding": [ { @@ -4202,7 +4202,7 @@ "type": "tidelift" } ], - "time": "2024-06-04T06:40:14+00:00" + "time": "2024-06-28T10:03:55+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5141,16 +5141,16 @@ }, { "name": "symfony/string", - "version": "v7.1.1", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "60bc311c74e0af215101235aa6f471bcbc032df2" + "reference": "14221089ac66cf82e3cf3d1c1da65de305587ff8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/60bc311c74e0af215101235aa6f471bcbc032df2", - "reference": "60bc311c74e0af215101235aa6f471bcbc032df2", + "url": "https://api.github.com/repos/symfony/string/zipball/14221089ac66cf82e3cf3d1c1da65de305587ff8", + "reference": "14221089ac66cf82e3cf3d1c1da65de305587ff8", "shasum": "" }, "require": { @@ -5208,7 +5208,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.1.1" + "source": "https://github.com/symfony/string/tree/v7.1.2" }, "funding": [ { @@ -5224,7 +5224,7 @@ "type": "tidelift" } ], - "time": "2024-06-04T06:40:14+00:00" + "time": "2024-06-28T09:27:18+00:00" }, { "name": "symfony/translation", @@ -5474,16 +5474,16 @@ }, { "name": "symfony/var-dumper", - "version": "v7.1.1", + "version": "v7.1.2", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "deb2c2b506ff6fdbb340e00b34e9901e1605f293" + "reference": "5857c57c6b4b86524c08cf4f4bc95327270a816d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/deb2c2b506ff6fdbb340e00b34e9901e1605f293", - "reference": "deb2c2b506ff6fdbb340e00b34e9901e1605f293", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/5857c57c6b4b86524c08cf4f4bc95327270a816d", + "reference": "5857c57c6b4b86524c08cf4f4bc95327270a816d", "shasum": "" }, "require": { @@ -5537,7 +5537,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v7.1.1" + "source": "https://github.com/symfony/var-dumper/tree/v7.1.2" }, "funding": [ { @@ -5553,20 +5553,20 @@ "type": "tidelift" } ], - "time": "2024-05-31T14:57:53+00:00" + "time": "2024-06-28T08:00:31+00:00" }, { "name": "tallstackui/tallstackui", - "version": "v1.31.2", + "version": "v1.32.0", "source": { "type": "git", "url": "https://github.com/tallstackui/tallstackui.git", - "reference": "2f830f8c8a7b23ce60289307ee87afad0c32c7e3" + "reference": "e92c2ed819f8e50d4f1481c68706eeb6c11a6a75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tallstackui/tallstackui/zipball/2f830f8c8a7b23ce60289307ee87afad0c32c7e3", - "reference": "2f830f8c8a7b23ce60289307ee87afad0c32c7e3", + "url": "https://api.github.com/repos/tallstackui/tallstackui/zipball/e92c2ed819f8e50d4f1481c68706eeb6c11a6a75", + "reference": "e92c2ed819f8e50d4f1481c68706eeb6c11a6a75", "shasum": "" }, "require": { @@ -5610,7 +5610,7 @@ "description": "TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.", "support": { "issues": "https://github.com/tallstackui/tallstackui/issues", - "source": "https://github.com/tallstackui/tallstackui/tree/v1.31.2" + "source": "https://github.com/tallstackui/tallstackui/tree/v1.32.0" }, "funding": [ { @@ -5618,7 +5618,7 @@ "type": "github" } ], - "time": "2024-06-26T16:14:20+00:00" + "time": "2024-07-02T14:29:38+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -6959,26 +6959,26 @@ }, { "name": "pestphp/pest-plugin-type-coverage", - "version": "v2.8.3", + "version": "v2.8.4", "source": { "type": "git", "url": "https://github.com/pestphp/pest-plugin-type-coverage.git", - "reference": "bb232225c3dd6468dffdab271b3d67377afed369" + "reference": "ce599efae7c2493e300960cb9c697a9bdd15c44e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-type-coverage/zipball/bb232225c3dd6468dffdab271b3d67377afed369", - "reference": "bb232225c3dd6468dffdab271b3d67377afed369", + "url": "https://api.github.com/repos/pestphp/pest-plugin-type-coverage/zipball/ce599efae7c2493e300960cb9c697a9bdd15c44e", + "reference": "ce599efae7c2493e300960cb9c697a9bdd15c44e", "shasum": "" }, "require": { "pestphp/pest-plugin": "^2.1.1", "php": "^8.1", - "phpstan/phpstan": "^1.11.3", + "phpstan/phpstan": "^1.11.6", "tomasvotruba/type-coverage": "^0.2.8" }, "require-dev": { - "pestphp/pest": "^2.34.7", + "pestphp/pest": "^2.34.8", "pestphp/pest-dev-tools": "^2.16.0" }, "type": "library", @@ -7012,7 +7012,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest-plugin-type-coverage/issues", - "source": "https://github.com/pestphp/pest-plugin-type-coverage/tree/v2.8.3" + "source": "https://github.com/pestphp/pest-plugin-type-coverage/tree/v2.8.4" }, "funding": [ { @@ -7028,7 +7028,7 @@ "type": "patreon" } ], - "time": "2024-06-03T19:38:34+00:00" + "time": "2024-07-01T17:18:50+00:00" }, { "name": "phar-io/manifest", @@ -7148,6 +7148,134 @@ }, "time": "2022-02-21T01:04:05+00:00" }, + { + "name": "php-di/invoker", + "version": "2.3.4", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/Invoker.git", + "reference": "33234b32dafa8eb69202f950a1fc92055ed76a86" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/33234b32dafa8eb69202f950a1fc92055ed76a86", + "reference": "33234b32dafa8eb69202f950a1fc92055ed76a86", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "psr/container": "^1.0|^2.0" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "mnapoli/hard-mode": "~0.3.0", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Invoker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Generic and extensible callable invoker", + "homepage": "https://github.com/PHP-DI/Invoker", + "keywords": [ + "callable", + "dependency", + "dependency-injection", + "injection", + "invoke", + "invoker" + ], + "support": { + "issues": "https://github.com/PHP-DI/Invoker/issues", + "source": "https://github.com/PHP-DI/Invoker/tree/2.3.4" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + } + ], + "time": "2023-09-08T09:24:21+00:00" + }, + { + "name": "php-di/php-di", + "version": "7.0.6", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/PHP-DI.git", + "reference": "8097948a89f6ec782839b3e958432f427cac37fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/8097948a89f6ec782839b3e958432f427cac37fd", + "reference": "8097948a89f6ec782839b3e958432f427cac37fd", + "shasum": "" + }, + "require": { + "laravel/serializable-closure": "^1.0", + "php": ">=8.0", + "php-di/invoker": "^2.0", + "psr/container": "^1.1 || ^2.0" + }, + "provide": { + "psr/container-implementation": "^1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3", + "friendsofphp/proxy-manager-lts": "^1", + "mnapoli/phpunit-easymock": "^1.3", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^4.6" + }, + "suggest": { + "friendsofphp/proxy-manager-lts": "Install it if you want to use lazy injection (version ^1)" + }, + "type": "library", + "autoload": { + "files": [ + "src/functions.php" + ], + "psr-4": { + "DI\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "The dependency injection container for humans", + "homepage": "https://php-di.org/", + "keywords": [ + "PSR-11", + "container", + "container-interop", + "dependency injection", + "di", + "ioc", + "psr11" + ], + "support": { + "issues": "https://github.com/PHP-DI/PHP-DI/issues", + "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.6" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/php-di/php-di", + "type": "tidelift" + } + ], + "time": "2023-11-02T10:04:50+00:00" + }, { "name": "phpdocumentor/reflection-common", "version": "2.2.0", @@ -7372,16 +7500,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.11.5", + "version": "1.11.6", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "490f0ae1c92b082f154681d7849aee776a7c1443" + "reference": "6ac78f1165346c83b4a753f7e4186d969c6ad0ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/490f0ae1c92b082f154681d7849aee776a7c1443", - "reference": "490f0ae1c92b082f154681d7849aee776a7c1443", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/6ac78f1165346c83b4a753f7e4186d969c6ad0ee", + "reference": "6ac78f1165346c83b4a753f7e4186d969c6ad0ee", "shasum": "" }, "require": { @@ -7426,20 +7554,20 @@ "type": "github" } ], - "time": "2024-06-17T15:10:54+00:00" + "time": "2024-07-01T15:33:06+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "10.1.14", + "version": "10.1.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b" + "reference": "5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", - "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae", + "reference": "5da8b1728acd1e6ffdf2ff32ffbdfd04307f26ae", "shasum": "" }, "require": { @@ -7496,7 +7624,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.14" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.15" }, "funding": [ { @@ -7504,7 +7632,7 @@ "type": "github" } ], - "time": "2024-03-12T15:33:41+00:00" + "time": "2024-06-29T08:25:15+00:00" }, { "name": "phpunit/php-file-iterator", @@ -7850,71 +7978,18 @@ ], "time": "2024-04-05T04:39:01+00:00" }, - { - "name": "pimple/pimple", - "version": "v3.5.0", - "source": { - "type": "git", - "url": "https://github.com/silexphp/Pimple.git", - "reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/silexphp/Pimple/zipball/a94b3a4db7fb774b3d78dad2315ddc07629e1bed", - "reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "psr/container": "^1.1 || ^2.0" - }, - "require-dev": { - "symfony/phpunit-bridge": "^5.4@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4.x-dev" - } - }, - "autoload": { - "psr-0": { - "Pimple": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Pimple, a simple Dependency Injection Container", - "homepage": "https://pimple.symfony.com", - "keywords": [ - "container", - "dependency injection" - ], - "support": { - "source": "https://github.com/silexphp/Pimple/tree/v3.5.0" - }, - "time": "2021-10-28T11:13:42+00:00" - }, { "name": "rector/rector", - "version": "1.1.1", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "c930cdb21294f10955ddfc31b720971e8333943d" + "reference": "2fa387553db22b6f9bcccf5ff16f2c2c18a52a65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/c930cdb21294f10955ddfc31b720971e8333943d", - "reference": "c930cdb21294f10955ddfc31b720971e8333943d", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/2fa387553db22b6f9bcccf5ff16f2c2c18a52a65", + "reference": "2fa387553db22b6f9bcccf5ff16f2c2c18a52a65", "shasum": "" }, "require": { @@ -7952,7 +8027,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/1.1.1" + "source": "https://github.com/rectorphp/rector/tree/1.2.0" }, "funding": [ { @@ -7960,7 +8035,7 @@ "type": "github" } ], - "time": "2024-06-21T07:51:17+00:00" + "time": "2024-07-01T14:24:45+00:00" }, { "name": "sebastian/cli-parser", @@ -8943,16 +9018,16 @@ }, { "name": "spatie/error-solutions", - "version": "1.0.2", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/spatie/error-solutions.git", - "reference": "9782ba6e25cb026cc653619e01ca695d428b3f03" + "reference": "264a7eef892aceb2fd65e206127ad3af4f3a2d6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/error-solutions/zipball/9782ba6e25cb026cc653619e01ca695d428b3f03", - "reference": "9782ba6e25cb026cc653619e01ca695d428b3f03", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/264a7eef892aceb2fd65e206127ad3af4f3a2d6b", + "reference": "264a7eef892aceb2fd65e206127ad3af4f3a2d6b", "shasum": "" }, "require": { @@ -9005,7 +9080,7 @@ ], "support": { "issues": "https://github.com/spatie/error-solutions/issues", - "source": "https://github.com/spatie/error-solutions/tree/1.0.2" + "source": "https://github.com/spatie/error-solutions/tree/1.0.4" }, "funding": [ { @@ -9013,7 +9088,7 @@ "type": "github" } ], - "time": "2024-06-26T13:09:17+00:00" + "time": "2024-06-28T13:33:04+00:00" }, { "name": "spatie/flare-client-php", @@ -9260,16 +9335,16 @@ }, { "name": "spatie/laravel-ray", - "version": "1.36.2", + "version": "1.36.3", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ray.git", - "reference": "1852faa96e5aa6778ea3401ec3176eee77268718" + "reference": "9becea4bf279d9bc5e11f89ef36894239d2be60e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/1852faa96e5aa6778ea3401ec3176eee77268718", - "reference": "1852faa96e5aa6778ea3401ec3176eee77268718", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/9becea4bf279d9bc5e11f89ef36894239d2be60e", + "reference": "9becea4bf279d9bc5e11f89ef36894239d2be60e", "shasum": "" }, "require": { @@ -9283,7 +9358,7 @@ "spatie/backtrace": "^1.0", "spatie/ray": "^1.41.1", "symfony/stopwatch": "4.2|^5.1|^6.0|^7.0", - "zbateson/mail-mime-parser": "^1.3.1|^2.0" + "zbateson/mail-mime-parser": "^1.3.1|^2.0|^3.0" }, "require-dev": { "guzzlehttp/guzzle": "^7.3", @@ -9331,7 +9406,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-ray/issues", - "source": "https://github.com/spatie/laravel-ray/tree/1.36.2" + "source": "https://github.com/spatie/laravel-ray/tree/1.36.3" }, "funding": [ { @@ -9343,7 +9418,7 @@ "type": "other" } ], - "time": "2024-05-02T08:26:02+00:00" + "time": "2024-07-02T13:33:54+00:00" }, { "name": "spatie/macroable", @@ -9790,30 +9865,31 @@ }, { "name": "zbateson/mail-mime-parser", - "version": "2.4.1", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/zbateson/mail-mime-parser.git", - "reference": "ff49e02f6489b38f7cc3d1bd3971adc0f872569c" + "reference": "6ade63b0a43047935791d7977e22717a68cc388b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/ff49e02f6489b38f7cc3d1bd3971adc0f872569c", - "reference": "ff49e02f6489b38f7cc3d1bd3971adc0f872569c", + "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/6ade63b0a43047935791d7977e22717a68cc388b", + "reference": "6ade63b0a43047935791d7977e22717a68cc388b", "shasum": "" }, "require": { - "guzzlehttp/psr7": "^1.7.0|^2.0", - "php": ">=7.1", - "pimple/pimple": "^3.0", - "zbateson/mb-wrapper": "^1.0.1", - "zbateson/stream-decorators": "^1.0.6" + "guzzlehttp/psr7": "^2.5", + "php": ">=8.0", + "php-di/php-di": "^6.0|^7.0", + "psr/log": "^1|^2|^3", + "zbateson/mb-wrapper": "^2.0", + "zbateson/stream-decorators": "^2.1" }, "require-dev": { "friendsofphp/php-cs-fixer": "*", - "mikey179/vfsstream": "^1.6.0", + "monolog/monolog": "^2|^3", "phpstan/phpstan": "*", - "phpunit/phpunit": "<10" + "phpunit/phpunit": "^9.6" }, "suggest": { "ext-iconv": "For best support/performance", @@ -9861,24 +9937,24 @@ "type": "github" } ], - "time": "2024-04-28T00:58:54+00:00" + "time": "2024-04-29T21:53:01+00:00" }, { "name": "zbateson/mb-wrapper", - "version": "1.2.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/zbateson/mb-wrapper.git", - "reference": "09a8b77eb94af3823a9a6623dcc94f8d988da67f" + "reference": "9e4373a153585d12b6c621ac4a6bb143264d4619" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/mb-wrapper/zipball/09a8b77eb94af3823a9a6623dcc94f8d988da67f", - "reference": "09a8b77eb94af3823a9a6623dcc94f8d988da67f", + "url": "https://api.github.com/repos/zbateson/mb-wrapper/zipball/9e4373a153585d12b6c621ac4a6bb143264d4619", + "reference": "9e4373a153585d12b6c621ac4a6bb143264d4619", "shasum": "" }, "require": { - "php": ">=7.1", + "php": ">=8.0", "symfony/polyfill-iconv": "^1.9", "symfony/polyfill-mbstring": "^1.9" }, @@ -9922,7 +9998,7 @@ ], "support": { "issues": "https://github.com/zbateson/mb-wrapper/issues", - "source": "https://github.com/zbateson/mb-wrapper/tree/1.2.1" + "source": "https://github.com/zbateson/mb-wrapper/tree/2.0.0" }, "funding": [ { @@ -9930,31 +10006,31 @@ "type": "github" } ], - "time": "2024-03-18T04:31:04+00:00" + "time": "2024-03-20T01:38:07+00:00" }, { "name": "zbateson/stream-decorators", - "version": "1.2.1", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/zbateson/stream-decorators.git", - "reference": "783b034024fda8eafa19675fb2552f8654d3a3e9" + "reference": "32a2a62fb0f26313395c996ebd658d33c3f9c4e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/783b034024fda8eafa19675fb2552f8654d3a3e9", - "reference": "783b034024fda8eafa19675fb2552f8654d3a3e9", + "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/32a2a62fb0f26313395c996ebd658d33c3f9c4e5", + "reference": "32a2a62fb0f26313395c996ebd658d33c3f9c4e5", "shasum": "" }, "require": { - "guzzlehttp/psr7": "^1.9 | ^2.0", - "php": ">=7.2", - "zbateson/mb-wrapper": "^1.0.0" + "guzzlehttp/psr7": "^2.5", + "php": ">=8.0", + "zbateson/mb-wrapper": "^2.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "*", "phpstan/phpstan": "*", - "phpunit/phpunit": "<10.0" + "phpunit/phpunit": "^9.6|^10.0" }, "type": "library", "autoload": { @@ -9985,7 +10061,7 @@ ], "support": { "issues": "https://github.com/zbateson/stream-decorators/issues", - "source": "https://github.com/zbateson/stream-decorators/tree/1.2.1" + "source": "https://github.com/zbateson/stream-decorators/tree/2.1.1" }, "funding": [ { @@ -9993,7 +10069,7 @@ "type": "github" } ], - "time": "2023-05-30T22:51:52+00:00" + "time": "2024-04-29T21:42:39+00:00" } ], "aliases": [], diff --git a/contents/on-this-page.json b/contents/on-this-page.json index 99032403..7723ea8b 100644 --- a/contents/on-this-page.json +++ b/contents/on-this-page.json @@ -229,7 +229,8 @@ "7": "Loading Effect", "8": "Color Variations", "9": "Light Variations", - "10": "Outline Variations" + "10": "Outline Variations", + "11": "Flat Variations" } }, "Circle": { @@ -244,7 +245,8 @@ "6": "Loading Effect", "7": "Color Variations", "8": "Light Variations", - "9": "Outline Variations" + "9": "Outline Variations", + "10": "Flat Variations" } } }, diff --git a/resources/views/documentation/ui/button.blade.php b/resources/views/documentation/ui/button.blade.php index 296c0b93..af849a9e 100644 --- a/resources/views/documentation/ui/button.blade.php +++ b/resources/views/documentation/ui/button.blade.php @@ -53,7 +53,7 @@ - +
TallStackUi TallStackUi @@ -61,7 +61,7 @@ - +
TallStackUi @@ -79,7 +79,7 @@ - +
@@ -94,7 +94,7 @@ - +
@@ -126,7 +126,7 @@ - +
@@ -158,7 +158,7 @@ - +
@@ -189,26 +189,58 @@
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
- TS + - TS + - + - + @@ -216,7 +248,7 @@ - +
@@ -225,98 +257,130 @@ - +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +
- +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +
- + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + +
From c7e16e263e7c8f7e58d47a1c780d0a6c6739802b Mon Sep 17 00:00:00 2001 From: AJ Meireles Date: Tue, 2 Jul 2024 12:00:39 -0300 Subject: [PATCH 2/4] adding wire:navigate --- config/livewire.php | 160 ++++++++++++++++++ .../available-configuration.blade.php | 2 +- .../layout/footer-navigation.blade.php | 15 -- .../layout/navigation/link.blade.php | 9 +- resources/views/components/top-bar.blade.php | 2 +- .../views/documentation/command.blade.php | 4 +- .../documentation/contribution.blade.php | 2 +- resources/views/documentation/faq.blade.php | 10 +- .../helpers/dark-theme.blade.php | 2 +- .../documentation/helpers/debug.blade.php | 2 +- .../interactions/toast.blade.php | 4 +- .../personalization/color.blade.php | 2 +- .../personalization/concept.blade.php | 4 +- .../personalization/deep.blade.php | 4 +- .../personalization/soft.blade.php | 2 +- .../documentation/summer-release.blade.php | 10 +- .../views/documentation/ui/icon.blade.php | 2 +- .../views/documentation/ui/reaction.blade.php | 2 +- .../documentation/ui/theme-switch.blade.php | 4 +- .../views/documentation/ui/tooltip.blade.php | 2 +- .../documentation/personalization.blade.php | 2 +- .../views/livewire/prefix-selector.blade.php | 2 +- resources/views/welcome.blade.php | 4 +- 23 files changed, 201 insertions(+), 51 deletions(-) create mode 100644 config/livewire.php delete mode 100644 resources/views/components/layout/footer-navigation.blade.php diff --git a/config/livewire.php b/config/livewire.php new file mode 100644 index 00000000..19a5ff23 --- /dev/null +++ b/config/livewire.php @@ -0,0 +1,160 @@ + 'App\\Livewire', + + /* + |--------------------------------------------------------------------------- + | View Path + |--------------------------------------------------------------------------- + | + | This value is used to specify where Livewire component Blade templates are + | stored when running file creation commands like `artisan make:livewire`. + | It is also used if you choose to omit a component's render() method. + | + */ + + 'view_path' => resource_path('views/livewire'), + + /* + |--------------------------------------------------------------------------- + | Layout + |--------------------------------------------------------------------------- + | The view that will be used as the layout when rendering a single component + | as an entire page via `Route::get('/post/create', CreatePost::class);`. + | In this case, the view returned by CreatePost will render into $slot. + | + */ + + 'layout' => 'components.layouts.app', + + /* + |--------------------------------------------------------------------------- + | Lazy Loading Placeholder + |--------------------------------------------------------------------------- + | Livewire allows you to lazy load components that would otherwise slow down + | the initial page load. Every component can have a custom placeholder or + | you can define the default placeholder view for all components below. + | + */ + + 'lazy_placeholder' => null, + + /* + |--------------------------------------------------------------------------- + | Temporary File Uploads + |--------------------------------------------------------------------------- + | + | Livewire handles file uploads by storing uploads in a temporary directory + | before the file is stored permanently. All file uploads are directed to + | a global endpoint for temporary storage. You may configure this below: + | + */ + + 'temporary_file_upload' => [ + 'disk' => null, // Example: 'local', 's3' | Default: 'default' + 'rules' => null, // Example: ['file', 'mimes:png,jpg'] | Default: ['required', 'file', 'max:12288'] (12MB) + 'directory' => null, // Example: 'tmp' | Default: 'livewire-tmp' + 'middleware' => null, // Example: 'throttle:5,1' | Default: 'throttle:60,1' + 'preview_mimes' => [ // Supported file types for temporary pre-signed file URLs... + 'png', 'gif', 'bmp', 'svg', 'wav', 'mp4', + 'mov', 'avi', 'wmv', 'mp3', 'm4a', + 'jpg', 'jpeg', 'mpga', 'webp', 'wma', + ], + 'max_upload_time' => 5, // Max duration (in minutes) before an upload is invalidated... + 'cleanup' => true, // Should cleanup temporary uploads older than 24 hrs... + ], + + /* + |--------------------------------------------------------------------------- + | Render On Redirect + |--------------------------------------------------------------------------- + | + | This value determines if Livewire will run a component's `render()` method + | after a redirect has been triggered using something like `redirect(...)` + | Setting this to true will render the view once more before redirecting + | + */ + + 'render_on_redirect' => false, + + /* + |--------------------------------------------------------------------------- + | Eloquent Model Binding + |--------------------------------------------------------------------------- + | + | Previous versions of Livewire supported binding directly to eloquent model + | properties using wire:model by default. However, this behavior has been + | deemed too "magical" and has therefore been put under a feature flag. + | + */ + + 'legacy_model_binding' => false, + + /* + |--------------------------------------------------------------------------- + | Auto-inject Frontend Assets + |--------------------------------------------------------------------------- + | + | By default, Livewire automatically injects its JavaScript and CSS into the + | and of pages containing Livewire components. By disabling + | this behavior, you need to use @livewireStyles and @livewireScripts. + | + */ + + 'inject_assets' => true, + + /* + |--------------------------------------------------------------------------- + | Navigate (SPA mode) + |--------------------------------------------------------------------------- + | + | By adding `wire:navigate` to links in your Livewire application, Livewire + | will prevent the default link handling and instead request those pages + | via AJAX, creating an SPA-like effect. Configure this behavior here. + | + */ + + 'navigate' => [ + 'show_progress_bar' => true, + 'progress_bar_color' => '#ff267d', + ], + + /* + |--------------------------------------------------------------------------- + | HTML Morph Markers + |--------------------------------------------------------------------------- + | + | Livewire intelligently "morphs" existing HTML into the newly rendered HTML + | after each update. To make this process more reliable, Livewire injects + | "markers" into the rendered Blade surrounding @if, @class & @foreach. + | + */ + + 'inject_morph_markers' => true, + + /* + |--------------------------------------------------------------------------- + | Pagination Theme + |--------------------------------------------------------------------------- + | + | When enabling Livewire's pagination feature by using the `WithPagination` + | trait, Livewire will use Tailwind templates to render pagination views + | on the page. If you want Bootstrap CSS, you can specify: "bootstrap" + | + */ + + 'pagination_theme' => 'tailwind', +]; diff --git a/resources/views/components/available-configuration.blade.php b/resources/views/components/available-configuration.blade.php index 57c1c9cc..66f2fe3f 100644 --- a/resources/views/components/available-configuration.blade.php +++ b/resources/views/components/available-configuration.blade.php @@ -1,5 +1,5 @@
- This component contains settings available in the configuration file. Click here to learn more. + This component contains settings available in the configuration file. Click here to learn more.
diff --git a/resources/views/components/layout/footer-navigation.blade.php b/resources/views/components/layout/footer-navigation.blade.php deleted file mode 100644 index 1a64b47a..00000000 --- a/resources/views/components/layout/footer-navigation.blade.php +++ /dev/null @@ -1,15 +0,0 @@ -@props(['text' => null, 'href' => null, 'back' => false]) - -@php($icon = $back ? 'chevron-left' : 'chevron-right') - - - @if ($back) - - @endif - - {{ $text ?? $slot }} - - @if (!$back) - - @endif - diff --git a/resources/views/components/layout/navigation/link.blade.php b/resources/views/components/layout/navigation/link.blade.php index c496525f..ac813b40 100644 --- a/resources/views/components/layout/navigation/link.blade.php +++ b/resources/views/components/layout/navigation/link.blade.php @@ -1,4 +1,9 @@ -@props(['text' => null, 'href' => null, 'activated' => null, 'new' => false]) +@props([ + 'text' => null, + 'href' => null, + 'activated' => null, + 'new' => false +]) @php use Illuminate\Support\Facades\Route; @@ -10,7 +15,7 @@ 'transition inline-flex items-center gap-x-2', 'text-gray-500 dark:text-gray-400' => ! $activated, 'text-pink-700 dark:text-pink-500' => $activated, - ]) }}> + ]) }} wire:navigate> @if ($activated) diff --git a/resources/views/components/top-bar.blade.php b/resources/views/components/top-bar.blade.php index 5e6ccfef..a04e9564 100644 --- a/resources/views/components/top-bar.blade.php +++ b/resources/views/components/top-bar.blade.php @@ -1,5 +1,5 @@ New version 1.30.0 is now available 🎉 - Introducing a useful command to search for component usage. + Introducing a useful command to search for component usage. diff --git a/resources/views/documentation/command.blade.php b/resources/views/documentation/command.blade.php index 2c7eda5b..865f6816 100644 --- a/resources/views/documentation/command.blade.php +++ b/resources/views/documentation/command.blade.php @@ -14,14 +14,14 @@

- Command to setup icons. + Command to setup icons. See the details of the command and how to use it by clicking here.

- Command to setup prefix. + Command to setup prefix. See the details of the command and how to use it by clicking here.

diff --git a/resources/views/documentation/contribution.blade.php b/resources/views/documentation/contribution.blade.php index 3f92ac93..76f58593 100644 --- a/resources/views/documentation/contribution.blade.php +++ b/resources/views/documentation/contribution.blade.php @@ -49,7 +49,7 @@

11. In the same composer.json file, change the minimum-stability to dev

12. After that, run the following command in the terminal:

-

13. Install the TallStackUI in the Laravel project following the guide (skip the step 1 of the tutorial)

+

13. Install the TallStackUI in the Laravel project following the guide (skip the step 1 of the tutorial)

14. You are ready to start the work!

diff --git a/resources/views/documentation/faq.blade.php b/resources/views/documentation/faq.blade.php index dcb94a47..d677243b 100644 --- a/resources/views/documentation/faq.blade.php +++ b/resources/views/documentation/faq.blade.php @@ -33,7 +33,7 @@

- Yes, totally! TallStackUI components support a prefix key, + Yes, totally! TallStackUI components support a prefix key, which consists of prefixing TallStackUI components avoiding conflicts in component names of other libraries.

@@ -47,7 +47,7 @@
  • Soft Personalization:

    - Soft Personalization is an innovative and unique method, created exclusively by TallStackUI, + Soft Personalization is an innovative and unique method, created exclusively by TallStackUI, which allows components to be personalized at runtime, through a service provider. The idea behind soft personalization is to tap into personalizable blocks of each component and change your content. Although it may seem limited, soft personalization @@ -60,11 +60,11 @@ Deep Personalization:

    While soft personalization is, let's say, superficial, but still powerful for tasks of changing - the original content, + the original content, deep personalization consists of extending the original PHP component classes and changing their content as you want, as well as directly changing the related Blade files to the component. This method of personalization will undoubtedly require more technical knowledge, which is - why Soft Personalization + why Soft Personalization was created so that even if the developer is a beginner, he can personalize the components with ease.

  • @@ -107,7 +107,7 @@

    There are several ways to contribute to TallStackUI, from the sponsorship program, as mentioned above, to share the library or offering help with code by sending pull requests. - Read the guide on how to prepare a development environment to submit a pull request to TallStackUI. + Read the guide on how to prepare a development environment to submit a pull request to TallStackUI.

    diff --git a/resources/views/documentation/helpers/dark-theme.blade.php b/resources/views/documentation/helpers/dark-theme.blade.php index b5c68ec9..5f3f87a7 100644 --- a/resources/views/documentation/helpers/dark-theme.blade.php +++ b/resources/views/documentation/helpers/dark-theme.blade.php @@ -36,7 +36,7 @@

    4. Rebuild your assets:

    diff --git a/resources/views/documentation/helpers/debug.blade.php b/resources/views/documentation/helpers/debug.blade.php index 753ebe29..f0f07131 100644 --- a/resources/views/documentation/helpers/debug.blade.php +++ b/resources/views/documentation/helpers/debug.blade.php @@ -56,7 +56,7 @@

    Debug mode has a settings section in the TallStackUI configuration file. Through this configuration, you can configure several things, such as ignore debug - mode for specific components. + mode for specific components. Click here to know how to publish the configuration file.

    diff --git a/resources/views/documentation/interactions/toast.blade.php b/resources/views/documentation/interactions/toast.blade.php index 56f2b0ba..d7951618 100644 --- a/resources/views/documentation/interactions/toast.blade.php +++ b/resources/views/documentation/interactions/toast.blade.php @@ -42,7 +42,7 @@

    - Starting from version 1.14.2, you can set a default timeout through configuration file: + Starting from version 1.14.2, you can set a default timeout through configuration file:

    @@ -51,7 +51,7 @@

    - You can configure Toast to be extensible by default in the configuration file. When you + You can configure Toast to be extensible by default in the configuration file. When you do that, you can optionally ignore the expandable for specific Toast:

    diff --git a/resources/views/documentation/personalization/color.blade.php b/resources/views/documentation/personalization/color.blade.php index 332a189c..cd238824 100644 --- a/resources/views/documentation/personalization/color.blade.php +++ b/resources/views/documentation/personalization/color.blade.php @@ -17,7 +17,7 @@

    - If you are looking for how to create custom colors, use this guide. + If you are looking for how to create custom colors, use this guide.

    1. Open the TailwindCSS configuration file and enter the following content:

    diff --git a/resources/views/documentation/personalization/concept.blade.php b/resources/views/documentation/personalization/concept.blade.php index 649d41ff..a49fdb3a 100644 --- a/resources/views/documentation/personalization/concept.blade.php +++ b/resources/views/documentation/personalization/concept.blade.php @@ -20,7 +20,7 @@
    - + Soft Personalization @@ -28,7 +28,7 @@
    - + Deep Personalization diff --git a/resources/views/documentation/personalization/deep.blade.php b/resources/views/documentation/personalization/deep.blade.php index 27bc1af3..9575a8c8 100644 --- a/resources/views/documentation/personalization/deep.blade.php +++ b/resources/views/documentation/personalization/deep.blade.php @@ -18,7 +18,7 @@

    - To start deep personalization you must publish the TallStackUI configuration file. + To start deep personalization you must publish the TallStackUI configuration file.

    @@ -43,7 +43,7 @@ classes come from. This method must return an array with the name of the pers

    Even if you prefer to use deep personalization, - soft personalization can still be applied to components. + soft personalization can still be applied to components.
    diff --git a/resources/views/documentation/personalization/soft.blade.php b/resources/views/documentation/personalization/soft.blade.php index 30779ae6..fe6488b8 100644 --- a/resources/views/documentation/personalization/soft.blade.php +++ b/resources/views/documentation/personalization/soft.blade.php @@ -20,7 +20,7 @@

    - Example of the Avatar component classes + Example of the Avatar component classes

    diff --git a/resources/views/documentation/summer-release.blade.php b/resources/views/documentation/summer-release.blade.php index 0bbfb63b..71c4cff7 100644 --- a/resources/views/documentation/summer-release.blade.php +++ b/resources/views/documentation/summer-release.blade.php @@ -28,7 +28,7 @@ The "floating box" that is displayed in components such as Select Styled and Form Upload is now a single object shared between several components, so if you need to personalize this box, be sure to check the - Internal Components > Floating. + Internal Components > Floating.
  • Tab component items have lost their individual personalization in exchange @@ -69,7 +69,7 @@ -

    Starting from version 1.20, TallStackUI introduce a command to easily setup prefix for the components:

    +

    Starting from version 1.20, TallStackUI introduce a command to easily setup prefix for the components:

    @@ -84,7 +84,7 @@
  • - + Review the component documentation

    @@ -98,7 +98,7 @@

    - + Review the component documentation

    @@ -111,7 +111,7 @@

    - + Review the component documentation

    diff --git a/resources/views/documentation/ui/icon.blade.php b/resources/views/documentation/ui/icon.blade.php index 453968bc..cf25082a 100644 --- a/resources/views/documentation/ui/icon.blade.php +++ b/resources/views/documentation/ui/icon.blade.php @@ -16,7 +16,7 @@ only around 300 icons. Due to many requests, starting from version 1.20, TallStackUI now supports three icon libraries, offering more than 10K icons. A small change needs to be made so that you can use the new supported icon libraries, this change must be made in the - configuration file. + configuration file.

    This is the old icon configuration in the configuration file before v1.20:

    diff --git a/resources/views/documentation/ui/reaction.blade.php b/resources/views/documentation/ui/reaction.blade.php index 33c152e1..068f3432 100644 --- a/resources/views/documentation/ui/reaction.blade.php +++ b/resources/views/documentation/ui/reaction.blade.php @@ -21,7 +21,7 @@ In the modern world many applications have blogs, posts or articles. This way they need to capture the reaction of their readers to feel how welcome or hated that content was. The reaction component is the combination of - the Tooltip + the Tooltip component with emoji icons offered by the Noto Emoji Animation project.

    diff --git a/resources/views/documentation/ui/theme-switch.blade.php b/resources/views/documentation/ui/theme-switch.blade.php index 4e293ab1..52fa8a84 100644 --- a/resources/views/documentation/ui/theme-switch.blade.php +++ b/resources/views/documentation/ui/theme-switch.blade.php @@ -17,13 +17,13 @@

    - As TallStackUI offers a helper + As TallStackUI offers a helper to manipulate the dark theme, starting from version 1.20, a simple toggle component was introduced with support for manipulating the dark theme state, activating or deactivating it with the respective sun and moon icons.

    - You should only use this component if are using the dark theme helper. + You should only use this component if are using the dark theme helper.
    diff --git a/resources/views/documentation/ui/tooltip.blade.php b/resources/views/documentation/ui/tooltip.blade.php index 047aba93..27fba809 100644 --- a/resources/views/documentation/ui/tooltip.blade.php +++ b/resources/views/documentation/ui/tooltip.blade.php @@ -92,6 +92,6 @@ -

    The concept of variation follows the same patterns as icon variations.

    +

    The concept of variation follows the same patterns as icon variations.

    diff --git a/resources/views/livewire/documentation/personalization.blade.php b/resources/views/livewire/documentation/personalization.blade.php index 6ffb3331..41ed5ff2 100644 --- a/resources/views/livewire/documentation/personalization.blade.php +++ b/resources/views/livewire/documentation/personalization.blade.php @@ -50,7 +50,7 @@ public function content(string $block, string $class): void
    - This content is part of TallStackUI personalization. + This content is part of TallStackUI personalization.
    diff --git a/resources/views/livewire/prefix-selector.blade.php b/resources/views/livewire/prefix-selector.blade.php index 0b967d13..d35d3754 100644 --- a/resources/views/livewire/prefix-selector.blade.php +++ b/resources/views/livewire/prefix-selector.blade.php @@ -35,7 +35,7 @@ center blur>

    - The documentation code examples are displayed without the component prefix. + The documentation code examples are displayed without the component prefix. In this form, you can set the prefix you use in your projects. All code examples will be displayed using the prefix, which makes it easier for you to copy and paste the code examples. diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index e62ca142..a3974c61 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -374,7 +374,7 @@ class="h-full antialiased"

    A personalization approach never seen before.

    Enjoy soft personalization to customize your components at runtime. In just a few minutes and without technical effort, you can personalize all the TallStackUI components.

    @@ -387,7 +387,7 @@ class="h-full antialiased"
    From 48e003eae725564447aed381ac611282c18b1c6f Mon Sep 17 00:00:00 2001 From: AJ Meireles Date: Tue, 2 Jul 2024 12:10:40 -0300 Subject: [PATCH 3/4] adding wire:navigate to backing to welcome page --- resources/js/app.js | 47 ++++++++++--------- .../views/components/svg/banner.blade.php | 2 +- 2 files changed, 25 insertions(+), 24 deletions(-) diff --git a/resources/js/app.js b/resources/js/app.js index 49fceac4..ac2b5995 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -8,29 +8,30 @@ document.addEventListener('alpine:init', () => { }); /* smooth navigation */ -document.addEventListener('livewire:init', () => { - document.querySelectorAll('a[href^="#"]').forEach(anchor => { - anchor.addEventListener('click', function (e) { - e.preventDefault() - - const hash = this.getAttribute('href') - - document.querySelector(hash)?.scrollIntoView({ - behavior: 'smooth' - }) - - history.pushState(null, null, hash) - }) - }) - - const hash = window.location.hash - - if (hash) { - document.querySelector(hash)?.scrollIntoView({ - behavior: 'smooth' - }) - } -}) +// disabled when wire:navigate was enabled +// document.addEventListener('livewire:init', () => { +// document.querySelectorAll('a[href^="#"]').forEach(anchor => { +// anchor.addEventListener('click', function (e) { +// e.preventDefault() +// +// const hash = this.getAttribute('href') +// +// document.querySelector(hash)?.scrollIntoView({ +// behavior: 'smooth' +// }) +// +// history.pushState(null, null, hash) +// }) +// }) +// +// const hash = window.location.hash +// +// if (hash) { +// document.querySelector(hash)?.scrollIntoView({ +// behavior: 'smooth' +// }) +// } +// }) /* algolia */ docsearch({ diff --git a/resources/views/components/svg/banner.blade.php b/resources/views/components/svg/banner.blade.php index 96f6e107..95dc4c95 100644 --- a/resources/views/components/svg/banner.blade.php +++ b/resources/views/components/svg/banner.blade.php @@ -1,4 +1,4 @@ - + From 5a8f3d48b0ef40452334f6ef1405a94496aabf7f Mon Sep 17 00:00:00 2001 From: AJ Meireles Date: Tue, 2 Jul 2024 12:15:25 -0300 Subject: [PATCH 4/4] wip --- config/livewire.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/livewire.php b/config/livewire.php index 19a5ff23..3913eb01 100644 --- a/config/livewire.php +++ b/config/livewire.php @@ -38,7 +38,7 @@ | */ - 'layout' => 'components.layouts.app', + 'layout' => 'layouts.app', /* |---------------------------------------------------------------------------