From 63b4e8b25466f46b2a86138def02cbf298fbaf12 Mon Sep 17 00:00:00 2001 From: jvogt23 Date: Mon, 4 Nov 2024 21:01:01 -0500 Subject: [PATCH 1/8] Initial changes made; needs testing --- package-lock.json | 40 ++++++++++++++++----------------------- package.json | 4 ++-- resources/js/bootstrap.js | 2 +- resources/sass/user.scss | 2 +- 4 files changed, 20 insertions(+), 28 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1defc8e25..9a2fe165b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "chartist-plugin-pointlabels": "0.0.6", "jquery": "3.7.1", "moment": "2.30.1", - "popper.js": "1.16.1", + "@popperjs/core": "1.16.1", "sweetalert2": "11.14.5", "vue": "2.7.16", "vue-flatpickr-component": "8.1.8", @@ -25,7 +25,7 @@ "devDependencies": { "@sentry/webpack-plugin": "1.21.0", "alex": "11.0.1", - "bootstrap": "4.6.2", + "bootstrap": "5.3.3", "cross-env": "5.2.1", "laravel-mix": "6.0.49", "lodash": "4.17.21", @@ -3661,24 +3661,16 @@ "license": "ISC" }, "node_modules/bootstrap": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.6.2.tgz", - "integrity": "sha512-51Bbp/Uxr9aTuy6ca/8FbFloBUJZLHwnhTcnjIeRn2suQWsWzcuJhGjKDB5eppVte/8oCdOL3VuwxvZDUggwGQ==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.0.tgz", + "integrity": "sha512-tmhPET9B9qCl8dCofvHeiIhi49iBt0EehmIsziZib65k1erBW1rHhj2s/2JsuQh5Pq+xz2E9bEbzp9B7xHG+VA==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/twbs" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/bootstrap" - } - ], - "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + }, "peerDependencies": { - "jquery": "1.9.1 - 3", - "popper.js": "^1.16.1" + "@popperjs/core": "^2.9.2" } }, "node_modules/boxen": { @@ -10993,12 +10985,12 @@ "node": ">=4" } }, - "node_modules/popper.js": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", - "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", - "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", - "license": "MIT", + "node_modules/@popperjs/core": { + "version": "2.11.8", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", + "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==", + "dev": true, + "peer": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/popperjs" diff --git a/package.json b/package.json index dffaf1df9..aee85ff1c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "devDependencies": { "@sentry/webpack-plugin": "1.21.0", "alex": "11.0.1", - "bootstrap": "4.6.2", + "bootstrap": "5.3.3", "cross-env": "5.2.1", "laravel-mix": "6.0.49", "lodash": "4.17.21", @@ -34,7 +34,7 @@ "chartist-plugin-pointlabels": "0.0.6", "jquery": "3.7.1", "moment": "2.30.1", - "popper.js": "1.16.1", + "@popperjs/core": "2.11.8", "sweetalert2": "11.14.5", "vue": "2.7.16", "vue-flatpickr-component": "8.1.8", diff --git a/resources/js/bootstrap.js b/resources/js/bootstrap.js index 5e21176b9..c3597e55e 100644 --- a/resources/js/bootstrap.js +++ b/resources/js/bootstrap.js @@ -10,7 +10,7 @@ window._ = require('lodash'); try { window.$ = window.jQuery = require('jquery'); - window.Popper = require('popper.js').default; + window.Popper = require('@popperjs/core').default; require('bootstrap'); } catch (e) { } diff --git a/resources/sass/user.scss b/resources/sass/user.scss index 7aadf4647..d1ab5ca86 100644 --- a/resources/sass/user.scss +++ b/resources/sass/user.scss @@ -1,5 +1,5 @@ body { - background-color: $jumbotron-bg; + background-color: #e9ecef; ::placeholder { opacity: 0.4 !important; } From 5d2ebc873981c684cd26822927450b1d73fddee2 Mon Sep 17 00:00:00 2001 From: jvogt23 Date: Mon, 4 Nov 2024 21:23:14 -0500 Subject: [PATCH 2/8] First of many CSS fixes --- resources/views/layouts/app.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 874804658..08a51d7bc 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -58,7 +58,7 @@ @if (auth()->user())