Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit dabc140

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 8461225 + 9753375 commit dabc140

22 files changed

+789
-1103
lines changed

.github/workflows/pint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 2
1818

1919
- name: Laravel pint
20-
uses: aglipanci/laravel-pint-action@2.3.1
20+
uses: aglipanci/laravel-pint-action@2.5
2121
with:
2222
preset: laravel
2323

docs/files/filepond.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ For a full reference of all options, please consult [the FilePond documentation]
8585

8686
### Multiple
8787

88-
You can accept multiple files by passing in `multiple` as a boolean value. This attribute has been added as a way
88+
You can accept multiple files by passing in `allowMultiple` as a boolean value. This attribute has been added as a way
8989
to conveniently set the `allowMultiple` option for FilePond.
9090

9191
### Max Files

package-lock.json

+659-973
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"author": "Randall Wilk",
99
"license": "MIT",
1010
"devDependencies": {
11-
"@babel/core": "^7.23.9",
11+
"@babel/core": "^7.26.10",
1212
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
13-
"@babel/preset-env": "^7.23.9",
13+
"@babel/preset-env": "^7.26.9",
1414
"@rollup/plugin-babel": "^6.0.4",
15-
"@rollup/plugin-commonjs": "^25.0.7",
16-
"@rollup/plugin-node-resolve": "^15.2.3",
17-
"fs-extra": "^11.2.0",
15+
"@rollup/plugin-commonjs": "^25.0.8",
16+
"@rollup/plugin-node-resolve": "^15.3.0",
17+
"fs-extra": "^11.3.0",
1818
"md5": "^2.3.0",
19-
"rollup": "^2.79.1",
19+
"rollup": "^2.79.2",
2020
"rollup-plugin-filesize": "^10.0.0",
2121
"rollup-plugin-output-manifest": "^2.0.0",
2222
"rollup-plugin-terser": "^7.0.2"

src/Components/Choice/Checkbox.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(
3434
public ?bool $labelLeft = null,
3535

3636
// Extra Attributes
37-
string|HtmlString|array|Collection $extraAttributes = null,
37+
string|HtmlString|array|Collection|null $extraAttributes = null,
3838
) {
3939
$this->id = $id ?? $name;
4040

@@ -57,7 +57,7 @@ public function inputClass(): string
5757
]);
5858
}
5959

60-
public function containerClass(string $inputSize = null): string
60+
public function containerClass(?string $inputSize = null): string
6161
{
6262
// Input size from parent has priority over individual defined size.
6363
if ($inputSize) {

src/Components/Choice/SwitchToggle.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(
3535
public bool $short = false,
3636

3737
// Extra Attributes
38-
string|HtmlString|array|Collection $extraAttributes = null,
38+
string|HtmlString|array|Collection|null $extraAttributes = null,
3939
) {
4040
$this->id = $id ?? $name;
4141

src/Components/Files/FilePond.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ public function __construct(
2828
public ?int $maxFiles = null,
2929
public ?array $options = null,
3030
public ?string $description = null,
31-
string $type = null,
32-
bool $showErrors = null,
31+
?string $type = null,
32+
?bool $showErrors = null,
3333

3434
// Extra attributes
35-
string|HtmlString|array|Collection $extraAttributes = null,
35+
string|HtmlString|array|Collection|null $extraAttributes = null,
3636
) {
3737
$this->id = $id ?? $name;
3838

src/Components/Files/FileUpload.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ public function __construct(
2626
public ?string $name = null,
2727
public ?string $id = null,
2828
public bool $multiple = false,
29-
string $type = null,
30-
bool $showErrors = null,
29+
?string $type = null,
30+
?bool $showErrors = null,
3131
public ?bool $displayUploadProgress = null,
3232
public ?string $size = null,
3333
public ?string $containerClass = null,
3434
public ?bool $useNativeProgressBar = null,
3535

3636
// Extra attributes
37-
string|HtmlString|array|Collection $extraAttributes = null,
37+
string|HtmlString|array|Collection|null $extraAttributes = null,
3838
) {
3939
$this->id = $id ?? $name;
4040
$this->type = $type;

src/Components/FormGroup.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function __construct(
1616
public ?string $inputId = null,
1717
public null|bool|string $label = null,
1818
public ?bool $inline = null,
19-
bool $showErrors = null,
19+
?bool $showErrors = null,
2020
public ?string $helpText = null,
2121
public bool $isCheckboxGroup = false,
2222
public ?bool $marginBottom = null,

src/Components/Inputs/CustomSelect.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(
2626
public ?string $name = null,
2727
public ?string $id = null,
2828
public mixed $value = null,
29-
bool $showErrors = null,
29+
?bool $showErrors = null,
3030
public bool $multiple = false,
3131
public array|Collection $options = [],
3232
public ?string $size = null,
@@ -51,13 +51,13 @@ public function __construct(
5151
public ?string $containerClass = null,
5252

5353
// Extra Attributes
54-
string|HtmlString|array|Collection $extraAttributes = null,
54+
string|HtmlString|array|Collection|null $extraAttributes = null,
5555

5656
// Addons
57-
string $leadingAddon = null,
58-
string $leadingIcon = null,
59-
string $inlineAddon = null,
60-
string $trailingAddon = null,
57+
?string $leadingAddon = null,
58+
?string $leadingIcon = null,
59+
?string $inlineAddon = null,
60+
?string $trailingAddon = null,
6161
) {
6262
$this->id = $id ?? $name;
6363
$this->value = $name ? old($name, $value) : $value;

src/Components/Inputs/DatePicker.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@
1111
class DatePicker extends Input
1212
{
1313
public function __construct(
14-
string $name = null,
15-
string $id = null,
14+
?string $name = null,
15+
?string $id = null,
1616
mixed $value = null,
17-
string $containerClass = null,
18-
string $size = null,
19-
bool $showErrors = null,
17+
?string $containerClass = null,
18+
?string $size = null,
19+
?bool $showErrors = null,
2020

2121
// Extra Attributes
22-
HtmlString|array|string|Collection $extraAttributes = null,
22+
HtmlString|array|string|Collection|null $extraAttributes = null,
2323

2424
// Addons
25-
string $leadingAddon = null,
26-
string $leadingIcon = null,
27-
string $inlineAddon = null,
28-
string $trailingAddon = null,
29-
string $trailingInlineAddon = null,
30-
string $trailingIcon = null,
25+
?string $leadingAddon = null,
26+
?string $leadingIcon = null,
27+
?string $inlineAddon = null,
28+
?string $trailingAddon = null,
29+
?string $trailingInlineAddon = null,
30+
?string $trailingIcon = null,
3131

3232
// Date picker specific
3333
public array $options = [],

src/Components/Inputs/Input.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ public function __construct(
3232
public mixed $value = null,
3333
public ?string $containerClass = null,
3434
public ?string $size = null,
35-
bool $showErrors = null,
35+
?bool $showErrors = null,
3636

3737
// Extra Attributes
38-
string|HtmlString|array|Collection $extraAttributes = null,
38+
string|HtmlString|array|Collection|null $extraAttributes = null,
3939

4040
// Addons
41-
string $leadingAddon = null,
42-
string $leadingIcon = null,
43-
string $inlineAddon = null,
44-
string $trailingAddon = null,
45-
string $trailingInlineAddon = null,
46-
string $trailingIcon = null,
41+
?string $leadingAddon = null,
42+
?string $leadingIcon = null,
43+
?string $inlineAddon = null,
44+
?string $trailingAddon = null,
45+
?string $trailingInlineAddon = null,
46+
?string $trailingIcon = null,
4747
) {
4848
$this->id = $this->id ?? $this->name;
4949
$this->value = $name ? old($name, $value) : $value;

src/Components/Inputs/Password.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@
1111
class Password extends Input
1212
{
1313
public function __construct(
14-
string $name = null,
15-
string $id = null,
14+
?string $name = null,
15+
?string $id = null,
1616
mixed $value = null,
17-
string $containerClass = null,
18-
string $size = null,
19-
bool $showErrors = null,
17+
?string $containerClass = null,
18+
?string $size = null,
19+
?bool $showErrors = null,
2020

2121
// Extra Attributes
22-
HtmlString|array|string|Collection $extraAttributes = null,
22+
HtmlString|array|string|Collection|null $extraAttributes = null,
2323

2424
// Addons
25-
string $leadingAddon = null,
26-
string $leadingIcon = null,
27-
string $inlineAddon = null,
28-
string $trailingAddon = null,
29-
string $trailingInlineAddon = null,
30-
string $trailingIcon = null,
25+
?string $leadingAddon = null,
26+
?string $leadingIcon = null,
27+
?string $inlineAddon = null,
28+
?string $trailingAddon = null,
29+
?string $trailingInlineAddon = null,
30+
?string $trailingIcon = null,
3131

3232
// Password specific
3333
public ?bool $showToggle = null,

src/Components/Inputs/Select.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ class Select extends Input
1313
use GetsSelectOptionProperties;
1414

1515
public function __construct(
16-
string $name = null,
17-
string $id = null,
16+
?string $name = null,
17+
?string $id = null,
1818
mixed $value = null,
19-
string $containerClass = null,
20-
string $size = null,
21-
bool $showErrors = null,
19+
?string $containerClass = null,
20+
?string $size = null,
21+
?bool $showErrors = null,
2222

2323
// Extra attributes
24-
HtmlString|array|string|Collection $extraAttributes = null,
24+
HtmlString|array|string|Collection|null $extraAttributes = null,
2525

2626
// Addons
27-
string $leadingAddon = null,
28-
string $leadingIcon = null,
29-
string $inlineAddon = null,
30-
string $trailingAddon = null,
31-
string $trailingInlineAddon = null,
32-
string $trailingIcon = null,
27+
?string $leadingAddon = null,
28+
?string $leadingIcon = null,
29+
?string $inlineAddon = null,
30+
?string $trailingAddon = null,
31+
?string $trailingInlineAddon = null,
32+
?string $trailingIcon = null,
3333

3434
// Select specific
3535
public bool $multiple = false,

src/Components/Inputs/Textarea.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@
99
class Textarea extends Input
1010
{
1111
public function __construct(
12-
string $name = null,
13-
string $id = null,
12+
?string $name = null,
13+
?string $id = null,
1414
mixed $value = null,
15-
string $containerClass = null,
16-
string $size = null,
17-
bool $showErrors = null,
15+
?string $containerClass = null,
16+
?string $size = null,
17+
?bool $showErrors = null,
1818

1919
// Extra attributes
20-
HtmlString|array|string|Collection $extraAttributes = null,
20+
HtmlString|array|string|Collection|null $extraAttributes = null,
2121

2222
// Addons
23-
string $leadingAddon = null,
24-
string $leadingIcon = null,
25-
string $inlineAddon = null,
26-
string $trailingAddon = null,
27-
string $trailingInlineAddon = null,
28-
string $trailingIcon = null,
23+
?string $leadingAddon = null,
24+
?string $leadingIcon = null,
25+
?string $inlineAddon = null,
26+
?string $trailingAddon = null,
27+
?string $trailingInlineAddon = null,
28+
?string $trailingIcon = null,
2929

3030
// Textarea specific
3131
public ?bool $autoResize = null,

src/Components/Inputs/TimezoneSelect.php

+13-13
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010
class TimezoneSelect extends Select
1111
{
1212
public function __construct(
13-
string $name = null,
14-
string $id = null,
13+
?string $name = null,
14+
?string $id = null,
1515
mixed $value = null,
16-
string $containerClass = null,
17-
string $size = null,
18-
bool $showErrors = null,
16+
?string $containerClass = null,
17+
?string $size = null,
18+
?bool $showErrors = null,
1919

2020
// Extra Attributes
21-
HtmlString|array|string|Collection $extraAttributes = null,
21+
HtmlString|array|string|Collection|null $extraAttributes = null,
2222

2323
// Addons
24-
string $leadingAddon = null,
25-
string $leadingIcon = null,
26-
string $inlineAddon = null,
27-
string $trailingAddon = null,
28-
string $trailingInlineAddon = null,
29-
string $trailingIcon = null,
24+
?string $leadingAddon = null,
25+
?string $leadingIcon = null,
26+
?string $inlineAddon = null,
27+
?string $trailingAddon = null,
28+
?string $trailingInlineAddon = null,
29+
?string $trailingIcon = null,
3030

3131
bool $multiple = false,
3232
array|Collection $options = [],
@@ -45,7 +45,7 @@ public function __construct(
4545
public ?string $optionSelectedIcon = null,
4646

4747
// Timezone specific
48-
array|string|bool $only = null,
48+
array|string|bool|null $only = null,
4949
) {
5050
parent::__construct(
5151
name: $name,

0 commit comments

Comments
 (0)