Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
199ocero authored and github-actions[bot] committed Jan 19, 2024
1 parent 97b6d74 commit b1126e5
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 23 deletions.
8 changes: 4 additions & 4 deletions src/Forms/Components/RadioDeck.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ class RadioDeck extends IntermediaryRadio
{
use HasAlignment;
use HasColor;
use HasIcon;
use HasGap;
use HasPadding;
use HasDirection;
use HasExtraOptionsAttributes;
use HasExtraDescriptionsAttributes;
use HasExtraOptionsAttributes;
use HasGap;
use HasIcon;
use HasPadding;

protected array|Arrayable|string|Closure|null $icons = null;

Expand Down
6 changes: 1 addition & 5 deletions src/Traits/HasDirection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace JaOcero\RadioDeck\Traits;

use Filament\Support\Enums\IconPosition;
use Filament\Support\Enums\IconSize;

trait HasDirection
{
protected string|Closure|null $direction = null;
Expand All @@ -20,5 +17,4 @@ public function getDirection(): ?string
{
return $this->evaluate($this->direction);
}

}
}
4 changes: 2 additions & 2 deletions src/Traits/HasExtraDescriptionsAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ trait HasExtraDescriptionsAttributes
/**
* @param array<mixed> | Closure $attributes
*/
public function extraDescriptionsAttributes(array | Closure $attributes, bool $merge = false): static
public function extraDescriptionsAttributes(array|Closure $attributes, bool $merge = false): static
{
if ($merge) {
$this->extraDescriptionsAttributes[] = $attributes;
Expand Down Expand Up @@ -43,4 +43,4 @@ public function getExtraDescriptionsAttributeBag(): ComponentAttributeBag
{
return new ComponentAttributeBag($this->getExtraDescriptionsAttributes());
}
}
}
4 changes: 2 additions & 2 deletions src/Traits/HasExtraOptionsAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ trait HasExtraOptionsAttributes
/**
* @param array<mixed> | Closure $attributes
*/
public function extraOptionsAttributes(array | Closure $attributes, bool $merge = false): static
public function extraOptionsAttributes(array|Closure $attributes, bool $merge = false): static
{
if ($merge) {
$this->extraOptionsAttributes[] = $attributes;
Expand Down Expand Up @@ -43,4 +43,4 @@ public function getExtraOptionsAttributeBag(): ComponentAttributeBag
{
return new ComponentAttributeBag($this->getExtraOptionsAttributes());
}
}
}
6 changes: 1 addition & 5 deletions src/Traits/HasGap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace JaOcero\RadioDeck\Traits;

use Filament\Support\Enums\IconPosition;
use Filament\Support\Enums\IconSize;

trait HasGap
{
protected string|Closure|null $gap = null;
Expand All @@ -20,5 +17,4 @@ public function getGap(): ?string
{
return $this->evaluate($this->gap);
}

}
}
6 changes: 1 addition & 5 deletions src/Traits/HasPadding.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

namespace JaOcero\RadioDeck\Traits;

use Filament\Support\Enums\IconPosition;
use Filament\Support\Enums\IconSize;

trait HasPadding
{
protected string|Closure|null $padding = null;
Expand All @@ -20,5 +17,4 @@ public function getPadding(): ?string
{
return $this->evaluate($this->padding);
}

}
}

0 comments on commit b1126e5

Please sign in to comment.