From f9a2a7d20820408fba480ade0207c7791554d616 Mon Sep 17 00:00:00 2001 From: Adam Weston Date: Mon, 24 Jul 2023 19:25:14 -0400 Subject: [PATCH] Chore: updates for v3 beta --- .idea/filament-sticky-header.iml | 6 +- .idea/php.xml | 6 +- composer.json | 2 +- composer.lock | 648 ++++++++++++-------- resources/css/plugin.css | 34 +- resources/dist/filament-sticky-header.css | 2 +- resources/dist/filament-sticky-header.js | 2 +- resources/js/plugin.js | 6 +- src/FilamentStickyHeaderServiceProvider.php | 8 +- src/StickyHeaderPlugin.php | 8 +- 10 files changed, 452 insertions(+), 270 deletions(-) diff --git a/.idea/filament-sticky-header.iml b/.idea/filament-sticky-header.iml index d72ea64..89c9f4f 100644 --- a/.idea/filament-sticky-header.iml +++ b/.idea/filament-sticky-header.iml @@ -13,7 +13,6 @@ - @@ -80,7 +79,6 @@ - @@ -96,6 +94,10 @@ + + + + diff --git a/.idea/php.xml b/.idea/php.xml index af49be3..adc2c1b 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -20,7 +20,6 @@ - @@ -87,7 +86,6 @@ - @@ -108,6 +106,10 @@ + + + + diff --git a/composer.json b/composer.json index be6a876..d5b1568 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ ], "require": { "php": "^8.1", - "filament/filament": "^3.0", + "filament/filament": "^3.0@beta", "spatie/laravel-package-tools": "^1.15.0" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 66bfff4..509c5dd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1e9e549d0f25e362db79e0e1a16d63ff", + "content-hash": "dfa53b073428a0bbdf82e4b5d0b44ab4", "packages": [ { "name": "blade-ui-kit/blade-heroicons", @@ -623,20 +623,19 @@ }, { "name": "filament/actions", - "version": "v3.0.0-alpha121", + "version": "v3.0.0-beta9", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "ba8d16a507f7b17c163e94b70e76591dfa989a65" + "reference": "56e6e0e90ff6528c82fd5520208d61b2ee3742f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/ba8d16a507f7b17c163e94b70e76591dfa989a65", - "reference": "ba8d16a507f7b17c163e94b70e76591dfa989a65", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/56e6e0e90ff6528c82fd5520208d61b2ee3742f1", + "reference": "56e6e0e90ff6528c82fd5520208d61b2ee3742f1", "shasum": "" }, "require": { - "blade-ui-kit/blade-heroicons": "^2.0", "filament/forms": "self.version", "filament/infolists": "self.version", "filament/notifications": "self.version", @@ -644,7 +643,6 @@ "illuminate/contracts": "^9.0|^10.0", "illuminate/database": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", - "livewire/livewire": "^2.10.7", "php": "^8.1", "spatie/laravel-package-tools": "^1.9" }, @@ -665,26 +663,26 @@ "license": [ "MIT" ], - "description": "Effortlessly build TALL-powered modals and slide-overs.", + "description": "Easily add beautiful action modals to any Livewire component.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-07-03T09:27:13+00:00" + "time": "2023-07-24T10:00:32+00:00" }, { "name": "filament/filament", - "version": "v3.0.0-alpha121", + "version": "v3.0.0-beta9", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "3e95304a8ae6edaec82be9ddc363bedbf1efbd1b" + "reference": "03dfe582ba8cc8cccabeaa7c2036f0fe93d2ee07" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/3e95304a8ae6edaec82be9ddc363bedbf1efbd1b", - "reference": "3e95304a8ae6edaec82be9ddc363bedbf1efbd1b", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/03dfe582ba8cc8cccabeaa7c2036f0fe93d2ee07", + "reference": "03dfe582ba8cc8cccabeaa7c2036f0fe93d2ee07", "shasum": "" }, "require": { @@ -706,7 +704,6 @@ "illuminate/session": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", "illuminate/view": "^9.0|^10.0", - "livewire/livewire": "^2.10.7", "php": "^8.1", "spatie/laravel-package-tools": "^1.9" }, @@ -720,6 +717,7 @@ }, "autoload": { "files": [ + "src/global_helpers.php", "src/helpers.php" ], "psr-4": { @@ -730,30 +728,29 @@ "license": [ "MIT" ], - "description": "Effortlessly build TALL-stack apps and admin panels.", + "description": "A collection of full-stack components for accelerated Laravel app development.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-07-03T09:28:23+00:00" + "time": "2023-07-24T11:01:47+00:00" }, { "name": "filament/forms", - "version": "v3.0.0-alpha121", + "version": "v3.0.0-beta9", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "d163bd98a39f2408679abc4e66ac25e223241ef0" + "reference": "2a5074252f417b3dbf2fd686ba967446ab87de75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/d163bd98a39f2408679abc4e66ac25e223241ef0", - "reference": "d163bd98a39f2408679abc4e66ac25e223241ef0", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/2a5074252f417b3dbf2fd686ba967446ab87de75", + "reference": "2a5074252f417b3dbf2fd686ba967446ab87de75", "shasum": "" }, "require": { - "blade-ui-kit/blade-heroicons": "^2.0", "danharrin/date-format-converter": "^0.3", "filament/actions": "self.version", "filament/support": "self.version", @@ -764,7 +761,6 @@ "illuminate/support": "^9.0|^10.0", "illuminate/validation": "^9.0|^10.0", "illuminate/view": "^9.0|^10.0", - "livewire/livewire": "^2.10.7", "php": "^8.1", "spatie/laravel-package-tools": "^1.9" }, @@ -788,30 +784,29 @@ "license": [ "MIT" ], - "description": "Effortlessly build TALL-powered forms.", + "description": "Easily add beautiful forms to any Livewire component.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-07-03T09:27:39+00:00" + "time": "2023-07-24T10:00:36+00:00" }, { "name": "filament/infolists", - "version": "v3.0.0-alpha121", + "version": "v3.0.0-beta9", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", - "reference": "50a2a540c08dbf2e78edaa1a60d34706af3b49be" + "reference": "a83b246c49a253ddb0b8772a68c4bc2041919ed3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/infolists/zipball/50a2a540c08dbf2e78edaa1a60d34706af3b49be", - "reference": "50a2a540c08dbf2e78edaa1a60d34706af3b49be", + "url": "https://api.github.com/repos/filamentphp/infolists/zipball/a83b246c49a253ddb0b8772a68c4bc2041919ed3", + "reference": "a83b246c49a253ddb0b8772a68c4bc2041919ed3", "shasum": "" }, "require": { - "blade-ui-kit/blade-heroicons": "^2.0", "filament/actions": "self.version", "filament/support": "self.version", "illuminate/console": "^9.0|^10.0", @@ -840,37 +835,35 @@ "license": [ "MIT" ], - "description": "Effortlessly build TALL-powered description-lists (infolists).", + "description": "Easily add beautiful read-only infolists to any Livewire component.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-07-03T09:27:54+00:00" + "time": "2023-07-23T12:46:55+00:00" }, { "name": "filament/notifications", - "version": "v3.0.0-alpha121", + "version": "v3.0.0-beta9", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", - "reference": "015ae8a5c76d9ee05dfb38d0e27a10779302c13b" + "reference": "ddcbbaa676ae188e03dd8ff81fd751a8c34d759d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/notifications/zipball/015ae8a5c76d9ee05dfb38d0e27a10779302c13b", - "reference": "015ae8a5c76d9ee05dfb38d0e27a10779302c13b", + "url": "https://api.github.com/repos/filamentphp/notifications/zipball/ddcbbaa676ae188e03dd8ff81fd751a8c34d759d", + "reference": "ddcbbaa676ae188e03dd8ff81fd751a8c34d759d", "shasum": "" }, "require": { - "blade-ui-kit/blade-heroicons": "^2.0", "filament/actions": "self.version", "filament/support": "self.version", "illuminate/contracts": "^9.0|^10.0", "illuminate/filesystem": "^9.0|^10.0", "illuminate/notifications": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", - "livewire/livewire": "^2.10.7", "php": "^8.1", "spatie/laravel-package-tools": "^1.9" }, @@ -894,40 +887,41 @@ "license": [ "MIT" ], - "description": "Effortlessly build TALL-powered notifications.", + "description": "Easily add beautiful notifications to any Livewire app.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-07-03T09:28:06+00:00" + "time": "2023-07-23T18:57:56+00:00" }, { "name": "filament/support", - "version": "v3.0.0-alpha121", + "version": "v3.0.0-beta9", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", - "reference": "3206c12ac6b76d7f857141ce7f30fc865c13d1fd" + "reference": "3f001147ed025c83d83794c3712f53e80368237f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/support/zipball/3206c12ac6b76d7f857141ce7f30fc865c13d1fd", - "reference": "3206c12ac6b76d7f857141ce7f30fc865c13d1fd", + "url": "https://api.github.com/repos/filamentphp/support/zipball/3f001147ed025c83d83794c3712f53e80368237f", + "reference": "3f001147ed025c83d83794c3712f53e80368237f", "shasum": "" }, "require": { - "blade-ui-kit/blade-icons": "^1.4", + "blade-ui-kit/blade-heroicons": "^2.0", "ext-intl": "*", "illuminate/contracts": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", "illuminate/view": "^9.0|^10.0", + "livewire/livewire": "^3.0", "php": "^8.1", "ryangjchandler/blade-capture-directive": "^0.2|^0.3", "spatie/color": "^1.5", "spatie/invade": "^1.0", "spatie/laravel-package-tools": "^1.9", - "tgalopin/html-sanitizer": "^1.5" + "symfony/html-sanitizer": "^6.1" }, "type": "library", "extra": { @@ -949,30 +943,29 @@ "license": [ "MIT" ], - "description": "Associated helper methods and foundation code for Filament packages.", + "description": "Core helper methods and foundation code for all Filament packages.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-07-03T09:28:34+00:00" + "time": "2023-07-24T11:01:59+00:00" }, { "name": "filament/tables", - "version": "v3.0.0-alpha121", + "version": "v3.0.0-beta9", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", - "reference": "00f36682d9a5e0a5ba7c65b699be2871ae219776" + "reference": "275f3b7d2818c6084c82c17ef924d4035765c5cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/tables/zipball/00f36682d9a5e0a5ba7c65b699be2871ae219776", - "reference": "00f36682d9a5e0a5ba7c65b699be2871ae219776", + "url": "https://api.github.com/repos/filamentphp/tables/zipball/275f3b7d2818c6084c82c17ef924d4035765c5cb", + "reference": "275f3b7d2818c6084c82c17ef924d4035765c5cb", "shasum": "" }, "require": { - "blade-ui-kit/blade-heroicons": "^2.0", "filament/actions": "self.version", "filament/forms": "self.version", "filament/support": "self.version", @@ -982,8 +975,7 @@ "illuminate/filesystem": "^9.0|^10.0", "illuminate/support": "^9.0|^10.0", "illuminate/view": "^9.0|^10.0", - "kirschbaum-development/eloquent-power-joins": "^2.6", - "livewire/livewire": "^2.10.7", + "kirschbaum-development/eloquent-power-joins": "^3.0", "php": "^8.1", "spatie/laravel-package-tools": "^1.9" }, @@ -1004,32 +996,30 @@ "license": [ "MIT" ], - "description": "Effortlessly build TALL-powered tables.", + "description": "Easily add beautiful tables to any Livewire component.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-07-03T09:28:31+00:00" + "time": "2023-07-23T18:58:22+00:00" }, { "name": "filament/widgets", - "version": "v3.0.0-alpha121", + "version": "v3.0.0-beta9", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", - "reference": "78a5f6cde9a20a152695a78fc6e3fcf70b3d8f84" + "reference": "2518d392b7d0d4360f3f5602c103c919086600b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/widgets/zipball/78a5f6cde9a20a152695a78fc6e3fcf70b3d8f84", - "reference": "78a5f6cde9a20a152695a78fc6e3fcf70b3d8f84", + "url": "https://api.github.com/repos/filamentphp/widgets/zipball/2518d392b7d0d4360f3f5602c103c919086600b0", + "reference": "2518d392b7d0d4360f3f5602c103c919086600b0", "shasum": "" }, "require": { - "blade-ui-kit/blade-heroicons": "^2.0", "filament/support": "self.version", - "livewire/livewire": "^2.10.7", "php": "^8.1", "spatie/laravel-package-tools": "^1.9" }, @@ -1050,13 +1040,13 @@ "license": [ "MIT" ], - "description": "Effortlessly build TALL-powered dashboard widgets.", + "description": "Easily add beautiful dashboard widgets to any Livewire component.", "homepage": "https://github.com/filamentphp/filament", "support": { "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2023-06-29T22:14:36+00:00" + "time": "2023-07-24T10:01:09+00:00" }, { "name": "fruitcake/php-cors", @@ -1215,16 +1205,16 @@ }, { "name": "illuminate/auth", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/auth.git", - "reference": "eea4942412d238975fb41ba4e7c0004b8902a713" + "reference": "394c925ffcf4a456247fa66363bb5c9019b0d126" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/auth/zipball/eea4942412d238975fb41ba4e7c0004b8902a713", - "reference": "eea4942412d238975fb41ba4e7c0004b8902a713", + "url": "https://api.github.com/repos/illuminate/auth/zipball/394c925ffcf4a456247fa66363bb5c9019b0d126", + "reference": "394c925ffcf4a456247fa66363bb5c9019b0d126", "shasum": "" }, "require": { @@ -1269,20 +1259,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-24T14:28:12+00:00" + "time": "2023-07-10T11:15:09+00:00" }, { "name": "illuminate/broadcasting", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/broadcasting.git", - "reference": "c420579c63df5d00db455f66c9f3ab870a074464" + "reference": "4ffc726cbf64d8ae96892b18f11f788a528244f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/broadcasting/zipball/c420579c63df5d00db455f66c9f3ab870a074464", - "reference": "c420579c63df5d00db455f66c9f3ab870a074464", + "url": "https://api.github.com/repos/illuminate/broadcasting/zipball/4ffc726cbf64d8ae96892b18f11f788a528244f4", + "reference": "4ffc726cbf64d8ae96892b18f11f788a528244f4", "shasum": "" }, "require": { @@ -1327,11 +1317,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-05-12T15:48:24+00:00" + "time": "2023-06-28T15:20:12+00:00" }, { "name": "illuminate/bus", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/bus.git", @@ -1384,16 +1374,16 @@ }, { "name": "illuminate/collections", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "7fdccaabe533b7d86e59d278901aac075aae0abc" + "reference": "fba281693edb2caf429c872d59770a28a4e01595" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/7fdccaabe533b7d86e59d278901aac075aae0abc", - "reference": "7fdccaabe533b7d86e59d278901aac075aae0abc", + "url": "https://api.github.com/repos/illuminate/collections/zipball/fba281693edb2caf429c872d59770a28a4e01595", + "reference": "fba281693edb2caf429c872d59770a28a4e01595", "shasum": "" }, "require": { @@ -1435,11 +1425,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-23T21:58:46+00:00" + "time": "2023-07-08T21:20:28+00:00" }, { "name": "illuminate/conditionable", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/conditionable.git", @@ -1485,16 +1475,16 @@ }, { "name": "illuminate/console", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/console.git", - "reference": "97a44265e0537d06503db08188bd71a850fd47c2" + "reference": "70aed4ac6b0164ded8db91ff9efef11e4029c99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/console/zipball/97a44265e0537d06503db08188bd71a850fd47c2", - "reference": "97a44265e0537d06503db08188bd71a850fd47c2", + "url": "https://api.github.com/repos/illuminate/console/zipball/70aed4ac6b0164ded8db91ff9efef11e4029c99b", + "reference": "70aed4ac6b0164ded8db91ff9efef11e4029c99b", "shasum": "" }, "require": { @@ -1545,11 +1535,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-25T14:37:39+00:00" + "time": "2023-06-30T21:19:24+00:00" }, { "name": "illuminate/container", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/container.git", @@ -1600,7 +1590,7 @@ }, { "name": "illuminate/contracts", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", @@ -1648,7 +1638,7 @@ }, { "name": "illuminate/cookie", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/cookie.git", @@ -1701,16 +1691,16 @@ }, { "name": "illuminate/database", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/database.git", - "reference": "0bdd76ef2d761786b33cb968d29b985721c70260" + "reference": "f40768ccf945a494c005000f348a13e8828a2621" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/0bdd76ef2d761786b33cb968d29b985721c70260", - "reference": "0bdd76ef2d761786b33cb968d29b985721c70260", + "url": "https://api.github.com/repos/illuminate/database/zipball/f40768ccf945a494c005000f348a13e8828a2621", + "reference": "f40768ccf945a494c005000f348a13e8828a2621", "shasum": "" }, "require": { @@ -1766,11 +1756,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-25T14:36:40+00:00" + "time": "2023-07-08T21:13:43+00:00" }, { "name": "illuminate/events", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/events.git", @@ -1825,16 +1815,16 @@ }, { "name": "illuminate/filesystem", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/filesystem.git", - "reference": "53a46fed9b31617ce3a786690b2294f0a54559ea" + "reference": "6c8a98ace8a8e0b2f3a370c799d20a2b155cabd4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/filesystem/zipball/53a46fed9b31617ce3a786690b2294f0a54559ea", - "reference": "53a46fed9b31617ce3a786690b2294f0a54559ea", + "url": "https://api.github.com/repos/illuminate/filesystem/zipball/6c8a98ace8a8e0b2f3a370c799d20a2b155cabd4", + "reference": "6c8a98ace8a8e0b2f3a370c799d20a2b155cabd4", "shasum": "" }, "require": { @@ -1885,20 +1875,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-03-22T21:14:41+00:00" + "time": "2023-07-05T16:02:12+00:00" }, { "name": "illuminate/http", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/http.git", - "reference": "b76bd84e7b6477c0af2ac66cd41c007e2e1f2d7e" + "reference": "8282eac70022993c7bff7fbc1eb128b8804ed5a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/http/zipball/b76bd84e7b6477c0af2ac66cd41c007e2e1f2d7e", - "reference": "b76bd84e7b6477c0af2ac66cd41c007e2e1f2d7e", + "url": "https://api.github.com/repos/illuminate/http/zipball/8282eac70022993c7bff7fbc1eb128b8804ed5a1", + "reference": "8282eac70022993c7bff7fbc1eb128b8804ed5a1", "shasum": "" }, "require": { @@ -1945,11 +1935,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-26T18:32:54+00:00" + "time": "2023-06-29T20:47:09+00:00" }, { "name": "illuminate/macroable", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", @@ -1995,16 +1985,16 @@ }, { "name": "illuminate/mail", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/mail.git", - "reference": "9ff12788b410f456c5178b74f8cc5ac79c48ffe8" + "reference": "b069f99014eacacff5400f7cd511b1d45648e76a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/mail/zipball/9ff12788b410f456c5178b74f8cc5ac79c48ffe8", - "reference": "9ff12788b410f456c5178b74f8cc5ac79c48ffe8", + "url": "https://api.github.com/repos/illuminate/mail/zipball/b069f99014eacacff5400f7cd511b1d45648e76a", + "reference": "b069f99014eacacff5400f7cd511b1d45648e76a", "shasum": "" }, "require": { @@ -2052,20 +2042,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-22T09:55:50+00:00" + "time": "2023-06-30T15:28:06+00:00" }, { "name": "illuminate/notifications", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/notifications.git", - "reference": "9db3841f2bb7b95381d0c6083c27ab227e75d3af" + "reference": "602e3df5755f42f4b0be7f04bc17602235615cce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/notifications/zipball/9db3841f2bb7b95381d0c6083c27ab227e75d3af", - "reference": "9db3841f2bb7b95381d0c6083c27ab227e75d3af", + "url": "https://api.github.com/repos/illuminate/notifications/zipball/602e3df5755f42f4b0be7f04bc17602235615cce", + "reference": "602e3df5755f42f4b0be7f04bc17602235615cce", "shasum": "" }, "require": { @@ -2110,11 +2100,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-04T16:03:27+00:00" + "time": "2023-07-04T18:21:32+00:00" }, { "name": "illuminate/pipeline", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/pipeline.git", @@ -2162,7 +2152,7 @@ }, { "name": "illuminate/queue", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/queue.git", @@ -2229,7 +2219,7 @@ }, { "name": "illuminate/routing", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/routing.git", @@ -2293,7 +2283,7 @@ }, { "name": "illuminate/session", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/session.git", @@ -2350,16 +2340,16 @@ }, { "name": "illuminate/support", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "b1374932ec9a90bc223f9c5a12beba4cf909f4f4" + "reference": "aa6c012527c05d1c2f11df0b84d9ba8742d2b88f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/b1374932ec9a90bc223f9c5a12beba4cf909f4f4", - "reference": "b1374932ec9a90bc223f9c5a12beba4cf909f4f4", + "url": "https://api.github.com/repos/illuminate/support/zipball/aa6c012527c05d1c2f11df0b84d9ba8742d2b88f", + "reference": "aa6c012527c05d1c2f11df0b84d9ba8742d2b88f", "shasum": "" }, "require": { @@ -2417,11 +2407,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-27T18:33:36+00:00" + "time": "2023-07-09T12:11:55+00:00" }, { "name": "illuminate/translation", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/translation.git", @@ -2472,16 +2462,16 @@ }, { "name": "illuminate/validation", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/validation.git", - "reference": "1c369e91a2c31cb4ad50b95655a16671c11e01ad" + "reference": "394d1b214dee590d65e43bd2c15265ae3927bafb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/validation/zipball/1c369e91a2c31cb4ad50b95655a16671c11e01ad", - "reference": "1c369e91a2c31cb4ad50b95655a16671c11e01ad", + "url": "https://api.github.com/repos/illuminate/validation/zipball/394d1b214dee590d65e43bd2c15265ae3927bafb", + "reference": "394d1b214dee590d65e43bd2c15265ae3927bafb", "shasum": "" }, "require": { @@ -2529,20 +2519,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-21T23:14:57+00:00" + "time": "2023-07-09T18:24:23+00:00" }, { "name": "illuminate/view", - "version": "v10.14.1", + "version": "v10.15.0", "source": { "type": "git", "url": "https://github.com/illuminate/view.git", - "reference": "fcb77467caed332b37b0510e5a3996f299e9ac34" + "reference": "6b209ca751e2f9752e7cdf59a7109df7f370c498" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/view/zipball/fcb77467caed332b37b0510e5a3996f299e9ac34", - "reference": "fcb77467caed332b37b0510e5a3996f299e9ac34", + "url": "https://api.github.com/repos/illuminate/view/zipball/6b209ca751e2f9752e7cdf59a7109df7f370c498", + "reference": "6b209ca751e2f9752e7cdf59a7109df7f370c498", "shasum": "" }, "require": { @@ -2583,26 +2573,26 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-06-26T17:56:36+00:00" + "time": "2023-07-11T13:14:28+00:00" }, { "name": "kirschbaum-development/eloquent-power-joins", - "version": "2.7.3", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/kirschbaum-development/eloquent-power-joins.git", - "reference": "14eb8de38e30ce8f7323beb45800673467567f56" + "reference": "ef388b6b6ae1502fac172b8beb6f13ffe541569b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/14eb8de38e30ce8f7323beb45800673467567f56", - "reference": "14eb8de38e30ce8f7323beb45800673467567f56", + "url": "https://api.github.com/repos/kirschbaum-development/eloquent-power-joins/zipball/ef388b6b6ae1502fac172b8beb6f13ffe541569b", + "reference": "ef388b6b6ae1502fac172b8beb6f13ffe541569b", "shasum": "" }, "require": { - "illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", - "php": "^7.1|^8.0" + "illuminate/database": "^8.0|^9.0|^10.0", + "illuminate/support": "^8.0|^9.0|^10.0", + "php": "^8.0" }, "require-dev": { "laravel/legacy-factories": "^1.0@dev", @@ -2643,9 +2633,9 @@ ], "support": { "issues": "https://github.com/kirschbaum-development/eloquent-power-joins/issues", - "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/2.7.3" + "source": "https://github.com/kirschbaum-development/eloquent-power-joins/tree/3.2.0" }, - "time": "2023-03-05T11:19:12+00:00" + "time": "2023-06-25T11:42:03+00:00" }, { "name": "laravel/serializable-closure", @@ -2952,43 +2942,53 @@ "time": "2022-04-17T13:12:02+00:00" }, { - "name": "league/uri-parser", - "version": "1.4.1", + "name": "league/uri", + "version": "6.8.0", "source": { "type": "git", - "url": "https://github.com/thephpleague/uri-parser.git", - "reference": "671548427e4c932352d9b9279fdfa345bf63fa00" + "url": "https://github.com/thephpleague/uri.git", + "reference": "a700b4656e4c54371b799ac61e300ab25a2d1d39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/uri-parser/zipball/671548427e4c932352d9b9279fdfa345bf63fa00", - "reference": "671548427e4c932352d9b9279fdfa345bf63fa00", + "url": "https://api.github.com/repos/thephpleague/uri/zipball/a700b4656e4c54371b799ac61e300ab25a2d1d39", + "reference": "a700b4656e4c54371b799ac61e300ab25a2d1d39", "shasum": "" }, "require": { - "php": ">=7.0.0" + "ext-json": "*", + "league/uri-interfaces": "^2.3", + "php": "^8.1", + "psr/http-message": "^1.0.1" + }, + "conflict": { + "league/uri-schemes": "^1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.0", - "phpstan/phpstan": "^0.9.2", - "phpstan/phpstan-phpunit": "^0.9.4", - "phpstan/phpstan-strict-rules": "^0.9.0", - "phpunit/phpunit": "^6.0" + "friendsofphp/php-cs-fixer": "^v3.9.5", + "nyholm/psr7": "^1.5.1", + "php-http/psr7-integration-tests": "^1.1.1", + "phpbench/phpbench": "^1.2.6", + "phpstan/phpstan": "^1.8.5", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.1.1", + "phpstan/phpstan-strict-rules": "^1.4.3", + "phpunit/phpunit": "^9.5.24", + "psr/http-factory": "^1.0.1" }, "suggest": { - "ext-intl": "Allow parsing RFC3987 compliant hosts", - "league/uri-schemes": "Allow validating and normalizing URI parsing results" + "ext-fileinfo": "Needed to create Data URI from a filepath", + "ext-intl": "Needed to improve host validation", + "league/uri-components": "Needed to easily manipulate URI objects", + "psr/http-factory": "Needed to use the URI factory" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "6.x-dev" } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "League\\Uri\\": "src" } @@ -3004,52 +3004,143 @@ "homepage": "https://nyamsprod.com" } ], - "description": "userland URI parser RFC 3986 compliant", - "homepage": "https://github.com/thephpleague/uri-parser", + "description": "URI manipulation library", + "homepage": "https://uri.thephpleague.com", "keywords": [ + "data-uri", + "file-uri", + "ftp", + "hostname", + "http", + "https", + "middleware", + "parse_str", "parse_url", - "parser", + "psr-7", + "query-string", + "querystring", + "rfc3986", + "rfc3987", + "rfc6570", + "uri", + "uri-template", + "url", + "ws" + ], + "support": { + "docs": "https://uri.thephpleague.com", + "forum": "https://thephpleague.slack.com", + "issues": "https://github.com/thephpleague/uri/issues", + "source": "https://github.com/thephpleague/uri/tree/6.8.0" + }, + "funding": [ + { + "url": "https://github.com/sponsors/nyamsprod", + "type": "github" + } + ], + "time": "2022-09-13T19:58:47+00:00" + }, + { + "name": "league/uri-interfaces", + "version": "2.3.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/uri-interfaces.git", + "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/uri-interfaces/zipball/00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", + "reference": "00e7e2943f76d8cb50c7dfdc2f6dee356e15e383", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.19", + "phpstan/phpstan": "^0.12.90", + "phpstan/phpstan-phpunit": "^0.12.19", + "phpstan/phpstan-strict-rules": "^0.12.9", + "phpunit/phpunit": "^8.5.15 || ^9.5" + }, + "suggest": { + "ext-intl": "to use the IDNA feature", + "symfony/intl": "to use the IDNA feature via Symfony Polyfill" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Uri\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ignace Nyamagana Butera", + "email": "nyamsprod@gmail.com", + "homepage": "https://nyamsprod.com" + } + ], + "description": "Common interface for URI representation", + "homepage": "http://github.com/thephpleague/uri-interfaces", + "keywords": [ "rfc3986", "rfc3987", "uri", "url" ], "support": { - "issues": "https://github.com/thephpleague/uri-parser/issues", - "source": "https://github.com/thephpleague/uri-parser/tree/master" + "issues": "https://github.com/thephpleague/uri-interfaces/issues", + "source": "https://github.com/thephpleague/uri-interfaces/tree/2.3.0" }, - "abandoned": true, - "time": "2018-11-22T07:55:51+00:00" + "funding": [ + { + "url": "https://github.com/sponsors/nyamsprod", + "type": "github" + } + ], + "time": "2021-06-28T04:27:21+00:00" }, { "name": "livewire/livewire", - "version": "v2.12.3", + "version": "v3.0.0-beta.3", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "019b1e69d8cd8c7e749eba7a38e4fa69ecbc8f74" + "reference": "04298292a365841879d64c13881d5499517bb597" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/019b1e69d8cd8c7e749eba7a38e4fa69ecbc8f74", - "reference": "019b1e69d8cd8c7e749eba7a38e4fa69ecbc8f74", + "url": "https://api.github.com/repos/livewire/livewire/zipball/04298292a365841879d64c13881d5499517bb597", + "reference": "04298292a365841879d64c13881d5499517bb597", "shasum": "" }, "require": { - "illuminate/database": "^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^7.0|^8.0|^9.0|^10.0", - "illuminate/validation": "^7.0|^8.0|^9.0|^10.0", + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", + "illuminate/validation": "^9.0|^10.0|^11.0", "league/mime-type-detection": "^1.9", - "php": "^7.2.5|^8.0", + "php": "^8.1", "symfony/http-kernel": "^5.0|^6.0" }, "require-dev": { "calebporzio/sushi": "^2.1", - "laravel/framework": "^7.0|^8.0|^9.0|^10.0", + "laravel/framework": "^9.0|^10.0", "mockery/mockery": "^1.3.1", - "orchestra/testbench": "^5.0|^6.0|^7.0|^8.0", - "orchestra/testbench-dusk": "^5.2|^6.0|^7.0|^8.0", - "phpunit/phpunit": "^8.4|^9.0", + "orchestra/testbench": "^7.0|^8.0", + "orchestra/testbench-dusk": "^7.0|^8.0", + "phpunit/phpunit": "^9.0", "psy/psysh": "@stable" }, "type": "library", @@ -3084,7 +3175,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v2.12.3" + "source": "https://github.com/livewire/livewire/tree/v3.0.0-beta.3" }, "funding": [ { @@ -3092,7 +3183,7 @@ "type": "github" } ], - "time": "2023-03-03T20:12:38+00:00" + "time": "2023-07-21T23:02:51+00:00" }, { "name": "masterminds/html5", @@ -3601,6 +3692,59 @@ }, "time": "2019-01-08T18:20:26+00:00" }, + { + "name": "psr/http-message", + "version": "1.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/1.1" + }, + "time": "2023-04-04T09:50:52+00:00" + }, { "name": "psr/log", "version": "3.0.0", @@ -4662,6 +4806,75 @@ ], "time": "2023-04-02T01:25:41+00:00" }, + { + "name": "symfony/html-sanitizer", + "version": "v6.3.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/html-sanitizer.git", + "reference": "eae9b0a9ad7a2ed1963f819547d59ff99ad9e0fd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/html-sanitizer/zipball/eae9b0a9ad7a2ed1963f819547d59ff99ad9e0fd", + "reference": "eae9b0a9ad7a2ed1963f819547d59ff99ad9e0fd", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "league/uri": "^6.5", + "masterminds/html5": "^2.7.2", + "php": ">=8.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\HtmlSanitizer\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Titouan Galopin", + "email": "galopintitouan@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.", + "homepage": "https://symfony.com", + "keywords": [ + "Purifier", + "html", + "sanitizer" + ], + "support": { + "source": "https://github.com/symfony/html-sanitizer/tree/v6.3.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2023-02-14T09:04:20+00:00" + }, { "name": "symfony/http-foundation", "version": "v6.3.1", @@ -6233,55 +6446,6 @@ ], "time": "2023-06-21T12:08:28+00:00" }, - { - "name": "tgalopin/html-sanitizer", - "version": "1.5.0", - "source": { - "type": "git", - "url": "https://github.com/tgalopin/html-sanitizer.git", - "reference": "5d02dcb6f2ea4f505731eac440798caa1b3b0913" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/tgalopin/html-sanitizer/zipball/5d02dcb6f2ea4f505731eac440798caa1b3b0913", - "reference": "5d02dcb6f2ea4f505731eac440798caa1b3b0913", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "league/uri-parser": "^1.4.1", - "masterminds/html5": "^2.4", - "php": ">=7.1", - "psr/log": "^1.0|^2.0|^3.0" - }, - "require-dev": { - "phpunit/phpunit": "^7.4", - "symfony/var-dumper": "^4.1" - }, - "type": "library", - "autoload": { - "psr-4": { - "HtmlSanitizer\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Titouan Galopin", - "email": "galopintitouan@gmail.com" - } - ], - "description": "Sanitize untrustworthy HTML user input", - "support": { - "issues": "https://github.com/tgalopin/html-sanitizer/issues", - "source": "https://github.com/tgalopin/html-sanitizer/tree/1.5.0" - }, - "abandoned": "symfony/html-sanitizer", - "time": "2021-09-14T08:27:50+00:00" - }, { "name": "tijsverkoyen/css-to-inline-styles", "version": "2.2.6", @@ -6413,16 +6577,16 @@ "packages-dev": [ { "name": "laravel/pint", - "version": "v1.10.3", + "version": "v1.10.5", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "c472786bca01e4812a9bb7933b23edfc5b6877b7" + "reference": "a458fb057bfa2f5a09888a8aa349610be807b0c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/c472786bca01e4812a9bb7933b23edfc5b6877b7", - "reference": "c472786bca01e4812a9bb7933b23edfc5b6877b7", + "url": "https://api.github.com/repos/laravel/pint/zipball/a458fb057bfa2f5a09888a8aa349610be807b0c3", + "reference": "a458fb057bfa2f5a09888a8aa349610be807b0c3", "shasum": "" }, "require": { @@ -6433,9 +6597,9 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.18.0", + "friendsofphp/php-cs-fixer": "^3.21.1", "illuminate/view": "^10.5.1", - "laravel-zero/framework": "^10.0.2", + "laravel-zero/framework": "^10.1.1", "mockery/mockery": "^1.5.1", "nunomaduro/larastan": "^2.5.1", "nunomaduro/termwind": "^1.15.1", @@ -6475,12 +6639,14 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2023-06-20T15:55:03+00:00" + "time": "2023-07-14T10:26:01+00:00" } ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": { + "filament/filament": 10 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { diff --git a/resources/css/plugin.css b/resources/css/plugin.css index d81de1a..5787d6d 100644 --- a/resources/css/plugin.css +++ b/resources/css/plugin.css @@ -1,24 +1,24 @@ @tailwind utilities; @screen lg { - .filament-sidebar { - @apply lg:!bg-gray-50 dark:lg:!bg-gray-900 !z-[2]; + .fi-sidebar { + @apply lg:!bg-gray-50 dark:lg:!bg-gray-950 !z-[2]; } } -.filament-main-content.is-sticky { - .filament-header { +.fi-main.is-sticky { + .fi-header { @apply sticky backdrop-blur-md z-[1] md:items-center; } - .filament-header .filament-header-heading { + .fi-header .fi-header-heading { @apply text-xl overflow-ellipsis whitespace-nowrap overflow-hidden leading-none; } } .is-sticky.sticky-theme-default { - .filament-header { - @apply sticky inset-x-0 py-3 md:-inset-x-6; + .fi-header { + @apply sticky inset-x-0 py-3 md:-inset-x-6; z-index: 1; &:before { @@ -32,13 +32,25 @@ } .is-sticky.sticky-theme-floating { - .filament-header { - @apply lg:-mx-4 py-3 px-4 bg-gray-300/40 border rounded-lg shadow-md border-primary-200/40 dark:bg-black/50 dark:border-gray-700/40; + .fi-header { + @apply lg:-mx-4 py-3 px-4 bg-white/80 border rounded-lg shadow-md border-gray-950/5 dark:bg-black/70 dark:border-white/20; } } .is-sticky.sticky-theme-floating-colored { - .filament-header { - @apply lg:-mx-4 py-3 px-4 bg-primary-500/30 border rounded-lg shadow-md border-primary-200/40 dark:border-primary-700/40; + .fi-header { + @apply lg:-mx-4 py-3 px-4 bg-primary-500/80 border rounded-lg shadow-md border-primary-200/40 dark:border-primary-700/40; + + .fi-header-heading { + @apply text-white; + } + + .fi-breadcrumbs a { + @apply text-primary-100 hover:text-white focus:text-white; + } + + .fi-breadcrumbs svg { + @apply text-primary-200 dark:text-primary-300; + } } } \ No newline at end of file diff --git a/resources/dist/filament-sticky-header.css b/resources/dist/filament-sticky-header.css index f921698..9999add 100644 --- a/resources/dist/filament-sticky-header.css +++ b/resources/dist/filament-sticky-header.css @@ -1 +1 @@ -@media (min-width:1024px){.filament-sidebar{z-index:2!important}@media (min-width:1024px){.filament-sidebar{--tw-bg-opacity:1!important;background-color:rgba(var(--gray-50),var(--tw-bg-opacity))!important}:is(.dark .filament-sidebar){--tw-bg-opacity:1!important;background-color:rgba(var(--gray-900),var(--tw-bg-opacity))!important}}}.filament-main-content.is-sticky .filament-header{position:sticky;z-index:1;--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}@media (min-width:768px){.filament-main-content.is-sticky .filament-header{align-items:center}}.filament-main-content.is-sticky .filament-header .filament-header-heading{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.25rem;line-height:1.75rem;line-height:1}.is-sticky.sticky-theme-default .filament-header{position:sticky;left:0;right:0;padding-top:.75rem;padding-bottom:.75rem}@media (min-width:768px){.is-sticky.sticky-theme-default .filament-header{left:-1.5rem;right:-1.5rem}}.is-sticky.sticky-theme-default .filament-header{z-index:1}.is-sticky.sticky-theme-default .filament-header:before{position:absolute;top:0;bottom:0;display:block;border-bottom-width:1px;--tw-border-opacity:1;border-color:rgba(var(--gray-200),var(--tw-border-opacity));background-color:#fffffff2;--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}:is(.dark .is-sticky.sticky-theme-default .filament-header):before{--tw-border-opacity:1;border-color:rgba(var(--gray-800),var(--tw-border-opacity));background-color:rgba(var(--gray-900),.95)}.is-sticky.sticky-theme-default .filament-header:before{content:"";z-index:-1;left:-1000px;right:-1000px}.is-sticky.sticky-theme-floating .filament-header{border-radius:.5rem;border-width:1px;border-color:rgba(var(--primary-200),.4);background-color:rgba(var(--gray-300),.4);padding:.75rem 1rem;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .is-sticky.sticky-theme-floating .filament-header){border-color:rgba(var(--gray-700),.4);background-color:#00000080}@media (min-width:1024px){.is-sticky.sticky-theme-floating .filament-header{margin-left:-1rem;margin-right:-1rem}}.is-sticky.sticky-theme-floating-colored .filament-header{border-radius:.5rem;border-width:1px;border-color:rgba(var(--primary-200),.4);background-color:rgba(var(--primary-500),.3);padding:.75rem 1rem;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .is-sticky.sticky-theme-floating-colored .filament-header){border-color:rgba(var(--primary-700),.4)}@media (min-width:1024px){.is-sticky.sticky-theme-floating-colored .filament-header{margin-left:-1rem;margin-right:-1rem}} \ No newline at end of file +@media (min-width:1024px){.fi-sidebar{z-index:2!important}@media (min-width:1024px){.fi-sidebar{background-color:rgba(var(--gray-50),var(--tw-bg-opacity))!important}.fi-sidebar,:is(.dark .fi-sidebar){--tw-bg-opacity:1!important}:is(.dark .fi-sidebar){background-color:rgba(var(--gray-950),var(--tw-bg-opacity))!important}}}.fi-main.is-sticky .fi-header{position:sticky;z-index:1;--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}@media (min-width:768px){.fi-main.is-sticky .fi-header{align-items:center}}.fi-main.is-sticky .fi-header .fi-header-heading{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.25rem;line-height:1.75rem;line-height:1}.is-sticky.sticky-theme-default .fi-header{position:sticky;left:0;right:0;padding-top:.75rem;padding-bottom:.75rem}@media (min-width:768px){.is-sticky.sticky-theme-default .fi-header{left:-1.5rem;right:-1.5rem}}.is-sticky.sticky-theme-default .fi-header{z-index:1}.is-sticky.sticky-theme-default .fi-header:before{position:absolute;top:0;bottom:0;display:block;border-bottom-width:1px;--tw-border-opacity:1;border-color:rgba(var(--gray-200),var(--tw-border-opacity));background-color:#fffffff2;--tw-backdrop-blur:blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}:is(.dark .is-sticky.sticky-theme-default .fi-header):before{--tw-border-opacity:1;border-color:rgba(var(--gray-800),var(--tw-border-opacity));background-color:rgba(var(--gray-900),.95)}.is-sticky.sticky-theme-default .fi-header:before{content:"";z-index:-1;left:-1000px;right:-1000px}.is-sticky.sticky-theme-floating .fi-header{border-radius:.5rem;border-width:1px;border-color:rgba(var(--gray-950),.05);background-color:#fffc;padding:.75rem 1rem;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .is-sticky.sticky-theme-floating .fi-header){border-color:#fff3;background-color:#000000b3}@media (min-width:1024px){.is-sticky.sticky-theme-floating .fi-header{margin-left:-1rem;margin-right:-1rem}}.is-sticky.sticky-theme-floating-colored .fi-header{border-radius:.5rem;border-width:1px;border-color:rgba(var(--primary-200),.4);background-color:rgba(var(--primary-500),.8);padding:.75rem 1rem;--tw-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:is(.dark .is-sticky.sticky-theme-floating-colored .fi-header){border-color:rgba(var(--primary-700),.4)}@media (min-width:1024px){.is-sticky.sticky-theme-floating-colored .fi-header{margin-left:-1rem;margin-right:-1rem}}.is-sticky.sticky-theme-floating-colored .fi-header .fi-header-heading{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.is-sticky.sticky-theme-floating-colored .fi-header .fi-breadcrumbs a{--tw-text-opacity:1;color:rgba(var(--primary-100),var(--tw-text-opacity))}.is-sticky.sticky-theme-floating-colored .fi-header .fi-breadcrumbs a:focus,.is-sticky.sticky-theme-floating-colored .fi-header .fi-breadcrumbs a:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.is-sticky.sticky-theme-floating-colored .fi-header .fi-breadcrumbs svg{--tw-text-opacity:1;color:rgba(var(--primary-200),var(--tw-text-opacity))}:is(.dark .is-sticky.sticky-theme-floating-colored .fi-header .fi-breadcrumbs svg){--tw-text-opacity:1;color:rgba(var(--primary-300),var(--tw-text-opacity))} \ No newline at end of file diff --git a/resources/dist/filament-sticky-header.js b/resources/dist/filament-sticky-header.js index 391bdaa..c5249ab 100644 --- a/resources/dist/filament-sticky-header.js +++ b/resources/dist/filament-sticky-header.js @@ -1 +1 @@ -(()=>{var c=document.querySelector(".filament-main-topbar"),e=document.querySelector(".filament-main-content"),r=document.querySelector(".filament-header");c&&e&&r&&window.addEventListener("load",function(){let t=document.createElement("div"),s=(filamentData==null?void 0:filamentData.stickyHeaderTheme)||"default";t.classList.add("filament-sticky-trigger"),e.prepend(t),e.classList.add(`sticky-theme-${s}`);let o=c.offsetHeight,i=null;new IntersectionObserver(([n])=>{if(n.isIntersecting){if(i&&n.time-i<1e3)return;i=n.time,e.classList.remove("is-sticky");return}let a=0;s.includes("floating")&&(a+=8),r.style.top=o+a+"px",r.setAttribute("wire:ignore","true"),e.classList.add("is-sticky")},{rootMargin:`-${o}px`,threshold:[0]}).observe(t)});})(); +(()=>{var a=document.querySelector(".fi-topbar"),e=document.querySelector(".fi-main"),s=document.querySelector(".fi-header");a&&e&&s&&window.addEventListener("load",function(){let t=document.createElement("div"),n=(filamentData==null?void 0:filamentData.stickyHeaderTheme)||"default";t.classList.add("filament-sticky-trigger"),e.prepend(t),e.classList.add(`sticky-theme-${n}`);let o=a.offsetHeight,i=null;new IntersectionObserver(([r])=>{if(r.isIntersecting){if(i&&r.time-i<1e3)return;i=r.time,e.classList.remove("is-sticky");return}let c=0;n.includes("floating")&&(c+=8),s.style.top=o+c+"px",s.setAttribute("wire:ignore","true"),e.classList.add("is-sticky")},{rootMargin:`-${o}px`,threshold:[0]}).observe(t)});})(); diff --git a/resources/js/plugin.js b/resources/js/plugin.js index 8e1dd1b..4c9eb8b 100644 --- a/resources/js/plugin.js +++ b/resources/js/plugin.js @@ -1,6 +1,6 @@ -const filamentTopbar = document.querySelector(".filament-main-topbar"); -const filamentMainContent = document.querySelector(".filament-main-content"); -const filamentHeader = document.querySelector(".filament-header"); +const filamentTopbar = document.querySelector(".fi-topbar"); +const filamentMainContent = document.querySelector(".fi-main"); +const filamentHeader = document.querySelector(".fi-header"); if (filamentTopbar && filamentMainContent && filamentHeader) { window.addEventListener("load", function () { diff --git a/src/FilamentStickyHeaderServiceProvider.php b/src/FilamentStickyHeaderServiceProvider.php index 95ffe61..fc2f8a5 100644 --- a/src/FilamentStickyHeaderServiceProvider.php +++ b/src/FilamentStickyHeaderServiceProvider.php @@ -12,7 +12,7 @@ class FilamentStickyHeaderServiceProvider extends PackageServiceProvider { public function configurePackage(Package $package): void { - $package->name('filament-sticky-header'); + $package->name('awcodes-sticky-header'); } public function packageRegistered(): void @@ -20,8 +20,8 @@ public function packageRegistered(): void parent::packageRegistered(); FilamentAsset::register([ - Css::make('filament-sticky-header', __DIR__ . '/../resources/dist/filament-sticky-header.css'), - Js::make('filament-sticky-header', __DIR__ . '/../resources/dist/filament-sticky-header.js'), - ], 'filament-sticky-header'); + Css::make('awcodes-sticky-header', __DIR__ . '/../resources/dist/filament-sticky-header.css'), + Js::make('awcodes-sticky-header', __DIR__ . '/../resources/dist/filament-sticky-header.js'), + ], 'awcodes-sticky-header'); } } diff --git a/src/StickyHeaderPlugin.php b/src/StickyHeaderPlugin.php index a2e29b5..daf8553 100644 --- a/src/StickyHeaderPlugin.php +++ b/src/StickyHeaderPlugin.php @@ -8,9 +8,9 @@ class StickyHeaderPlugin implements Plugin { - protected bool | null $isColored = null; + protected ?bool $isColored = null; - protected bool | null $isFloating = null; + protected ?bool $isFloating = null; public function boot(Panel $panel): void { @@ -38,7 +38,7 @@ public static function get(): static public function getId(): string { - return 'filament-sticky-header'; + return 'awcodes-sticky-header'; } public function isColored(): bool @@ -74,6 +74,6 @@ public function register(Panel $panel): void { FilamentAsset::registerScriptData([ 'stickyHeaderTheme' => $this->getTheme(), - ], 'filament-sticky-header'); + ], 'awcodes-sticky-header'); } }