Generate screenshots

This commit is contained in:
Dan Harrin
2023-11-20 10:13:34 +00:00
parent a9a3490fc5
commit 12124a1f36
15 changed files with 273 additions and 157 deletions
@@ -306,17 +306,26 @@ class LayoutDemo extends Component implements HasForms
'class' => 'p-16 max-w-2xl',
])
->schema([
Section::make('Address')
Section::make('Rate limiting')
->description('Prevent abuse by limiting the number of requests per period')
->headerActions([
Action::make('edit')
->action(function () {
// ...
}),
Action::make('test'),
])
->statePath('section')
->schema([
TextEntry::make('line_one')
->state('Lorem ipsum dolor sit amet'),
]),
TextInput::make('hits')
->default(30),
Select::make('period')
->default('hour')
->options([
'hour' => 'Hour',
]),
TextInput::make('maximum')
->default(100),
Textarea::make('notes')
->columnSpanFull(),
])
->columns(3),
]),
Group::make()
->id('sectionIcons')
@@ -184,17 +184,23 @@ class LayoutDemo extends Component implements HasForms, HasInfolists
'class' => 'p-16 max-w-2xl',
])
->schema([
Section::make('Address')
Section::make('Rate limiting')
->description('Prevent abuse by limiting the number of requests per period')
->headerActions([
Action::make('edit')
->action(function () {
// ...
}),
Action::make('edit'),
])
->schema([
TextEntry::make('line_one')
->state('Lorem ipsum dolor sit amet'),
]),
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')
+173 -91
View File
@@ -486,16 +486,16 @@
},
{
"name": "doctrine/dbal",
"version": "3.7.1",
"version": "3.7.2",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "5b7bd66c9ff58c04c5474ab85edce442f8081cb2"
"reference": "0ac3c270590e54910715e9a1a044cc368df282b2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/5b7bd66c9ff58c04c5474ab85edce442f8081cb2",
"reference": "5b7bd66c9ff58c04c5474ab85edce442f8081cb2",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/0ac3c270590e54910715e9a1a044cc368df282b2",
"reference": "0ac3c270590e54910715e9a1a044cc368df282b2",
"shasum": ""
},
"require": {
@@ -511,7 +511,7 @@
"doctrine/coding-standard": "12.0.0",
"fig/log-test": "^1",
"jetbrains/phpstorm-stubs": "2023.1",
"phpstan/phpstan": "1.10.35",
"phpstan/phpstan": "1.10.42",
"phpstan/phpstan-strict-rules": "^1.5",
"phpunit/phpunit": "9.6.13",
"psalm/plugin-phpunit": "0.18.4",
@@ -579,7 +579,7 @@
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/3.7.1"
"source": "https://github.com/doctrine/dbal/tree/3.7.2"
},
"funding": [
{
@@ -595,7 +595,7 @@
"type": "tidelift"
}
],
"time": "2023-10-06T05:06:20+00:00"
"time": "2023-11-19T08:06:58+00:00"
},
{
"name": "doctrine/deprecations",
@@ -1033,11 +1033,11 @@
},
{
"name": "filament/actions",
"version": "3.x-dev",
"version": "3.1.x-dev",
"dist": {
"type": "path",
"url": "../../packages/actions",
"reference": "66d0b0510f203aca078647e7fcc60122c8779f0c"
"reference": "b3769014d1428f9966b88becf380152c38ea316b"
},
"require": {
"filament/forms": "self.version",
@@ -1047,6 +1047,7 @@
"illuminate/contracts": "^10.0",
"illuminate/database": "^10.0",
"illuminate/support": "^10.0",
"league/csv": "^9.11",
"php": "^8.1",
"spatie/laravel-package-tools": "^1.9"
},
@@ -1078,7 +1079,7 @@
},
{
"name": "filament/filament",
"version": "3.x-dev",
"version": "3.1.x-dev",
"dist": {
"type": "path",
"url": "../../packages/panels",
@@ -1138,7 +1139,7 @@
},
{
"name": "filament/forms",
"version": "3.x-dev",
"version": "3.1.x-dev",
"dist": {
"type": "path",
"url": "../../packages/forms",
@@ -1189,7 +1190,7 @@
},
{
"name": "filament/infolists",
"version": "3.x-dev",
"version": "3.1.x-dev",
"dist": {
"type": "path",
"url": "../../packages/infolists",
@@ -1235,7 +1236,7 @@
},
{
"name": "filament/notifications",
"version": "3.x-dev",
"version": "3.1.x-dev",
"dist": {
"type": "path",
"url": "../../packages/notifications",
@@ -1282,11 +1283,11 @@
},
{
"name": "filament/support",
"version": "3.x-dev",
"version": "3.1.x-dev",
"dist": {
"type": "path",
"url": "../../packages/support",
"reference": "74b54ead0b9b99b51f0dbbc4fac9ecc3ca3009c9"
"reference": "157c16b8c0a3d5c8a0e3ee9bee76982d47cd791b"
},
"require": {
"blade-ui-kit/blade-heroicons": "^2.0",
@@ -1299,7 +1300,7 @@
"php": "^8.1",
"ryangjchandler/blade-capture-directive": "^0.2|^0.3",
"spatie/color": "^1.5",
"spatie/invade": "^1.0",
"spatie/invade": "^1.0|^2.0",
"spatie/laravel-package-tools": "^1.9",
"symfony/html-sanitizer": "^6.1"
},
@@ -1334,7 +1335,7 @@
},
{
"name": "filament/tables",
"version": "3.x-dev",
"version": "3.1.x-dev",
"dist": {
"type": "path",
"url": "../../packages/tables",
@@ -1382,7 +1383,7 @@
},
{
"name": "filament/widgets",
"version": "3.x-dev",
"version": "3.1.x-dev",
"dist": {
"type": "path",
"url": "../../packages/widgets",
@@ -2021,16 +2022,16 @@
},
{
"name": "laravel/framework",
"version": "v10.31.0",
"version": "v10.32.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "507ce9b28bce4b5e4140c28943092ca38e9a52e4"
"reference": "b30e44f20d244f7ba125283e14a8bbac167f4e5b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/507ce9b28bce4b5e4140c28943092ca38e9a52e4",
"reference": "507ce9b28bce4b5e4140c28943092ca38e9a52e4",
"url": "https://api.github.com/repos/laravel/framework/zipball/b30e44f20d244f7ba125283e14a8bbac167f4e5b",
"reference": "b30e44f20d244f7ba125283e14a8bbac167f4e5b",
"shasum": ""
},
"require": {
@@ -2131,7 +2132,7 @@
"league/flysystem-sftp-v3": "^3.0",
"mockery/mockery": "^1.5.1",
"nyholm/psr7": "^1.2",
"orchestra/testbench-core": "^8.12",
"orchestra/testbench-core": "^8.15.1",
"pda/pheanstalk": "^4.0",
"phpstan/phpstan": "^1.4.7",
"phpunit/phpunit": "^10.0.7",
@@ -2219,7 +2220,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
"time": "2023-11-07T13:48:30+00:00"
"time": "2023-11-14T22:57:08+00:00"
},
{
"name": "laravel/prompts",
@@ -2346,16 +2347,16 @@
},
{
"name": "laravel/serializable-closure",
"version": "v1.3.2",
"version": "v1.3.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/serializable-closure.git",
"reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c"
"reference": "3dbf8a8e914634c48d389c1234552666b3d43754"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/076fe2cf128bd54b4341cdc6d49b95b34e101e4c",
"reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754",
"reference": "3dbf8a8e914634c48d389c1234552666b3d43754",
"shasum": ""
},
"require": {
@@ -2402,7 +2403,7 @@
"issues": "https://github.com/laravel/serializable-closure/issues",
"source": "https://github.com/laravel/serializable-closure"
},
"time": "2023-10-17T13:38:16+00:00"
"time": "2023-11-08T14:08:06+00:00"
},
{
"name": "laravel/tinker",
@@ -2662,17 +2663,105 @@
"time": "2022-12-11T20:36:23+00:00"
},
{
"name": "league/flysystem",
"version": "3.19.0",
"name": "league/csv",
"version": "9.11.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "1b2aa10f2326e0351399b8ce68e287d8e9209a83"
"url": "https://github.com/thephpleague/csv.git",
"reference": "33149c4bea4949aa4fa3d03fb11ed28682168b39"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1b2aa10f2326e0351399b8ce68e287d8e9209a83",
"reference": "1b2aa10f2326e0351399b8ce68e287d8e9209a83",
"url": "https://api.github.com/repos/thephpleague/csv/zipball/33149c4bea4949aa4fa3d03fb11ed28682168b39",
"reference": "33149c4bea4949aa4fa3d03fb11ed28682168b39",
"shasum": ""
},
"require": {
"ext-json": "*",
"ext-mbstring": "*",
"php": "^8.1.2"
},
"require-dev": {
"doctrine/collections": "^2.1.3",
"ext-dom": "*",
"ext-xdebug": "*",
"friendsofphp/php-cs-fixer": "^v3.22.0",
"phpbench/phpbench": "^1.2.14",
"phpstan/phpstan": "^1.10.26",
"phpstan/phpstan-deprecation-rules": "^1.1.3",
"phpstan/phpstan-phpunit": "^1.3.13",
"phpstan/phpstan-strict-rules": "^1.5.1",
"phpunit/phpunit": "^10.3.1",
"symfony/var-dumper": "^6.3.3"
},
"suggest": {
"ext-dom": "Required to use the XMLConverter and the HTMLConverter classes",
"ext-iconv": "Needed to ease transcoding CSV using iconv stream filters"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "9.x-dev"
}
},
"autoload": {
"files": [
"src/functions_include.php"
],
"psr-4": {
"League\\Csv\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ignace Nyamagana Butera",
"email": "nyamsprod@gmail.com",
"homepage": "https://github.com/nyamsprod/",
"role": "Developer"
}
],
"description": "CSV data manipulation made easy in PHP",
"homepage": "https://csv.thephpleague.com",
"keywords": [
"convert",
"csv",
"export",
"filter",
"import",
"read",
"transform",
"write"
],
"support": {
"docs": "https://csv.thephpleague.com",
"issues": "https://github.com/thephpleague/csv/issues",
"rss": "https://github.com/thephpleague/csv/releases.atom",
"source": "https://github.com/thephpleague/csv"
},
"funding": [
{
"url": "https://github.com/sponsors/nyamsprod",
"type": "github"
}
],
"time": "2023-09-23T10:09:54+00:00"
},
{
"name": "league/flysystem",
"version": "3.21.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "a326d8a2d007e4ca327a57470846e34363789258"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/a326d8a2d007e4ca327a57470846e34363789258",
"reference": "a326d8a2d007e4ca327a57470846e34363789258",
"shasum": ""
},
"require": {
@@ -2737,7 +2826,7 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/3.19.0"
"source": "https://github.com/thephpleague/flysystem/tree/3.21.0"
},
"funding": [
{
@@ -2749,20 +2838,20 @@
"type": "github"
}
],
"time": "2023-11-07T09:04:28+00:00"
"time": "2023-11-18T13:59:15+00:00"
},
{
"name": "league/flysystem-local",
"version": "3.19.0",
"version": "3.21.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem-local.git",
"reference": "8d868217f9eeb4e9a7320db5ccad825e9a7a4076"
"reference": "470eb1c09eaabd49ebd908ae06f23983ba3ecfe7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/8d868217f9eeb4e9a7320db5ccad825e9a7a4076",
"reference": "8d868217f9eeb4e9a7320db5ccad825e9a7a4076",
"url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/470eb1c09eaabd49ebd908ae06f23983ba3ecfe7",
"reference": "470eb1c09eaabd49ebd908ae06f23983ba3ecfe7",
"shasum": ""
},
"require": {
@@ -2797,7 +2886,7 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem-local/issues",
"source": "https://github.com/thephpleague/flysystem-local/tree/3.19.0"
"source": "https://github.com/thephpleague/flysystem-local/tree/3.21.0"
},
"funding": [
{
@@ -2809,7 +2898,7 @@
"type": "github"
}
],
"time": "2023-11-06T20:35:28+00:00"
"time": "2023-11-18T13:41:42+00:00"
},
{
"name": "league/mime-type-detection",
@@ -3043,16 +3132,16 @@
},
{
"name": "livewire/livewire",
"version": "v3.1.0",
"version": "v3.2.0",
"source": {
"type": "git",
"url": "https://github.com/livewire/livewire.git",
"reference": "db1e02c645ae12a7cdee9b1ea0d65bf3aafc0f08"
"reference": "36fefba41947fa8b0cf0161330f5edb4ec7c23ca"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/livewire/livewire/zipball/db1e02c645ae12a7cdee9b1ea0d65bf3aafc0f08",
"reference": "db1e02c645ae12a7cdee9b1ea0d65bf3aafc0f08",
"url": "https://api.github.com/repos/livewire/livewire/zipball/36fefba41947fa8b0cf0161330f5edb4ec7c23ca",
"reference": "36fefba41947fa8b0cf0161330f5edb4ec7c23ca",
"shasum": ""
},
"require": {
@@ -3105,7 +3194,7 @@
"description": "A front-end framework for Laravel.",
"support": {
"issues": "https://github.com/livewire/livewire/issues",
"source": "https://github.com/livewire/livewire/tree/v3.1.0"
"source": "https://github.com/livewire/livewire/tree/v3.2.0"
},
"funding": [
{
@@ -3113,7 +3202,7 @@
"type": "github"
}
],
"time": "2023-11-03T15:05:18+00:00"
"time": "2023-11-19T13:30:45+00:00"
},
{
"name": "masterminds/html5",
@@ -4659,16 +4748,16 @@
},
{
"name": "spatie/invade",
"version": "1.1.1",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/invade.git",
"reference": "d0a9c895a96152549d478a7e3420e19039eef038"
"reference": "7b20a25486de69198e402da20dc924d8bcc8024a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/invade/zipball/d0a9c895a96152549d478a7e3420e19039eef038",
"reference": "d0a9c895a96152549d478a7e3420e19039eef038",
"url": "https://api.github.com/repos/spatie/invade/zipball/7b20a25486de69198e402da20dc924d8bcc8024a",
"reference": "7b20a25486de69198e402da20dc924d8bcc8024a",
"shasum": ""
},
"require": {
@@ -4680,13 +4769,6 @@
"spatie/ray": "^1.28"
},
"type": "library",
"extra": {
"phpstan": {
"includes": [
"phpstan-extension.neon"
]
}
},
"autoload": {
"files": [
"src/functions.php"
@@ -4713,7 +4795,7 @@
"spatie"
],
"support": {
"source": "https://github.com/spatie/invade/tree/1.1.1"
"source": "https://github.com/spatie/invade/tree/2.0.0"
},
"funding": [
{
@@ -4721,7 +4803,7 @@
"type": "github"
}
],
"time": "2022-07-05T09:31:00+00:00"
"time": "2023-07-19T18:55:36+00:00"
},
{
"name": "spatie/laravel-package-tools",
@@ -4940,7 +5022,7 @@
},
{
"name": "symfony/deprecation-contracts",
"version": "v3.3.0",
"version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
@@ -4987,7 +5069,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0"
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0"
},
"funding": [
{
@@ -5161,7 +5243,7 @@
},
{
"name": "symfony/event-dispatcher-contracts",
"version": "v3.3.0",
"version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
@@ -5217,7 +5299,7 @@
"standards"
],
"support": {
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.3.0"
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0"
},
"funding": [
{
@@ -6606,16 +6688,16 @@
},
{
"name": "symfony/service-contracts",
"version": "v3.3.0",
"version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
"reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4"
"reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/40da9cc13ec349d9e4966ce18b5fbcd724ab10a4",
"reference": "40da9cc13ec349d9e4966ce18b5fbcd724ab10a4",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/b3313c2dbffaf71c8de2934e2ea56ed2291a3838",
"reference": "b3313c2dbffaf71c8de2934e2ea56ed2291a3838",
"shasum": ""
},
"require": {
@@ -6668,7 +6750,7 @@
"standards"
],
"support": {
"source": "https://github.com/symfony/service-contracts/tree/v3.3.0"
"source": "https://github.com/symfony/service-contracts/tree/v3.4.0"
},
"funding": [
{
@@ -6684,7 +6766,7 @@
"type": "tidelift"
}
],
"time": "2023-05-23T14:45:45+00:00"
"time": "2023-07-30T20:28:31+00:00"
},
{
"name": "symfony/string",
@@ -6869,16 +6951,16 @@
},
{
"name": "symfony/translation-contracts",
"version": "v3.3.0",
"version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation-contracts.git",
"reference": "02c24deb352fb0d79db5486c0c79905a85e37e86"
"reference": "dee0c6e5b4c07ce851b462530088e64b255ac9c5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/02c24deb352fb0d79db5486c0c79905a85e37e86",
"reference": "02c24deb352fb0d79db5486c0c79905a85e37e86",
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/dee0c6e5b4c07ce851b462530088e64b255ac9c5",
"reference": "dee0c6e5b4c07ce851b462530088e64b255ac9c5",
"shasum": ""
},
"require": {
@@ -6927,7 +7009,7 @@
"standards"
],
"support": {
"source": "https://github.com/symfony/translation-contracts/tree/v3.3.0"
"source": "https://github.com/symfony/translation-contracts/tree/v3.4.0"
},
"funding": [
{
@@ -6943,7 +7025,7 @@
"type": "tidelift"
}
],
"time": "2023-05-30T17:17:10+00:00"
"time": "2023-07-25T15:08:44+00:00"
},
{
"name": "symfony/uid",
@@ -8048,16 +8130,16 @@
},
{
"name": "phpunit/php-code-coverage",
"version": "10.1.7",
"version": "10.1.8",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "355324ca4980b8916c18b9db29f3ef484078f26e"
"reference": "84838eed9ded511f61dc3e8b5944a52d9017b297"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/355324ca4980b8916c18b9db29f3ef484078f26e",
"reference": "355324ca4980b8916c18b9db29f3ef484078f26e",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/84838eed9ded511f61dc3e8b5944a52d9017b297",
"reference": "84838eed9ded511f61dc3e8b5944a52d9017b297",
"shasum": ""
},
"require": {
@@ -8114,7 +8196,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.7"
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.8"
},
"funding": [
{
@@ -8122,7 +8204,7 @@
"type": "github"
}
],
"time": "2023-10-04T15:34:17+00:00"
"time": "2023-11-15T13:31:15+00:00"
},
{
"name": "phpunit/php-file-iterator",
@@ -9764,16 +9846,16 @@
},
{
"name": "theseer/tokenizer",
"version": "1.2.1",
"version": "1.2.2",
"source": {
"type": "git",
"url": "https://github.com/theseer/tokenizer.git",
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e"
"reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e",
"reference": "34a41e998c2183e22995f158c581e7b5e755ab9e",
"url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
"reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96",
"shasum": ""
},
"require": {
@@ -9802,7 +9884,7 @@
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
"support": {
"issues": "https://github.com/theseer/tokenizer/issues",
"source": "https://github.com/theseer/tokenizer/tree/1.2.1"
"source": "https://github.com/theseer/tokenizer/tree/1.2.2"
},
"funding": [
{
@@ -9810,7 +9892,7 @@
"type": "github"
}
],
"time": "2021-07-28T10:34:58+00:00"
"time": "2023-11-20T00:12:19+00:00"
}
],
"aliases": [],
@@ -9822,5 +9904,5 @@
"php": "^8.1"
},
"platform-dev": [],
"plugin-api-version": "2.6.0"
"plugin-api-version": "2.3.0"
}
+32 -21
View File
@@ -596,9 +596,9 @@
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001561",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz",
"integrity": "sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw==",
"version": "1.0.30001563",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001563.tgz",
"integrity": "sha512-na2WUmOxnwIZtwnFI2CZ/3er0wdNzU7hN+cPYz/z2ajHThnkWjNBOpEPP4n+4r2WPM847JaMotaJE3bnfzjyKw==",
"funding": [
{
"type": "opencollective",
@@ -686,9 +686,9 @@
"integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="
},
"node_modules/electron-to-chromium": {
"version": "1.4.581",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.581.tgz",
"integrity": "sha512-6uhqWBIapTJUxgPTCHH9sqdbxIMPt7oXl0VcAL1kOtlU6aECdcMncCrX5Z7sHQ/invtrC9jUQUef7+HhO8vVFw=="
"version": "1.4.588",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.588.tgz",
"integrity": "sha512-soytjxwbgcCu7nh5Pf4S2/4wa6UIu+A3p03U2yVr53qGxi1/VTR3ENI+p50v+UxqqZAfl48j3z55ud7VHIOr9w=="
},
"node_modules/esbuild": {
"version": "0.18.20",
@@ -1190,20 +1190,26 @@
}
},
"node_modules/postcss-load-config": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.1.tgz",
"integrity": "sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==",
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz",
"integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==",
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/postcss/"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"dependencies": {
"lilconfig": "^2.0.5",
"yaml": "^2.1.1"
"lilconfig": "^3.0.0",
"yaml": "^2.3.4"
},
"engines": {
"node": ">= 14"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/postcss/"
},
"peerDependencies": {
"postcss": ">=8.0.9",
"ts-node": ">=9.0.0"
@@ -1217,6 +1223,14 @@
}
}
},
"node_modules/postcss-load-config/node_modules/lilconfig": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz",
"integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==",
"engines": {
"node": ">=14"
}
},
"node_modules/postcss-nested": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz",
@@ -1584,15 +1598,12 @@
}
},
"node_modules/vite-plugin-full-reload": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.0.5.tgz",
"integrity": "sha512-kVZFDFWr0DxiHn6MuDVTQf7gnWIdETGlZh0hvTiMXzRN80vgF4PKbONSq8U1d0WtHsKaFODTQgJeakLacoPZEQ==",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.1.0.tgz",
"integrity": "sha512-3cObNDzX6DdfhD9E7kf6w2mNunFpD7drxyNgHLw+XwIYAgb+Xt16SEXo0Up4VH+TMf3n+DSVJZtW2POBGcBYAA==",
"dependencies": {
"picocolors": "^1.0.0",
"picomatch": "^2.3.1"
},
"peerDependencies": {
"vite": "^2 || ^3 || ^4"
}
},
"node_modules/wrappy": {
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

+16 -16
View File
@@ -72,18 +72,18 @@
}
},
"node_modules/@types/node": {
"version": "20.8.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.6.tgz",
"integrity": "sha512-eWO4K2Ji70QzKUqRy6oyJWUeB7+g2cRagT3T/nxYibYcT4y2BDL8lqolRXjTHmkZCdJfIPaY73KbJAZmcryxTQ==",
"version": "20.9.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.2.tgz",
"integrity": "sha512-WHZXKFCEyIUJzAwh3NyyTHYSR35SevJ6mZ1nWwJafKtiQbqRTIKSRcw3Ma3acqgsent3RRDqeVwpHntMk+9irg==",
"optional": true,
"dependencies": {
"undici-types": "~5.25.1"
"undici-types": "~5.26.4"
}
},
"node_modules/@types/yauzl": {
"version": "2.10.1",
"resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.1.tgz",
"integrity": "sha512-CHzgNU3qYBnp/O4S3yv2tXPlvMTq0YWSTVg2/JYLqWZGHwwgJGAwd00poay/11asPq8wLFwHzubyInqHIFmmiw==",
"version": "2.10.3",
"resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz",
"integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==",
"optional": true,
"dependencies": {
"@types/node": "*"
@@ -628,9 +628,9 @@
"integrity": "sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg=="
},
"node_modules/node-abi": {
"version": "3.50.0",
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.50.0.tgz",
"integrity": "sha512-2Gxu7Eq7vnBIRfYSmqPruEllMM14FjOQFJSoqdGWthVn+tmwEXzmdPpya6cvvwf0uZA3F5N1fMFr9mijZBplFA==",
"version": "3.51.0",
"resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.51.0.tgz",
"integrity": "sha512-SQkEP4hmNWjlniS5zdnfIXTk1x7Ome85RDzHlTbBtzE97Gfwz/Ipw4v/Ryk20DWIy3yCNVLVlGKApCnmvYoJbA==",
"dependencies": {
"semver": "^7.3.5"
},
@@ -981,9 +981,9 @@
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
},
"node_modules/streamx": {
"version": "2.15.1",
"resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.1.tgz",
"integrity": "sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA==",
"version": "2.15.5",
"resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.5.tgz",
"integrity": "sha512-9thPGMkKC2GctCzyCUjME3yR03x2xNo0GPKGkRw2UMYN+gqWa9uqpyNWhmsNCutU5zHmkUum0LsCRQTXUgUCAg==",
"dependencies": {
"fast-fifo": "^1.1.0",
"queue-tick": "^1.0.1"
@@ -1097,9 +1097,9 @@
}
},
"node_modules/undici-types": {
"version": "5.25.3",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz",
"integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==",
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
"optional": true
},
"node_modules/util-deprecate": {
+1 -1
View File
@@ -25,7 +25,7 @@ const processScreenshot = async (file, options, theme) => {
fs.mkdirSync(`images/${theme}/${directory}`, { recursive: true })
}
const browser = await puppeteer.launch()
const browser = await puppeteer.launch({ headless: 'new' })
const page = await browser.newPage()
await page.setViewport(
options.viewport ?? {
+4 -4
View File
@@ -40,10 +40,10 @@ You may add [actions](../actions) to the section's header using the `headerActio
use Filament\Forms\Components\Actions\Action;
use Filament\Forms\Components\Section;
Section::make('Address')
Section::make('Rate limiting')
->headerActions([
Action::make('edit')
->action(function(){
Action::make('test')
->action(function () {
// ...
}),
])
@@ -60,7 +60,7 @@ If your section does not have a heading, Filament has no way of locating the act
use Filament\Forms\Components\Section;
Section::make()
->id('addressSection')
->id('rateLimitingSection')
->headerActions([
// ...
])
@@ -40,10 +40,10 @@ You may add [actions](../actions) to the section's header using the `headerActio
use Filament\Infolists\Components\Actions\Action;
use Filament\Infolists\Components\Section;
Section::make('Address')
Section::make('Rate limiting')
->headerActions([
Action::make('edit')
->action(function(){
->action(function () {
// ...
}),
])
@@ -60,7 +60,7 @@ If your section does not have a heading, Filament has no way of locating the act
use Filament\Infolists\Components\Section;
Section::make()
->id('addressSection')
->id('rateLimitingSection')
->headerActions([
// ...
])