From e9abba8fc4fcf38864594f7ed2626c3dd9d982df Mon Sep 17 00:00:00 2001 From: Ricardo Gobbo de Souza Date: Tue, 8 Nov 2022 15:00:24 -0300 Subject: [PATCH] Update config --- config/tallkit.php | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/config/tallkit.php b/config/tallkit.php index 1bf115f..fb9ef28 100644 --- a/config/tallkit.php +++ b/config/tallkit.php @@ -1071,6 +1071,7 @@ 'navbar' => [ 'container' => [ 'data-tallkit-assets' => 'alpine', + 'x-cloak' => '', 'x-data' => 'window.tallkit.component(\'navbar\')', '@click.away' => 'close', '@click.outside' => 'close', @@ -1231,7 +1232,6 @@ 'progressbar' => [ 'container' => [ 'data-tallkit-assets' => 'alpine', - 'wire:ignore' => '', 'x-cloak' => '', 'x-data' => 'window.tallkit.component(\'progressbar\')', ], @@ -1331,29 +1331,33 @@ 'sizes' => [ 'default' => [ - 'class' => 'h-4 text-sm leading-4', + 'class' => 'h-6 text-base leading-6', ], - 'sm' => [ + 'xs' => [ 'class' => 'h-2 text-xs leading-2', ], - 'md' => [ + 'sm' => [ 'class' => 'h-4 text-sm leading-4', ], - 'lg' => [ + 'md' => [ 'class' => 'h-6 text-base leading-6', ], - 'xl' => [ + 'lg' => [ 'class' => 'h-8 text-lg leading-8', ], - '2xl' => [ + 'xl' => [ 'class' => 'h-10 text-xl leading-10', ], + '2xl' => [ + 'class' => 'h-12 text-2xl leading-12', + ], + 'none' => [], ], @@ -2319,20 +2323,10 @@ /** * Datetimes. */ - 'full-calendar' => [ - 'container' => [ - 'data-tallkit-assets' => 'alpine,full-calendar', - 'wire:ignore' => '', - 'x-cloak' => '', - 'x-data' => 'window.tallkit.component(\'full-calendar\')', - ], - ], - 'carbon' => [ 'container' => [ 'data-tallkit-assets' => 'alpine,moment,moment-timezone', 'wire:ignore' => '', - 'x-cloak' => '', 'x-data' => 'window.tallkit.component(\'carbon\')', ], ], @@ -2341,7 +2335,6 @@ 'container' => [ 'data-tallkit-assets' => 'alpine', 'wire:ignore' => '', - 'x-cloak' => '', 'x-data' => 'window.tallkit.component(\'countdown\')', ], @@ -2362,6 +2355,15 @@ ], ], + 'full-calendar' => [ + 'container' => [ + 'data-tallkit-assets' => 'alpine,full-calendar', + 'wire:ignore' => '', + 'x-cloak' => '', + 'x-data' => 'window.tallkit.component(\'full-calendar\')', + ], + ], + /** * Editors. */ @@ -2652,6 +2654,7 @@ 'container' => [ 'data-tallkit-assets' => 'alpine', 'x-data' => 'window.tallkit.component(\'form\')', + 'x-ref' => 'form', '@submit' => 'prepareSubmit', ], ], @@ -3059,7 +3062,7 @@ 'data-turbo-cache' => 'false', 'data-turbolinks-cache' => 'false', 'x-ref' => 'output', - 'class' => 'm-4 cursor-pointer', + 'class' => 'm-4 cursor-pointer max-w-sm max-h-80', ], 'actions' => [ @@ -4965,7 +4968,6 @@ 'highlight' => [ 'container' => [ 'data-tallkit-assets' => 'alpine,highlight', - 'wire:ignore' => '', 'x-cloak' => '', 'x-data' => 'window.tallkit.component(\'highlight\')', 'x-init' => 'setup', @@ -5020,7 +5022,6 @@ 'pretty-print-json' => [ 'container' => [ 'data-tallkit-assets' => 'alpine,pretty-print-json', - 'wire:ignore' => '', 'x-cloak' => '', 'x-data' => 'window.tallkit.component(\'pretty-print-json\')', ],