diff --git a/app/Enums/Examples/Ui/Avatar.php b/app/Enums/Examples/Ui/Avatar.php index baf6ce68..dd6748bd 100644 --- a/app/Enums/Examples/Ui/Avatar.php +++ b/app/Enums/Examples/Ui/Avatar.php @@ -103,6 +103,21 @@ class Avatar HTML; + public const BORDERLESS = <<<'HTML' + + HTML; + + public const IMAGE = <<<'HTML' + + + + + HTML; + + public const IMAGE_ALT = <<<'HTML' + + HTML; + public const PERSONALIZATION = <<<'HTML' TallStackUi::personalize() ->avatar() diff --git a/app/Enums/Examples/Ui/Link.php b/app/Enums/Examples/Ui/Link.php index 6dadcb69..75c5decc 100644 --- a/app/Enums/Examples/Ui/Link.php +++ b/app/Enums/Examples/Ui/Link.php @@ -91,10 +91,8 @@ class Link HTML; public const NAVIGATE = <<<'HTML' - - HTML; diff --git a/app/Enums/Examples/Ui/Table.php b/app/Enums/Examples/Ui/Table.php index d60caa0c..46fa4865 100644 --- a/app/Enums/Examples/Ui/Table.php +++ b/app/Enums/Examples/Ui/Table.php @@ -61,6 +61,8 @@ public function with(): array 'headers' => [ ['index' => 'id', 'label' => '#'], ['index' => 'name', 'label' => 'Member'], + // You can use `unescaped` to render raw HTML // [tl! highlight:1] + ['index' => 'role', 'label' => 'Role', 'unescaped' => true], ], 'rows' => User::all(), ]; @@ -308,6 +310,30 @@ public function with(): array HTML; + public const SELECTABLE = <<<'HTML' + + + + + + HTML; + + public const CLICKABLE = <<<'HTML' + + + + + + + + + + + + HTML; + public const COLUMNS = <<<'HTML' 'bg-pink-900', 'text' => 'text-white']" :until="now()->subDay()"> - Version 1.33.0 released 🎉 - - We've updated Heroicons to version 2.1.5, which adds some new icons. + + Version 1.34.0 is here! 🎉 + + Lots of new features and some fixes diff --git a/resources/views/documentation/internal/floating.blade.php b/resources/views/documentation/internal/floating.blade.php index f7f5d32c..f7a43b00 100644 --- a/resources/views/documentation/internal/floating.blade.php +++ b/resources/views/documentation/internal/floating.blade.php @@ -10,4 +10,20 @@ + +

+ Starting from version 1.34.0 you can individually personalize the floating of each component. + Each component that uses floating has a special floating that allows individual + soft personalization of that component's floating. Here is the list of components that use floating: +

+ +
diff --git a/resources/views/documentation/ui/avatar.blade.php b/resources/views/documentation/ui/avatar.blade.php index 1ef95141..7a9a8646 100644 --- a/resources/views/documentation/ui/avatar.blade.php +++ b/resources/views/documentation/ui/avatar.blade.php @@ -94,6 +94,11 @@ + + + + + @@ -135,4 +140,19 @@ /> + + + + + + + + + + + + + + diff --git a/resources/views/documentation/ui/table.blade.php b/resources/views/documentation/ui/table.blade.php index c04880d1..022bbbe1 100644 --- a/resources/views/documentation/ui/table.blade.php +++ b/resources/views/documentation/ui/table.blade.php @@ -23,7 +23,7 @@

Although many packages can add table features to your project, starting from - version 1.6.0 of TallStackUI you can take advantage of the simple table component, + version 1.6.0 of TallStackUI you can take advantage of the simple table component, but with all the basic features necessary for a table to work through Livewire components.

@@ -83,6 +83,16 @@ + + + + + + + + + +

The table component provides a custom Blade directive @verbatim @interact @endverbatim diff --git a/resources/views/livewire/documentation/ui/table.blade.php b/resources/views/livewire/documentation/ui/table.blade.php index e2bb0aa9..80b19702 100644 --- a/resources/views/livewire/documentation/ui/table.blade.php +++ b/resources/views/livewire/documentation/ui/table.blade.php @@ -14,6 +14,8 @@ public ?string $search = null; + public array $selected = [1,2,3,4,5]; + public array $sort = [ 'column' => 'id', 'direction' => 'desc', @@ -21,7 +23,7 @@ public function boot(): void { - $this->quantity = in_array($this->mode, [4, 5, 7, 8]) ? 2 : 10; + $this->quantity = in_array($this->mode, [4, 5, 7, 8]) ? 2 : 11; } public function updatingQuantity(): void @@ -67,5 +69,9 @@ public function with(): array @elseif ($mode === 8) + @elseif ($mode === 9) + + @elseif ($mode === 10) + @endif diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index a3974c61..6d3121cf 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -89,10 +89,10 @@ class="h-full antialiased" Get Started - {{-- workaround... --}}