diff --git a/docs-assets/app/app/Livewire/Infolists/LayoutDemo.php b/docs-assets/app/app/Livewire/Infolists/LayoutDemo.php deleted file mode 100644 index ac619fcfc6..0000000000 --- a/docs-assets/app/app/Livewire/Infolists/LayoutDemo.php +++ /dev/null @@ -1,428 +0,0 @@ -schema([ - Group::make() - ->id('fieldset') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Fieldset::make('Rate limiting') - ->schema([ - TextEntry::make('hits') - ->state(30), - TextEntry::make('period') - ->state('Hour'), - TextEntry::make('maximum') - ->state(100), - ]) - ->columns(3), - ]), - Group::make() - ->id('tabs') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Tabs::make('Tabs') - ->schema([ - Tab::make('Rate Limiting') - ->schema([ - TextEntry::make('hits') - ->state(30), - TextEntry::make('period') - ->state('Hour'), - TextEntry::make('maximum') - ->state(100), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(3), - Tab::make('Proxy'), - Tab::make('Meta'), - ]), - ]), - Group::make() - ->id('tabsIcons') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Tabs::make('Tabs') - ->schema([ - Tab::make('Notifications') - ->icon('heroicon-m-bell') - ->schema([ - IconEntry::make('enabled') - ->boolean() - ->state(true), - TextEntry::make('frequency') - ->state('Hourly'), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(2), - Tab::make('Security') - ->icon('heroicon-m-lock-closed'), - Tab::make('Meta') - ->icon('heroicon-m-bars-3-center-left'), - ]), - ]), - Group::make() - ->id('tabsIconsAfter') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Tabs::make('Tabs') - ->schema([ - Tab::make('Notifications') - ->icon('heroicon-m-bell') - ->iconPosition(IconPosition::After) - ->schema([ - IconEntry::make('enabled') - ->boolean() - ->state(true), - TextEntry::make('frequency') - ->state('Hourly'), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(2), - Tab::make('Security') - ->icon('heroicon-m-lock-closed') - ->iconPosition(IconPosition::After), - Tab::make('Meta') - ->icon('heroicon-m-bars-3-center-left') - ->iconPosition(IconPosition::After), - ]), - ]), - Group::make() - ->id('tabsBadges') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Tabs::make('Tabs') - ->schema([ - Tab::make('Notifications') - ->badge(5) - ->schema([ - IconEntry::make('enabled') - ->boolean() - ->state(true), - TextEntry::make('frequency') - ->state('Hourly'), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(2), - Tab::make('Security'), - Tab::make('Meta'), - ]), - ]), - Group::make() - ->id('section') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Section::make('Rate limiting') - ->description('Prevent abuse by limiting the number of requests per period') - ->schema([ - TextEntry::make('hits') - ->state(30), - TextEntry::make('period') - ->state('Hour'), - TextEntry::make('maximum') - ->state(100), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(3), - ]), - Group::make() - ->id('sectionHeaderActions') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Section::make('Rate limiting') - ->description('Prevent abuse by limiting the number of requests per period') - ->headerActions([ - Action::make('edit'), - ]) - ->schema([ - TextEntry::make('hits') - ->state(30), - TextEntry::make('period') - ->state('Hour'), - TextEntry::make('maximum') - ->state(100), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(3), - ]), - Group::make() - ->id('sectionFooterActions') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Section::make('Rate limiting') - ->description('Prevent abuse by limiting the number of requests per period') - ->footerActions([ - Action::make('edit'), - ]) - ->schema([ - TextEntry::make('hits') - ->state(30), - TextEntry::make('period') - ->state('Hour'), - TextEntry::make('maximum') - ->state(100), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(3), - ]), - Group::make() - ->id('sectionIcons') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Section::make('Cart') - ->description('The items you have selected for purchase') - ->icon('heroicon-m-shopping-bag') - ->schema([ - RepeatableEntry::make('items') - ->hiddenLabel() - ->schema([ - TextEntry::make('product'), - TextEntry::make('quantity'), - ]) - ->columns(2), - TextEntry::make('specialOrderNotes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.'), - ]), - ]), - Group::make() - ->id('sectionAside') - ->extraAttributes([ - 'class' => 'p-16 max-w-5xl', - ]) - ->schema([ - Section::make('Rate limiting') - ->description('Prevent abuse by limiting the number of requests per period') - ->aside() - ->schema([ - TextEntry::make('hits') - ->state(30), - TextEntry::make('period') - ->state('Hour'), - TextEntry::make('maximum') - ->state(100), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]), - ]), - Group::make() - ->id('sectionCollapsed') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Section::make('Cart') - ->description('The items you have selected for purchase') - ->collapsed(), - ]), - Group::make() - ->id('sectionCompact') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Section::make('Rate limiting') - ->description('Prevent abuse by limiting the number of requests per period') - ->compact() - ->schema([ - TextEntry::make('hits') - ->state(30), - TextEntry::make('period') - ->state('Hour'), - TextEntry::make('maximum') - ->state(100), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(3), - ]), - Group::make() - ->id('sectionWithoutHeader') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Section::make([ - TextEntry::make('hits') - ->state(30), - TextEntry::make('period') - ->state('Hour'), - TextEntry::make('maximum') - ->state(100), - TextEntry::make('notes') - ->state('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam euismod, nisl eget aliquam ultricies, nunc nisl aliquet nunc, quis aliquam nisl.') - ->columnSpanFull(), - ]) - ->columns(3), - ]), - Group::make() - ->id('split') - ->extraAttributes([ - 'class' => 'p-16 max-w-5xl', - ]) - ->schema([ - Split::make([ - Section::make([ - TextEntry::make('title') - ->state('What is Filament?') - ->weight(FontWeight::Bold), - TextEntry::make('content') - ->state(<<<'MARKDOWN' - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non dui eu augue tempor finibus. Vivamus tincidunt malesuada volutpat. Donec ornare euismod est id cursus. Donec dolor nisl, dignissim vitae vulputate accumsan, consequat a lorem. - - Praesent nec nulla ut erat mattis tincidunt. Donec dictum nibh at consequat finibus. Donec dignissim velit euismod dui lobortis, ut cursus ante auctor. Donec id placerat felis. Nulla dolor arcu, sodales nec sapien ut, laoreet rhoncus risus. Interdum et malesuada fames ac ante ipsum primis in faucibus. - MARKDOWN) - ->markdown() - ->prose(), - ]), - Section::make([ - TextEntry::make('created_at') - ->dateTime() - ->state('2022-01-01 14:10:32'), - TextEntry::make('published_at') - ->dateTime() - ->state('2023-07-02 23:29:24'), - ])->grow(false), - ]), - ]), - Group::make() - ->id('anonymousActions') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Actions::make([ - Action::make('star') - ->icon('heroicon-m-star'), - Action::make('resetStars') - ->icon('heroicon-m-x-mark') - ->color('danger'), - ]), - ]), - Group::make() - ->id('anonymousActionsFullWidth') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Actions::make([ - Action::make('star') - ->icon('heroicon-m-star'), - Action::make('resetStars') - ->icon('heroicon-m-x-mark') - ->color('danger'), - ])->fullWidth(), - ]), - Group::make() - ->id('anonymousActionsHorizontallyAlignedCenter') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Actions::make([ - Action::make('star') - ->icon('heroicon-m-star'), - Action::make('resetStars') - ->icon('heroicon-m-x-mark') - ->color('danger'), - ])->alignment(Alignment::Center), - ]), - Group::make() - ->id('anonymousActionsVerticallyAlignedEnd') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Grid::make(2) - ->schema([ - TextEntry::make('stars') - ->state(4572100479) - ->numeric(), - Actions::make([ - Action::make('star') - ->icon('heroicon-m-star'), - Action::make('resetStars') - ->icon('heroicon-m-x-mark') - ->color('danger'), - ])->verticalAlignment(VerticalAlignment::End), - ]), - ]), - ]) - ->constantState([ - 'items' => [ - ['product' => 'Filament t-shirt', 'quantity' => 3], - ['product' => 'Filament hoodie', 'quantity' => 1], - ], - ]); - } - - public function render() - { - return view('livewire.infolists.layout'); - } -} diff --git a/docs-assets/app/app/Livewire/Forms/LayoutDemo.php b/docs-assets/app/app/Livewire/Schema/LayoutDemo.php similarity index 98% rename from docs-assets/app/app/Livewire/Forms/LayoutDemo.php rename to docs-assets/app/app/Livewire/Schema/LayoutDemo.php index ad8daf229b..4d11987851 100644 --- a/docs-assets/app/app/Livewire/Forms/LayoutDemo.php +++ b/docs-assets/app/app/Livewire/Schema/LayoutDemo.php @@ -1,10 +1,9 @@ columns(3), ]), - Group::make() - ->id('placeholder') - ->extraAttributes([ - 'class' => 'p-16 max-w-2xl', - ]) - ->schema([ - Placeholder::make('created') - ->content('May 21, 2021'), - ]), Group::make() ->id('sectionWithoutHeader') ->extraAttributes([ @@ -607,6 +597,6 @@ class LayoutDemo extends Component implements HasForms public function render() { - return view('livewire.forms.layout'); + return view('livewire.schema.layout'); } } diff --git a/docs-assets/app/resources/views/livewire/infolists/layout.blade.php b/docs-assets/app/resources/views/livewire/infolists/layout.blade.php deleted file mode 100644 index 5951c0746a..0000000000 --- a/docs-assets/app/resources/views/livewire/infolists/layout.blade.php +++ /dev/null @@ -1,3 +0,0 @@ -
- {{ $this->infolist }} -
diff --git a/docs-assets/app/resources/views/livewire/forms/layout.blade.php b/docs-assets/app/resources/views/livewire/schema/layout.blade.php similarity index 100% rename from docs-assets/app/resources/views/livewire/forms/layout.blade.php rename to docs-assets/app/resources/views/livewire/schema/layout.blade.php diff --git a/docs-assets/app/routes/web.php b/docs-assets/app/routes/web.php index 68bd0deace..2dec6bd905 100644 --- a/docs-assets/app/routes/web.php +++ b/docs-assets/app/routes/web.php @@ -3,10 +3,11 @@ use App\Livewire\ActionsDemo; use App\Livewire\Forms\FieldsDemo; use App\Livewire\Forms\GettingStartedDemo; -use App\Livewire\Forms\LayoutDemo as FormsLayoutDemo; use App\Livewire\Infolists\EntriesDemo; use App\Livewire\Infolists\LayoutDemo as InfolistsLayoutDemo; use App\Livewire\NotificationsDemo; +use App\Livewire\Schema\LayoutDemo; +use App\Livewire\Schema\LayoutDemo as FormsLayoutDemo; use App\Livewire\TablesDemo; use Illuminate\Support\Facades\Route; @@ -24,8 +25,7 @@ use Illuminate\Support\Facades\Route; Route::get('/actions', ActionsDemo::class); Route::get('/forms/fields', FieldsDemo::class); Route::get('/forms/getting-started', GettingStartedDemo::class); -Route::get('/forms/layout', FormsLayoutDemo::class); Route::get('/infolists/entries', EntriesDemo::class); -Route::get('/infolists/layout', InfolistsLayoutDemo::class); +Route::get('/schema/layout', LayoutDemo::class); Route::get('/notifications', NotificationsDemo::class); Route::get('/tables', TablesDemo::class); diff --git a/docs-assets/screenshots/images/dark/forms/layout/placeholder/simple.jpg b/docs-assets/screenshots/images/dark/forms/layout/placeholder/simple.jpg deleted file mode 100644 index 072bf1b102..0000000000 Binary files a/docs-assets/screenshots/images/dark/forms/layout/placeholder/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/full-width.jpg b/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/full-width.jpg deleted file mode 100644 index 30ef9d3713..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/full-width.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/horizontally-aligned-center.jpg b/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/horizontally-aligned-center.jpg deleted file mode 100644 index 7cf5ae0a02..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/horizontally-aligned-center.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/simple.jpg b/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/simple.jpg deleted file mode 100644 index 7fd55310e9..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/vertically-aligned-end.jpg b/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/vertically-aligned-end.jpg deleted file mode 100644 index 7571f660c2..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/actions/anonymous/vertically-aligned-end.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/card/simple.jpg b/docs-assets/screenshots/images/dark/infolists/layout/card/simple.jpg deleted file mode 100644 index c672481a1f..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/card/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/fieldset/simple.jpg b/docs-assets/screenshots/images/dark/infolists/layout/fieldset/simple.jpg deleted file mode 100644 index 1abe7e6a60..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/fieldset/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/section/aside.jpg b/docs-assets/screenshots/images/dark/infolists/layout/section/aside.jpg deleted file mode 100644 index e5a4b77e4f..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/section/aside.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/section/collapsed.jpg b/docs-assets/screenshots/images/dark/infolists/layout/section/collapsed.jpg deleted file mode 100644 index 304dbfc800..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/section/collapsed.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/section/compact.jpg b/docs-assets/screenshots/images/dark/infolists/layout/section/compact.jpg deleted file mode 100644 index 5189ee52d1..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/section/compact.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/section/footer/actions.jpg b/docs-assets/screenshots/images/dark/infolists/layout/section/footer/actions.jpg deleted file mode 100644 index b914962dcc..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/section/footer/actions.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/section/header/actions.jpg b/docs-assets/screenshots/images/dark/infolists/layout/section/header/actions.jpg deleted file mode 100644 index a843bcb8e5..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/section/header/actions.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/section/icons.jpg b/docs-assets/screenshots/images/dark/infolists/layout/section/icons.jpg deleted file mode 100644 index f4e45897bf..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/section/icons.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/section/simple.jpg b/docs-assets/screenshots/images/dark/infolists/layout/section/simple.jpg deleted file mode 100644 index b9d67acc88..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/section/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/section/without-header.jpg b/docs-assets/screenshots/images/dark/infolists/layout/section/without-header.jpg deleted file mode 100644 index 19318ebbb1..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/section/without-header.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/split/simple.jpg b/docs-assets/screenshots/images/dark/infolists/layout/split/simple.jpg deleted file mode 100644 index 4180b7969f..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/split/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/tabs/badges.jpg b/docs-assets/screenshots/images/dark/infolists/layout/tabs/badges.jpg deleted file mode 100644 index f4a6a62c8a..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/tabs/badges.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/tabs/icons-after.jpg b/docs-assets/screenshots/images/dark/infolists/layout/tabs/icons-after.jpg deleted file mode 100644 index 569b21a56f..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/tabs/icons-after.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/tabs/icons.jpg b/docs-assets/screenshots/images/dark/infolists/layout/tabs/icons.jpg deleted file mode 100644 index a3a2a59441..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/tabs/icons.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/infolists/layout/tabs/simple.jpg b/docs-assets/screenshots/images/dark/infolists/layout/tabs/simple.jpg deleted file mode 100644 index 5795ec29e9..0000000000 Binary files a/docs-assets/screenshots/images/dark/infolists/layout/tabs/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/dark/forms/layout/actions/anonymous/full-width.jpg b/docs-assets/screenshots/images/dark/schema/layout/actions/anonymous/full-width.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/actions/anonymous/full-width.jpg rename to docs-assets/screenshots/images/dark/schema/layout/actions/anonymous/full-width.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/actions/anonymous/horizontally-aligned-center.jpg b/docs-assets/screenshots/images/dark/schema/layout/actions/anonymous/horizontally-aligned-center.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/actions/anonymous/horizontally-aligned-center.jpg rename to docs-assets/screenshots/images/dark/schema/layout/actions/anonymous/horizontally-aligned-center.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/actions/anonymous/simple.jpg b/docs-assets/screenshots/images/dark/schema/layout/actions/anonymous/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/actions/anonymous/simple.jpg rename to docs-assets/screenshots/images/dark/schema/layout/actions/anonymous/simple.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/actions/anonymous/vertically-aligned-end.jpg b/docs-assets/screenshots/images/dark/schema/layout/actions/anonymous/vertically-aligned-end.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/actions/anonymous/vertically-aligned-end.jpg rename to docs-assets/screenshots/images/dark/schema/layout/actions/anonymous/vertically-aligned-end.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/card/simple.jpg b/docs-assets/screenshots/images/dark/schema/layout/card/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/card/simple.jpg rename to docs-assets/screenshots/images/dark/schema/layout/card/simple.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/fieldset/simple.jpg b/docs-assets/screenshots/images/dark/schema/layout/fieldset/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/fieldset/simple.jpg rename to docs-assets/screenshots/images/dark/schema/layout/fieldset/simple.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/section/aside.jpg b/docs-assets/screenshots/images/dark/schema/layout/section/aside.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/section/aside.jpg rename to docs-assets/screenshots/images/dark/schema/layout/section/aside.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/section/collapsed.jpg b/docs-assets/screenshots/images/dark/schema/layout/section/collapsed.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/section/collapsed.jpg rename to docs-assets/screenshots/images/dark/schema/layout/section/collapsed.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/section/compact.jpg b/docs-assets/screenshots/images/dark/schema/layout/section/compact.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/section/compact.jpg rename to docs-assets/screenshots/images/dark/schema/layout/section/compact.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/section/footer/actions.jpg b/docs-assets/screenshots/images/dark/schema/layout/section/footer/actions.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/section/footer/actions.jpg rename to docs-assets/screenshots/images/dark/schema/layout/section/footer/actions.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/section/header/actions.jpg b/docs-assets/screenshots/images/dark/schema/layout/section/header/actions.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/section/header/actions.jpg rename to docs-assets/screenshots/images/dark/schema/layout/section/header/actions.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/section/icons.jpg b/docs-assets/screenshots/images/dark/schema/layout/section/icons.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/section/icons.jpg rename to docs-assets/screenshots/images/dark/schema/layout/section/icons.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/section/simple.jpg b/docs-assets/screenshots/images/dark/schema/layout/section/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/section/simple.jpg rename to docs-assets/screenshots/images/dark/schema/layout/section/simple.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/section/without-header.jpg b/docs-assets/screenshots/images/dark/schema/layout/section/without-header.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/section/without-header.jpg rename to docs-assets/screenshots/images/dark/schema/layout/section/without-header.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/split/simple.jpg b/docs-assets/screenshots/images/dark/schema/layout/split/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/split/simple.jpg rename to docs-assets/screenshots/images/dark/schema/layout/split/simple.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/tabs/badges.jpg b/docs-assets/screenshots/images/dark/schema/layout/tabs/badges.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/tabs/badges.jpg rename to docs-assets/screenshots/images/dark/schema/layout/tabs/badges.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/tabs/icons-after.jpg b/docs-assets/screenshots/images/dark/schema/layout/tabs/icons-after.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/tabs/icons-after.jpg rename to docs-assets/screenshots/images/dark/schema/layout/tabs/icons-after.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/tabs/icons.jpg b/docs-assets/screenshots/images/dark/schema/layout/tabs/icons.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/tabs/icons.jpg rename to docs-assets/screenshots/images/dark/schema/layout/tabs/icons.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/tabs/simple.jpg b/docs-assets/screenshots/images/dark/schema/layout/tabs/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/tabs/simple.jpg rename to docs-assets/screenshots/images/dark/schema/layout/tabs/simple.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/wizard/completed-icons.jpg b/docs-assets/screenshots/images/dark/schema/layout/wizard/completed-icons.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/wizard/completed-icons.jpg rename to docs-assets/screenshots/images/dark/schema/layout/wizard/completed-icons.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/wizard/descriptions.jpg b/docs-assets/screenshots/images/dark/schema/layout/wizard/descriptions.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/wizard/descriptions.jpg rename to docs-assets/screenshots/images/dark/schema/layout/wizard/descriptions.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/wizard/icons.jpg b/docs-assets/screenshots/images/dark/schema/layout/wizard/icons.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/wizard/icons.jpg rename to docs-assets/screenshots/images/dark/schema/layout/wizard/icons.jpg diff --git a/docs-assets/screenshots/images/dark/forms/layout/wizard/simple.jpg b/docs-assets/screenshots/images/dark/schema/layout/wizard/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/dark/forms/layout/wizard/simple.jpg rename to docs-assets/screenshots/images/dark/schema/layout/wizard/simple.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/placeholder/simple.jpg b/docs-assets/screenshots/images/light/forms/layout/placeholder/simple.jpg deleted file mode 100644 index 321545aaae..0000000000 Binary files a/docs-assets/screenshots/images/light/forms/layout/placeholder/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/full-width.jpg b/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/full-width.jpg deleted file mode 100644 index e6aeb5d003..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/full-width.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/horizontally-aligned-center.jpg b/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/horizontally-aligned-center.jpg deleted file mode 100644 index 511d99cb9f..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/horizontally-aligned-center.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/simple.jpg b/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/simple.jpg deleted file mode 100644 index fbd5a62d71..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/vertically-aligned-end.jpg b/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/vertically-aligned-end.jpg deleted file mode 100644 index a68770f590..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/actions/anonymous/vertically-aligned-end.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/card/simple.jpg b/docs-assets/screenshots/images/light/infolists/layout/card/simple.jpg deleted file mode 100644 index eff890a270..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/card/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/fieldset/simple.jpg b/docs-assets/screenshots/images/light/infolists/layout/fieldset/simple.jpg deleted file mode 100644 index 363bf6919e..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/fieldset/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/section/aside.jpg b/docs-assets/screenshots/images/light/infolists/layout/section/aside.jpg deleted file mode 100644 index 8f9d7f0d99..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/section/aside.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/section/collapsed.jpg b/docs-assets/screenshots/images/light/infolists/layout/section/collapsed.jpg deleted file mode 100644 index 62aad4f486..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/section/collapsed.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/section/compact.jpg b/docs-assets/screenshots/images/light/infolists/layout/section/compact.jpg deleted file mode 100644 index 0880e94e51..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/section/compact.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/section/footer/actions.jpg b/docs-assets/screenshots/images/light/infolists/layout/section/footer/actions.jpg deleted file mode 100644 index b605f1f1bd..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/section/footer/actions.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/section/header/actions.jpg b/docs-assets/screenshots/images/light/infolists/layout/section/header/actions.jpg deleted file mode 100644 index 53dbc8e333..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/section/header/actions.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/section/icons.jpg b/docs-assets/screenshots/images/light/infolists/layout/section/icons.jpg deleted file mode 100644 index 0c8cfce3c9..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/section/icons.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/section/simple.jpg b/docs-assets/screenshots/images/light/infolists/layout/section/simple.jpg deleted file mode 100644 index 2054781b4b..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/section/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/section/without-header.jpg b/docs-assets/screenshots/images/light/infolists/layout/section/without-header.jpg deleted file mode 100644 index ce28cb6ac6..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/section/without-header.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/split/simple.jpg b/docs-assets/screenshots/images/light/infolists/layout/split/simple.jpg deleted file mode 100644 index bcd193d32b..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/split/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/tabs/badges.jpg b/docs-assets/screenshots/images/light/infolists/layout/tabs/badges.jpg deleted file mode 100644 index 7df0d4776f..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/tabs/badges.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/tabs/icons-after.jpg b/docs-assets/screenshots/images/light/infolists/layout/tabs/icons-after.jpg deleted file mode 100644 index 6122af8a6f..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/tabs/icons-after.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/tabs/icons.jpg b/docs-assets/screenshots/images/light/infolists/layout/tabs/icons.jpg deleted file mode 100644 index 40665bd97b..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/tabs/icons.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/infolists/layout/tabs/simple.jpg b/docs-assets/screenshots/images/light/infolists/layout/tabs/simple.jpg deleted file mode 100644 index a6d681340f..0000000000 Binary files a/docs-assets/screenshots/images/light/infolists/layout/tabs/simple.jpg and /dev/null differ diff --git a/docs-assets/screenshots/images/light/forms/layout/actions/anonymous/full-width.jpg b/docs-assets/screenshots/images/light/schema/layout/actions/anonymous/full-width.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/actions/anonymous/full-width.jpg rename to docs-assets/screenshots/images/light/schema/layout/actions/anonymous/full-width.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/actions/anonymous/horizontally-aligned-center.jpg b/docs-assets/screenshots/images/light/schema/layout/actions/anonymous/horizontally-aligned-center.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/actions/anonymous/horizontally-aligned-center.jpg rename to docs-assets/screenshots/images/light/schema/layout/actions/anonymous/horizontally-aligned-center.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/actions/anonymous/simple.jpg b/docs-assets/screenshots/images/light/schema/layout/actions/anonymous/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/actions/anonymous/simple.jpg rename to docs-assets/screenshots/images/light/schema/layout/actions/anonymous/simple.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/actions/anonymous/vertically-aligned-end.jpg b/docs-assets/screenshots/images/light/schema/layout/actions/anonymous/vertically-aligned-end.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/actions/anonymous/vertically-aligned-end.jpg rename to docs-assets/screenshots/images/light/schema/layout/actions/anonymous/vertically-aligned-end.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/card/simple.jpg b/docs-assets/screenshots/images/light/schema/layout/card/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/card/simple.jpg rename to docs-assets/screenshots/images/light/schema/layout/card/simple.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/fieldset/simple.jpg b/docs-assets/screenshots/images/light/schema/layout/fieldset/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/fieldset/simple.jpg rename to docs-assets/screenshots/images/light/schema/layout/fieldset/simple.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/section/aside.jpg b/docs-assets/screenshots/images/light/schema/layout/section/aside.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/section/aside.jpg rename to docs-assets/screenshots/images/light/schema/layout/section/aside.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/section/collapsed.jpg b/docs-assets/screenshots/images/light/schema/layout/section/collapsed.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/section/collapsed.jpg rename to docs-assets/screenshots/images/light/schema/layout/section/collapsed.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/section/compact.jpg b/docs-assets/screenshots/images/light/schema/layout/section/compact.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/section/compact.jpg rename to docs-assets/screenshots/images/light/schema/layout/section/compact.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/section/footer/actions.jpg b/docs-assets/screenshots/images/light/schema/layout/section/footer/actions.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/section/footer/actions.jpg rename to docs-assets/screenshots/images/light/schema/layout/section/footer/actions.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/section/header/actions.jpg b/docs-assets/screenshots/images/light/schema/layout/section/header/actions.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/section/header/actions.jpg rename to docs-assets/screenshots/images/light/schema/layout/section/header/actions.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/section/icons.jpg b/docs-assets/screenshots/images/light/schema/layout/section/icons.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/section/icons.jpg rename to docs-assets/screenshots/images/light/schema/layout/section/icons.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/section/simple.jpg b/docs-assets/screenshots/images/light/schema/layout/section/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/section/simple.jpg rename to docs-assets/screenshots/images/light/schema/layout/section/simple.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/section/without-header.jpg b/docs-assets/screenshots/images/light/schema/layout/section/without-header.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/section/without-header.jpg rename to docs-assets/screenshots/images/light/schema/layout/section/without-header.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/split/simple.jpg b/docs-assets/screenshots/images/light/schema/layout/split/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/split/simple.jpg rename to docs-assets/screenshots/images/light/schema/layout/split/simple.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/tabs/badges.jpg b/docs-assets/screenshots/images/light/schema/layout/tabs/badges.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/tabs/badges.jpg rename to docs-assets/screenshots/images/light/schema/layout/tabs/badges.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/tabs/icons-after.jpg b/docs-assets/screenshots/images/light/schema/layout/tabs/icons-after.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/tabs/icons-after.jpg rename to docs-assets/screenshots/images/light/schema/layout/tabs/icons-after.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/tabs/icons.jpg b/docs-assets/screenshots/images/light/schema/layout/tabs/icons.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/tabs/icons.jpg rename to docs-assets/screenshots/images/light/schema/layout/tabs/icons.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/tabs/simple.jpg b/docs-assets/screenshots/images/light/schema/layout/tabs/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/tabs/simple.jpg rename to docs-assets/screenshots/images/light/schema/layout/tabs/simple.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/wizard/completed-icons.jpg b/docs-assets/screenshots/images/light/schema/layout/wizard/completed-icons.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/wizard/completed-icons.jpg rename to docs-assets/screenshots/images/light/schema/layout/wizard/completed-icons.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/wizard/descriptions.jpg b/docs-assets/screenshots/images/light/schema/layout/wizard/descriptions.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/wizard/descriptions.jpg rename to docs-assets/screenshots/images/light/schema/layout/wizard/descriptions.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/wizard/icons.jpg b/docs-assets/screenshots/images/light/schema/layout/wizard/icons.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/wizard/icons.jpg rename to docs-assets/screenshots/images/light/schema/layout/wizard/icons.jpg diff --git a/docs-assets/screenshots/images/light/forms/layout/wizard/simple.jpg b/docs-assets/screenshots/images/light/schema/layout/wizard/simple.jpg similarity index 100% rename from docs-assets/screenshots/images/light/forms/layout/wizard/simple.jpg rename to docs-assets/screenshots/images/light/schema/layout/wizard/simple.jpg diff --git a/docs-assets/screenshots/schema.js b/docs-assets/screenshots/schema.js index 0d6d4def35..b224b77b48 100644 --- a/docs-assets/screenshots/schema.js +++ b/docs-assets/screenshots/schema.js @@ -1112,8 +1112,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/fieldset/simple': { - url: 'forms/layout', + 'schema/layout/fieldset/simple': { + url: 'schema/layout', selector: '#fieldset', viewport: { width: 1920, @@ -1121,8 +1121,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/tabs/simple': { - url: 'forms/layout', + 'schema/layout/tabs/simple': { + url: 'schema/layout', selector: '#tabs', viewport: { width: 1920, @@ -1130,8 +1130,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/tabs/icons': { - url: 'forms/layout', + 'schema/layout/tabs/icons': { + url: 'schema/layout', selector: '#tabsIcons', viewport: { width: 1920, @@ -1139,8 +1139,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/tabs/icons-after': { - url: 'forms/layout', + 'schema/layout/tabs/icons-after': { + url: 'schema/layout', selector: '#tabsIconsAfter', viewport: { width: 1920, @@ -1148,8 +1148,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/tabs/badges': { - url: 'forms/layout', + 'schema/layout/tabs/badges': { + url: 'schema/layout', selector: '#tabsBadges', viewport: { width: 1920, @@ -1157,8 +1157,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/wizard/simple': { - url: 'forms/layout', + 'schema/layout/wizard/simple': { + url: 'schema/layout', selector: '#wizard', viewport: { width: 1920, @@ -1166,8 +1166,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/wizard/icons': { - url: 'forms/layout', + 'schema/layout/wizard/icons': { + url: 'schema/layout', selector: '#wizardIcons', viewport: { width: 1920, @@ -1175,8 +1175,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/wizard/completed-icons': { - url: 'forms/layout', + 'schema/layout/wizard/completed-icons': { + url: 'schema/layout', selector: '#wizardCompletedIcons', viewport: { width: 1920, @@ -1184,8 +1184,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/wizard/descriptions': { - url: 'forms/layout', + 'schema/layout/wizard/descriptions': { + url: 'schema/layout', selector: '#wizardDescriptions', viewport: { width: 1920, @@ -1193,8 +1193,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/section/simple': { - url: 'forms/layout', + 'schema/layout/section/simple': { + url: 'schema/layout', selector: '#section', viewport: { width: 1920, @@ -1202,8 +1202,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/section/header/actions': { - url: 'forms/layout', + 'schema/layout/section/header/actions': { + url: 'schema/layout', selector: '#sectionHeaderActions', viewport: { width: 1920, @@ -1211,8 +1211,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/section/footer/actions': { - url: 'forms/layout', + 'schema/layout/section/footer/actions': { + url: 'schema/layout', selector: '#sectionFooterActions', viewport: { width: 1920, @@ -1220,8 +1220,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/section/icons': { - url: 'forms/layout', + 'schema/layout/section/icons': { + url: 'schema/layout', selector: '#sectionIcons', viewport: { width: 1920, @@ -1229,8 +1229,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/section/aside': { - url: 'forms/layout', + 'schema/layout/section/aside': { + url: 'schema/layout', selector: '#sectionAside', viewport: { width: 1920, @@ -1238,8 +1238,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/section/collapsed': { - url: 'forms/layout', + 'schema/layout/section/collapsed': { + url: 'schema/layout', selector: '#sectionCollapsed', viewport: { width: 1920, @@ -1247,8 +1247,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/section/compact': { - url: 'forms/layout', + 'schema/layout/section/compact': { + url: 'schema/layout', selector: '#sectionCompact', viewport: { width: 1920, @@ -1256,8 +1256,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/section/without-header': { - url: 'forms/layout', + 'schema/layout/section/without-header': { + url: 'schema/layout', selector: '#sectionWithoutHeader', viewport: { width: 1920, @@ -1265,8 +1265,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/split/simple': { - url: 'forms/layout', + 'schema/layout/split/simple': { + url: 'schema/layout', selector: '#split', viewport: { width: 1920, @@ -1274,17 +1274,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/placeholder/simple': { - url: 'forms/layout', - selector: '#placeholder', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'forms/layout/actions/anonymous/simple': { - url: 'forms/layout', + 'schema/layout/actions/anonymous/simple': { + url: 'schema/layout', selector: '#anonymousActions', viewport: { width: 1920, @@ -1292,8 +1283,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/actions/anonymous/full-width': { - url: 'forms/layout', + 'schema/layout/actions/anonymous/full-width': { + url: 'schema/layout', selector: '#anonymousActionsFullWidth', viewport: { width: 1920, @@ -1301,8 +1292,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/actions/anonymous/horizontally-aligned-center': { - url: 'forms/layout', + 'schema/layout/actions/anonymous/horizontally-aligned-center': { + url: 'schema/layout', selector: '#anonymousActionsHorizontallyAlignedCenter', viewport: { width: 1920, @@ -1310,8 +1301,8 @@ export default { deviceScaleFactor: 3, }, }, - 'forms/layout/actions/anonymous/vertically-aligned-end': { - url: 'forms/layout', + 'schema/layout/actions/anonymous/vertically-aligned-end': { + url: 'schema/layout', selector: '#anonymousActionsVerticallyAlignedEnd', viewport: { width: 1920, @@ -1685,168 +1676,6 @@ export default { deviceScaleFactor: 3, }, }, - 'infolists/layout/fieldset/simple': { - url: 'infolists/layout', - selector: '#fieldset', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/tabs/simple': { - url: 'infolists/layout', - selector: '#tabs', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/tabs/icons': { - url: 'infolists/layout', - selector: '#tabsIcons', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/tabs/icons-after': { - url: 'infolists/layout', - selector: '#tabsIconsAfter', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/tabs/badges': { - url: 'infolists/layout', - selector: '#tabsBadges', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/section/simple': { - url: 'infolists/layout', - selector: '#section', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/section/header/actions': { - url: 'infolists/layout', - selector: '#sectionHeaderActions', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/section/footer/actions': { - url: 'infolists/layout', - selector: '#sectionFooterActions', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/section/icons': { - url: 'infolists/layout', - selector: '#sectionIcons', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/section/aside': { - url: 'infolists/layout', - selector: '#sectionAside', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/section/collapsed': { - url: 'infolists/layout', - selector: '#sectionCollapsed', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/section/compact': { - url: 'infolists/layout', - selector: '#sectionCompact', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/section/without-header': { - url: 'infolists/layout', - selector: '#sectionWithoutHeader', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/split/simple': { - url: 'infolists/layout', - selector: '#split', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/actions/anonymous/simple': { - url: 'infolists/layout', - selector: '#anonymousActions', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/actions/anonymous/full-width': { - url: 'infolists/layout', - selector: '#anonymousActionsFullWidth', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/actions/anonymous/horizontally-aligned-center': { - url: 'infolists/layout', - selector: '#anonymousActionsHorizontallyAlignedCenter', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, - 'infolists/layout/actions/anonymous/vertically-aligned-end': { - url: 'infolists/layout', - selector: '#anonymousActionsVerticallyAlignedEnd', - viewport: { - width: 1920, - height: 640, - deviceScaleFactor: 3, - }, - }, 'notifications/success': { url: 'notifications?method=success', selector: 'body', diff --git a/docs/04-ui/01-overview.md b/docs/04-ui/01-overview.md index 5981834d7b..95da01683a 100644 --- a/docs/04-ui/01-overview.md +++ b/docs/04-ui/01-overview.md @@ -2,8 +2,6 @@ title: Overview --- -## Overview - Filament packages consume a set of core Blade components that aim to provide a consistent and maintainable foundation for all interfaces. Some of these components are also available for use in your own applications and Filament plugins. ## Available UI components diff --git a/packages/actions/docs/03-trigger-button.md b/packages/actions/docs/03-trigger-button.md index 998f8b9e41..bd4838f664 100644 --- a/packages/actions/docs/03-trigger-button.md +++ b/packages/actions/docs/03-trigger-button.md @@ -20,7 +20,7 @@ Action::make('edit') ->button() ``` - + "Link" triggers have no background color. They must have a label and optionally an [icon](#setting-an-icon). They look like a link that you might find embedded within text. You can switch to that style with the `link()` method: @@ -29,7 +29,7 @@ Action::make('edit') ->link() ``` - + "Icon button" triggers are circular buttons with an [icon](#setting-an-icon) and no label. You can switch to that style with the `iconButton()` method: @@ -39,7 +39,7 @@ Action::make('edit') ->iconButton() ``` - + "Badge" triggers have a background color, label, and optionally an [icon](#setting-an-icon). You can use a badge as trigger using the `badge()` method: @@ -48,7 +48,7 @@ Action::make('edit') ->badge() ``` - + ### Using an icon button on mobile devices only @@ -88,7 +88,7 @@ Action::make('delete') ->color('danger') ``` - + ## Setting a size @@ -101,7 +101,7 @@ Action::make('create') ->size(ActionSize::Large) ``` - + ## Setting an icon @@ -113,7 +113,7 @@ Action::make('edit') ->icon('heroicon-m-pencil-square') ``` - + You can also change the icon's position to be after the label instead of before it, using the `iconPosition()` method: @@ -126,7 +126,7 @@ Action::make('edit') ->iconPosition(IconPosition::After) ``` - + ## Authorization @@ -185,7 +185,7 @@ Action::make('filter') ->badge(5) ``` - + You can also pass a [color](../styling/colors) to be used for the badge: @@ -199,7 +199,7 @@ Action::make('filter') ->badgeColor('success') ``` - + ## Outlined button style @@ -214,7 +214,7 @@ Action::make('edit') ->outlined() ``` - + ## Adding extra HTML attributes diff --git a/packages/actions/docs/04-modals.md b/packages/actions/docs/04-modals.md index f708d3f6a1..b6ecd48f87 100644 --- a/packages/actions/docs/04-modals.md +++ b/packages/actions/docs/04-modals.md @@ -19,7 +19,7 @@ Action::make('delete') ->requiresConfirmation() ``` - + > The confirmation modal is not available when a `url()` is set instead of an `action()`. Instead, you should redirect to the URL within the `action()` closure. @@ -47,7 +47,7 @@ Action::make('updateAuthor') }) ``` - + ### Filling the form with existing data @@ -76,7 +76,7 @@ Action::make('updateAuthor') ### Using a wizard as a modal form -You may create a [multistep form wizard](../forms/layout/wizard) inside a modal. Instead of using a `form()`, define a `steps()` array and pass your `Step` objects: +You may create a [multistep form wizard](../schema/layout/wizard) inside a modal. Instead of using a `form()`, define a `steps()` array and pass your `Step` objects: ```php use Filament\Forms\Components\MarkdownEditor; @@ -114,7 +114,7 @@ Action::make('create') ]) ``` - + ### Disabling all form fields @@ -156,7 +156,7 @@ Action::make('delete') ->modalSubmitActionLabel('Yes, delete it') ``` - + ## Adding an icon inside the modal @@ -171,7 +171,7 @@ Action::make('delete') ->modalIcon('heroicon-o-trash') ``` - + By default, the icon will inherit the color of the action button. You may customize the color of the icon using the `modalIconColor()` method: @@ -286,7 +286,7 @@ Action::make('updateAuthor') ->slideOver() ``` - + Instead of opening in the center of the screen, the modal content will now slide in from the right and consume the entire height of the browser. diff --git a/packages/actions/docs/05-grouping-actions.md b/packages/actions/docs/05-grouping-actions.md index 33202f8225..41e4e6a216 100644 --- a/packages/actions/docs/05-grouping-actions.md +++ b/packages/actions/docs/05-grouping-actions.md @@ -15,7 +15,7 @@ ActionGroup::make([ ]) ``` - + This page is about customizing the look of the group's trigger button and dropdown. @@ -36,7 +36,7 @@ ActionGroup::make([ ->button() ``` - + ## Setting the placement of the dropdown @@ -49,7 +49,7 @@ ActionGroup::make([ ->dropdownPlacement('top-start') ``` - + ## Adding dividers between actions @@ -66,7 +66,7 @@ ActionGroup::make([ The `dropdown(false)` method puts the actions inside the parent dropdown, instead of a new nested dropdown. - + ## Setting the width of the dropdown diff --git a/packages/forms/docs/02-getting-started.md b/packages/forms/docs/02-getting-started.md index 54c7937f80..af0919df09 100644 --- a/packages/forms/docs/02-getting-started.md +++ b/packages/forms/docs/02-getting-started.md @@ -5,17 +5,17 @@ import AutoScreenshot from "@components/AutoScreenshot.astro" ## Overview -Filament's form package allows you to easily build dynamic forms in your app. You can use it to [add a form to any Livewire component](adding-a-form-to-a-livewire-component). Additionally, it's used within other Filament packages to render forms within [app resources](../panels/resources/getting-started), [action modals](../actions/modals), [table filters](../tables/filters/getting-started), and more. Learning how to build forms is essential to learning how to use these Filament packages. +Filament's form package allows you to easily build dynamic forms in your app. You can use it to [add a form to any Livewire component](adding-a-form-to-a-livewire-component). Additionally, it's used within other Filament packages to render forms within [app resources](../panels/resources), [action modals](../actions/modals), [table filters](../tables/filters/getting-started), and more. Learning how to build forms is essential to learning how to use these Filament packages. -This guide will walk you through the basics of building forms with Filament's form package. If you're planning to add a new form to your own Livewire component, you should [do that first](adding-a-form-to-a-livewire-component) and then come back. If you're adding a form to an [app resource](../panels/resources/getting-started), or another Filament package, you're ready to go! +This guide will walk you through the basics of building forms with Filament's form package. If you're planning to add a new form to your own Livewire component, you should [do that first](adding-a-form-to-a-livewire-component) and then come back. If you're adding a form to an [app resource](../panels/resources), or another Filament package, you're ready to go! ## Form schemas -All Filament forms have a "schema". This is an array, which contains [fields](fields/getting-started#available-fields) and [layout components](layout/getting-started#available-layout-components). +All Filament forms have a "schema". This is an array, which contains [fields](fields#available-fields) and [layout components](../schema/layout#available-layout-components). -Fields are the inputs that your user will fill their data into. For example, HTML's `` or `` or `