diff --git a/packages/support/resources/views/components/button/index.blade.php b/packages/support/resources/views/components/button/index.blade.php index 9388814b55f..10d02df0555 100644 --- a/packages/support/resources/views/components/button/index.blade.php +++ b/packages/support/resources/views/components/button/index.blade.php @@ -98,7 +98,7 @@ 'ring-1 ring-gray-950/10 dark:ring-white/20' => (($color === 'gray') || ($tag === 'label')) && (! $grouped), 'bg-custom-600 text-white hover:bg-custom-500 focus-visible:ring-custom-500/50 dark:bg-custom-500 dark:hover:bg-custom-400 dark:focus-visible:ring-custom-400/50' => ($color !== 'gray') && ($tag !== 'label'), '[input:checked+&]:bg-custom-600 [input:checked+&]:text-white [input:checked+&]:ring-0 [input:checked+&]:hover:bg-custom-500 dark:[input:checked+&]:bg-custom-500 dark:[input:checked+&]:hover:bg-custom-400 [input:checked:focus-visible+&]:ring-custom-500/50 dark:[input:checked:focus-visible+&]:ring-custom-400/50 [input:focus-visible+&]:z-10 [input:focus-visible+&]:ring-2 [input:focus-visible+&]:ring-gray-950/10 dark:[input:focus-visible+&]:ring-white/20' => ($color !== 'gray') && ($tag === 'label'), - ] + ] ), ]); diff --git a/tests/src/Panels/Fixtures/Resources/PostResource.php b/tests/src/Panels/Fixtures/Resources/PostResource.php index 06267961be9..100d457c74a 100644 --- a/tests/src/Panels/Fixtures/Resources/PostResource.php +++ b/tests/src/Panels/Fixtures/Resources/PostResource.php @@ -27,13 +27,13 @@ public static function form(Form $form): Form { return $form ->schema([ - Forms\Components\TextInput::make('title')->required(), + TextInput::make('title')->required(), Forms\Components\MarkdownEditor::make('content'), Forms\Components\Select::make('author_id') ->relationship('author', 'name') ->required(), Forms\Components\TagsInput::make('tags'), - Forms\Components\TextInput::make('rating') + TextInput::make('rating') ->numeric() ->required(), ]);