format muhahaha

This commit is contained in:
Andras Bacsai
2023-08-11 20:48:52 +02:00
parent c762195c8a
commit 82a01b4483
109 changed files with 295 additions and 244 deletions

View File

@@ -17,8 +17,7 @@ class Button extends Component
public bool $noStyle = false,
public string|null $modalId = null,
public string $defaultClass = "btn btn-primary btn-sm font-normal text-white normal-case no-animation rounded border-none"
)
{
) {
if ($this->noStyle) {
$this->defaultClass = "";
}

View File

@@ -20,8 +20,7 @@ class Checkbox extends Component
public bool $instantSave = false,
public bool $disabled = false,
public string $defaultClass = "toggle toggle-xs toggle-warning rounded disabled:bg-coolgray-200 disabled:opacity-50 placeholder:text-neutral-700"
)
{
) {
//
}

View File

@@ -21,8 +21,7 @@ class Input extends Component
public string|null $helper = null,
public bool $allowToPeak = true,
public string $defaultClass = "input input-sm bg-coolgray-200 rounded text-white w-full disabled:bg-coolgray-200/50 disabled:border-none placeholder:text-coolgray-500 read-only:text-neutral-500 read-only:bg-coolgray-200/50"
)
{
) {
}
public function render(): View|Closure|string

View File

@@ -20,8 +20,7 @@ class Select extends Component
public string|null $helper = null,
public bool $required = false,
public string $defaultClass = "select select-sm w-full rounded text-white text-sm bg-coolgray-200 font-normal disabled:bg-coolgray-200/50 disabled:border-none"
)
{
) {
//
}

View File

@@ -25,8 +25,7 @@ class Textarea extends Component
public bool $readonly = false,
public string|null $helper = null,
public string $defaultClass = "textarea bg-coolgray-200 rounded text-white scrollbar disabled:bg-coolgray-200/50 disabled:border-none placeholder:text-coolgray-500 read-only:text-neutral-500 read-only:bg-coolgray-200/50"
)
{
) {
//
}

View File

@@ -18,8 +18,7 @@ class Modal extends Component
public string|null $modalSubmit = null,
public bool $yesOrNo = false,
public string $action = 'delete'
)
{
) {
//
}