Skip to content

Commit 9a87feb

Browse files
committed
update dependencies
1 parent f7a82bf commit 9a87feb

File tree

14 files changed

+1233
-1129
lines changed

14 files changed

+1233
-1129
lines changed

app/Filament/Pages/LabelsGenerator.php

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,11 @@ public function form(Form $form): Form
7676
->label('Label Height (inches)')
7777
->numeric()
7878
->required()
79-
->default($this->cardHeight)
80-
->rules(['required', 'numeric', 'min:0.1', function($attribute, $value, $fail) {
81-
$availableHeight = $this->pageHeight - $this->pageTopPadding - $this->pageBottomPadding;
82-
if ($value > $availableHeight) {
83-
$fail("The card height must not exceed the available page height.");
84-
}
85-
}]),
79+
->default($this->cardHeight),
8680
TextInput::make('cardWidth')
8781
->label('Label Width (inches)')
8882
->numeric()
8983
->required()
90-
->rules(['required', 'numeric', 'min:0.1', function($attribute, $value, $fail) {
91-
$availableWidth = $this->pageWidth - $this->pageLeftPadding - $this->pageRightPadding;
92-
if ($value > $availableWidth) {
93-
$fail("The card width must not exceed the available page width.");
94-
}
95-
}])
9684
->default($this->cardWidth),
9785
TextInput::make('pageWidth')
9886
->label('Page Width (inches)')
@@ -136,7 +124,7 @@ public function form(Form $form): Form
136124
])->columns(2);
137125
}
138126

139-
public function generatePages($showNotification = true): void
127+
public function generatePages($showNotification = true)
140128
{
141129
$this->validate();
142130
$this->init();

composer.lock

Lines changed: 1143 additions & 1033 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/filament/filament/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/filament/forms/forms.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/filament/filament/echo.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/filament/forms/components/color-picker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/filament/forms/components/file-upload.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/filament/forms/components/rich-editor.js

Lines changed: 58 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/filament/forms/components/select.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/js/filament/forms/components/tags-input.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)