Update Composer packages
This commit is contained in:
parent
0320235f6c
commit
a8b68fb61b
378 changed files with 28466 additions and 28852 deletions
|
@ -22,9 +22,6 @@ class Field
|
|||
{
|
||||
/**
|
||||
* A standard email field
|
||||
*
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function email(array $props = []): array
|
||||
{
|
||||
|
@ -37,10 +34,6 @@ class Field
|
|||
|
||||
/**
|
||||
* File position
|
||||
*
|
||||
* @param \Kirby\Cms\File
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function filePosition(File $file, array $props = []): array
|
||||
{
|
||||
|
@ -78,9 +71,6 @@ class Field
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function hidden(): array
|
||||
{
|
||||
return ['type' => 'hidden'];
|
||||
|
@ -88,10 +78,6 @@ class Field
|
|||
|
||||
/**
|
||||
* Page position
|
||||
*
|
||||
* @param \Kirby\Cms\Page
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function pagePosition(Page $page, array $props = []): array
|
||||
{
|
||||
|
@ -137,9 +123,6 @@ class Field
|
|||
|
||||
/**
|
||||
* A regular password field
|
||||
*
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function password(array $props = []): array
|
||||
{
|
||||
|
@ -151,9 +134,6 @@ class Field
|
|||
|
||||
/**
|
||||
* User role radio buttons
|
||||
*
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function role(array $props = []): array
|
||||
{
|
||||
|
@ -183,10 +163,6 @@ class Field
|
|||
], $props);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function slug(array $props = []): array
|
||||
{
|
||||
return array_merge([
|
||||
|
@ -195,12 +171,7 @@ class Field
|
|||
], $props);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $blueprints
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function template(?array $blueprints = [], ?array $props = []): array
|
||||
public static function template(array|null $blueprints = [], array|null $props = []): array
|
||||
{
|
||||
$options = [];
|
||||
|
||||
|
@ -221,10 +192,6 @@ class Field
|
|||
], $props);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function title(array $props = []): array
|
||||
{
|
||||
return array_merge([
|
||||
|
@ -236,9 +203,6 @@ class Field
|
|||
|
||||
/**
|
||||
* Panel translation select box
|
||||
*
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function translation(array $props = []): array
|
||||
{
|
||||
|
@ -259,10 +223,6 @@ class Field
|
|||
], $props);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $props
|
||||
* @return array
|
||||
*/
|
||||
public static function username(array $props = []): array
|
||||
{
|
||||
return array_merge([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue