Phase 0: Fundament für Inhaus
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3) - Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung - Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü - Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person - Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“ - Benutzerverwaltung im Admin, Zugang vorläufig über is_admin - vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/ - PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung - VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7197eaebf2
commit
9c0f8de791
15771 changed files with 1564103 additions and 5 deletions
31
vendor/filament/tables/src/View/Components/Columns/IconColumnComponent/IconComponent.php
vendored
Normal file
31
vendor/filament/tables/src/View/Components/Columns/IconColumnComponent/IconComponent.php
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Tables\View\Components\Columns\IconColumnComponent;
|
||||
|
||||
use Filament\Support\Colors\Color;
|
||||
use Filament\Support\Facades\FilamentColor;
|
||||
use Filament\Support\View\Components\ColorMaps\ComponentColorMap;
|
||||
use Filament\Support\View\Components\Contracts\HasColor;
|
||||
use Filament\Support\View\Components\Contracts\HasDefaultGrayColor;
|
||||
|
||||
class IconComponent implements HasColor, HasDefaultGrayColor
|
||||
{
|
||||
/**
|
||||
* Since the icons in the column are the only content, they should have a color that contrasts
|
||||
* at least 3:1 with the surface to remain compliant with WCAG AA standards.
|
||||
*
|
||||
* @ref https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html
|
||||
*
|
||||
* @param array<int, string> $color
|
||||
* @return array<string, int>
|
||||
*/
|
||||
public function getColorMap(array $color): array
|
||||
{
|
||||
$gray = FilamentColor::getColor('gray');
|
||||
|
||||
return ComponentColorMap::make($color)
|
||||
->slot('text', surface: 'oklch(1 0 0)', minRatio: Color::WCAG_AA_NON_TEXT, fallback: 900)
|
||||
->slot('dark:text', surface: $gray[800], minRatio: Color::WCAG_AA_NON_TEXT, maxShade: 600, shouldStartFromDarkest: true, fallback: 200)
|
||||
->get();
|
||||
}
|
||||
}
|
||||
32
vendor/filament/tables/src/View/Components/Columns/Summarizers/CountComponent/IconComponent.php
vendored
Normal file
32
vendor/filament/tables/src/View/Components/Columns/Summarizers/CountComponent/IconComponent.php
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Tables\View\Components\Columns\Summarizers\CountComponent;
|
||||
|
||||
use Filament\Support\Colors\Color;
|
||||
use Filament\Support\Facades\FilamentColor;
|
||||
use Filament\Support\View\Components\ColorMaps\ComponentColorMap;
|
||||
use Filament\Support\View\Components\Contracts\HasColor;
|
||||
use Filament\Support\View\Components\Contracts\HasDefaultGrayColor;
|
||||
|
||||
class IconComponent implements HasColor, HasDefaultGrayColor
|
||||
{
|
||||
/**
|
||||
* Since the icons in the count summarizer are imperative for the user to understand the
|
||||
* summary, the icon should have a color that contrasts at least 3:1 with the surface to
|
||||
* remain compliant with WCAG AA standards.
|
||||
*
|
||||
* @ref https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html
|
||||
*
|
||||
* @param array<int, string> $color
|
||||
* @return array<string, int>
|
||||
*/
|
||||
public function getColorMap(array $color): array
|
||||
{
|
||||
$gray = FilamentColor::getColor('gray');
|
||||
|
||||
return ComponentColorMap::make($color)
|
||||
->slot('text', surface: 'oklch(1 0 0)', minRatio: Color::WCAG_AA_NON_TEXT, fallback: 900)
|
||||
->slot('dark:text', surface: $gray[900], minRatio: Color::WCAG_AA_NON_TEXT, shouldStartFromDarkest: true, fallback: 200)
|
||||
->get();
|
||||
}
|
||||
}
|
||||
24
vendor/filament/tables/src/View/Components/Columns/TextColumnComponent/ItemComponent.php
vendored
Normal file
24
vendor/filament/tables/src/View/Components/Columns/TextColumnComponent/ItemComponent.php
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Tables\View\Components\Columns\TextColumnComponent;
|
||||
|
||||
use Filament\Support\Facades\FilamentColor;
|
||||
use Filament\Support\View\Components\ColorMaps\ComponentColorMap;
|
||||
use Filament\Support\View\Components\Contracts\HasColor;
|
||||
|
||||
class ItemComponent implements HasColor
|
||||
{
|
||||
/**
|
||||
* @param array<int, string> $color
|
||||
* @return array<string, int>
|
||||
*/
|
||||
public function getColorMap(array $color): array
|
||||
{
|
||||
$gray = FilamentColor::getColor('gray');
|
||||
|
||||
return ComponentColorMap::make($color)
|
||||
->slot('text', surface: 'oklch(1 0 0)', fallback: 900)
|
||||
->slot('dark:text', surface: $gray[800], maxShade: 600, shouldStartFromDarkest: true, fallback: 200)
|
||||
->get();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Tables\View\Components\Columns\TextColumnComponent\ItemComponent;
|
||||
|
||||
use Filament\Support\View\Components\Contracts\HasColor;
|
||||
use Filament\Support\View\Components\Contracts\HasDefaultGrayColor;
|
||||
|
||||
class IconComponent implements HasColor, HasDefaultGrayColor
|
||||
{
|
||||
/**
|
||||
* @param array<int, string> $color
|
||||
* @return array<string, int>
|
||||
*/
|
||||
public function getColorMap(array $color): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
54
vendor/filament/tables/src/View/TablesIconAlias.php
vendored
Normal file
54
vendor/filament/tables/src/View/TablesIconAlias.php
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Tables\View;
|
||||
|
||||
use Filament\QueryBuilder\View\QueryBuilderIconAlias;
|
||||
|
||||
class TablesIconAlias
|
||||
{
|
||||
const ACTIONS_DISABLE_REORDERING = 'tables::actions.disable-reordering';
|
||||
|
||||
const ACTIONS_ENABLE_REORDERING = 'tables::actions.enable-reordering';
|
||||
|
||||
const ACTIONS_FILTER = 'tables::actions.filter';
|
||||
|
||||
const ACTIONS_GROUP = 'tables::actions.group';
|
||||
|
||||
const ACTIONS_OPEN_BULK_ACTIONS = 'tables::actions.open-bulk-actions';
|
||||
|
||||
const ACTIONS_COLUMN_MANAGER = 'tables::actions.column-manager';
|
||||
|
||||
const COLUMNS_COLLAPSE_BUTTON = 'tables::columns.collapse-button';
|
||||
|
||||
const COLUMNS_ICON_COLUMN_FALSE = 'tables::columns.icon-column.false';
|
||||
|
||||
const COLUMNS_ICON_COLUMN_TRUE = 'tables::columns.icon-column.true';
|
||||
|
||||
const EMPTY_STATE = 'tables::empty-state';
|
||||
|
||||
const FILTERS_QUERY_BUILDER_CONSTRAINTS_BOOLEAN = QueryBuilderIconAlias::CONSTRAINTS_BOOLEAN;
|
||||
|
||||
const FILTERS_QUERY_BUILDER_CONSTRAINTS_DATE = QueryBuilderIconAlias::CONSTRAINTS_DATE;
|
||||
|
||||
const FILTERS_QUERY_BUILDER_CONSTRAINTS_NUMBER = QueryBuilderIconAlias::CONSTRAINTS_NUMBER;
|
||||
|
||||
const FILTERS_QUERY_BUILDER_CONSTRAINTS_RELATIONSHIP = QueryBuilderIconAlias::CONSTRAINTS_RELATIONSHIP;
|
||||
|
||||
const FILTERS_QUERY_BUILDER_CONSTRAINTS_SELECT = QueryBuilderIconAlias::CONSTRAINTS_SELECT;
|
||||
|
||||
const FILTERS_QUERY_BUILDER_CONSTRAINTS_TEXT = QueryBuilderIconAlias::CONSTRAINTS_TEXT;
|
||||
|
||||
const FILTERS_REMOVE_ALL_BUTTON = 'tables::filters.remove-all-button';
|
||||
|
||||
const GROUPING_COLLAPSE_BUTTON = 'tables::grouping.collapse-button';
|
||||
|
||||
const HEADER_CELL_SORT_ASC_BUTTON = 'tables::header-cell.sort-asc-button';
|
||||
|
||||
const HEADER_CELL_SORT_BUTTON = 'tables::header-cell.sort-button';
|
||||
|
||||
const HEADER_CELL_SORT_DESC_BUTTON = 'tables::header-cell.sort-desc-button';
|
||||
|
||||
const REORDER_HANDLE = 'tables::reorder.handle';
|
||||
|
||||
const SEARCH_FIELD = 'tables::search-field';
|
||||
}
|
||||
52
vendor/filament/tables/src/View/TablesRenderHook.php
vendored
Normal file
52
vendor/filament/tables/src/View/TablesRenderHook.php
vendored
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
<?php
|
||||
|
||||
namespace Filament\Tables\View;
|
||||
|
||||
class TablesRenderHook
|
||||
{
|
||||
const SELECTION_INDICATOR_ACTIONS_AFTER = 'tables::selection.indicator.actions.after';
|
||||
|
||||
const SELECTION_INDICATOR_ACTIONS_BEFORE = 'tables::selection.indicator.actions.before';
|
||||
|
||||
const HEADER_AFTER = 'tables::header.after';
|
||||
|
||||
const HEADER_BEFORE = 'tables::header.before';
|
||||
|
||||
const TOOLBAR_AFTER = 'tables::toolbar.after';
|
||||
|
||||
const TOOLBAR_BEFORE = 'tables::toolbar.before';
|
||||
|
||||
const TOOLBAR_COLUMN_MANAGER_TRIGGER_AFTER = 'tables::toolbar.toggle-column-trigger.after';
|
||||
|
||||
const TOOLBAR_COLUMN_MANAGER_TRIGGER_BEFORE = 'tables::toolbar.toggle-column-trigger.before';
|
||||
|
||||
const TOOLBAR_END = 'tables::toolbar.end';
|
||||
|
||||
const TOOLBAR_GROUPING_SELECTOR_AFTER = 'tables::toolbar.grouping-selector.after';
|
||||
|
||||
const TOOLBAR_GROUPING_SELECTOR_BEFORE = 'tables::toolbar.grouping-selector.before';
|
||||
|
||||
const TOOLBAR_REORDER_TRIGGER_AFTER = 'tables::toolbar.reorder-trigger.after';
|
||||
|
||||
const TOOLBAR_REORDER_TRIGGER_BEFORE = 'tables::toolbar.reorder-trigger.before';
|
||||
|
||||
const TOOLBAR_SEARCH_AFTER = 'tables::toolbar.search.after';
|
||||
|
||||
const TOOLBAR_SEARCH_BEFORE = 'tables::toolbar.search.before';
|
||||
|
||||
const TOOLBAR_START = 'tables::toolbar.start';
|
||||
|
||||
const FILTER_INDICATORS = 'tables::filter.indicators';
|
||||
|
||||
const HEADER_CELL = 'tables::header.cell';
|
||||
|
||||
/**
|
||||
* @deprecated Use `TOOLBAR_COLUMN_MANAGER_TRIGGER_AFTER` instead.
|
||||
*/
|
||||
const TOOLBAR_TOGGLE_COLUMN_TRIGGER_AFTER = self::TOOLBAR_COLUMN_MANAGER_TRIGGER_AFTER;
|
||||
|
||||
/**
|
||||
* @deprecated Use `TOOLBAR_COLUMN_MANAGER_TRIGGER_BEFORE` instead.
|
||||
*/
|
||||
const TOOLBAR_TOGGLE_COLUMN_TRIGGER_BEFORE = self::TOOLBAR_COLUMN_MANAGER_TRIGGER_BEFORE;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue