Skip to content

Commit

Permalink
Merge branch '3.x' into simple-page-max-width
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfietje committed Nov 28, 2024
2 parents 744ab2d + 0fd9af5 commit cffdc21
Show file tree
Hide file tree
Showing 14 changed files with 788 additions and 813 deletions.
1,289 changes: 685 additions & 604 deletions composer.lock

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions packages/actions/resources/lang/sk/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,15 @@
'form' => [

'file' => [

'label' => 'Súbor',

'placeholder' => 'Nahrať CSV súbor',

'rules' => [
'duplicate_columns' => '{0} Súbor nesmie obsahovať viac ako jeden prázdny názov stĺpca.|{1,*} Súbor nesmie obsahovať duplicitné názvy stĺpcov: :columns.',
],

],

'columns' => [
Expand Down Expand Up @@ -72,6 +79,7 @@
'file_name' => 'import-:import_id-:csv_name-failed-rows',
'error_header' => 'chyba',
'system_error' => 'Chyba systému, prosím, kontaktujte podporu.',
'column_mapping_required_for_new_record' => 'Stĺpec :attribute nebol namapovaný na stĺpec v súbore, ale je potrebný pre vytvorenie nových záznamov.',
],

];
2 changes: 1 addition & 1 deletion packages/forms/dist/index.css

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions packages/forms/resources/css/components/markdown-editor.css

Large diffs are not rendered by default.

243 changes: 60 additions & 183 deletions packages/forms/resources/views/components/rich-editor.blade.php

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
->merge([
'type' => 'button',
], escape: false)
->class(['fi-fo-rich-editor-toolbar-btn flex h-8 min-w-[theme(spacing.8)] cursor-pointer items-center justify-center rounded-lg px-2 text-sm font-semibold text-gray-700 transition duration-75 hover:bg-gray-50 focus-visible:bg-gray-50 dark:text-gray-200 dark:hover:bg-white/5 dark:focus-visible:bg-white/5 [&.trix-active]:bg-gray-50 [&.trix-active]:text-primary-600 dark:[&.trix-active]:bg-white/5 dark:[&.trix-active]:text-primary-400'])
->class(['fi-fo-rich-editor-toolbar-btn flex h-8 min-w-[theme(spacing.8)] cursor-pointer items-center justify-center rounded-lg text-sm font-semibold text-gray-700 transition duration-75 hover:bg-gray-50 focus-visible:bg-gray-50 dark:text-gray-200 dark:hover:bg-white/5 dark:focus-visible:bg-white/5 [&.trix-active]:bg-gray-50 [&.trix-active]:text-primary-600 dark:[&.trix-active]:bg-white/5 dark:[&.trix-active]:text-primary-400'])
}}
>
{{ $slot }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@
x-sortable
data-sortable-animation-duration="{{ $getReorderAnimationDuration() }}"
@endif
@class([
'flex w-full flex-wrap gap-1.5 p-2',
'border-t border-t-gray-200 dark:border-t-white/10',
])
class="fi-fo-tags-input-tags-ctn flex w-full flex-wrap gap-1.5 border-t border-t-gray-200 p-2 dark:border-t-white/10"
>
<template
x-for="(tag, index) in state"
Expand Down
2 changes: 1 addition & 1 deletion packages/panels/dist/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/panels/src/Http/Middleware/Authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected function authenticate($request, array $guards): void
if (! $guard->check()) {
$this->unauthenticated($request, $guards);

return;
return; /** @phpstan-ignore-line */
}

$this->auth->shouldUse(Filament::getAuthGuard());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ public function defaultLocales(?array $defaultLocales = null): static
return $this;
}

public function getLocaleLabelUsing(?Closure $callback): void
public function getLocaleLabelUsing(?Closure $callback): static
{
$this->getLocaleLabelUsing = $callback;

return $this;
}

public function getLocaleLabel(string $locale, ?string $displayLocale = null): ?string
Expand Down
4 changes: 2 additions & 2 deletions packages/support/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
},
"require": {
"php": "^8.1",
"blade-ui-kit/blade-heroicons": "^2.2.1",
"blade-ui-kit/blade-heroicons": "^2.5",
"doctrine/dbal": "^3.2|^4.0",
"ext-intl": "*",
"illuminate/contracts": "^10.45|^11.0",
"illuminate/support": "^10.45|^11.0",
"illuminate/view": "^10.45|^11.0",
"kirschbaum-development/eloquent-power-joins": "^3.0|^4.0",
"livewire/livewire": "^3.4.10",
"livewire/livewire": "3.5.12",
"ryangjchandler/blade-capture-directive": "^0.2|^0.3|^1.0",
"spatie/color": "^1.5",
"spatie/invade": "^1.0|^2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
'role' => 'tab',
])
->class([
'fi-tabs-item group flex items-center gap-x-2 rounded-lg px-3 py-2 text-sm font-medium outline-none transition duration-75',
'fi-tabs-item group flex items-center justify-center gap-x-2 rounded-lg px-3 py-2 text-sm font-medium outline-none transition duration-75',
$inactiveItemClasses => (! $hasAlpineActiveClasses) && (! $active),
$activeItemClasses => (! $hasAlpineActiveClasses) && $active,
])
Expand Down
6 changes: 6 additions & 0 deletions packages/tables/resources/lang/sk/table.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@

'columns' => [

'actions' => [
'label' => 'Akcia|Akcie',
],

'text' => [

'actions' => [
'collapse_list' => 'Zobraziť o :count menej',
'expand_list' => 'Zobraziť o :count viac',
],

'more_list_items' => 'a ďalších :count',

],

],
Expand Down
4 changes: 4 additions & 0 deletions packages/tables/resources/lang/uk/table.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

'columns' => [

'actions' => [
'label' => 'Дія|Дії',
],

'text' => [

'actions' => [
Expand Down

0 comments on commit cffdc21

Please sign in to comment.