Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package.json: revert bootstrap version to 4.6.x for backward compatibility #62

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/admin-nav-menus.css

Large diffs are not rendered by default.

17 changes: 13 additions & 4 deletions css/block-editor.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/block-editor.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/block-editor.min.css.map

Large diffs are not rendered by default.

19 changes: 14 additions & 5 deletions css/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/theme.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/theme.min.css.map

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ gulp.task( 'styles', function( callback ) {
/**
* Watches .scss, .js and image files for changes.
* On change re-runs corresponding build task.
*
*
* Run: gulp watch
*/
gulp.task( 'watch', function() {
Expand Down Expand Up @@ -134,7 +134,7 @@ gulp.task( 'browser-sync', function () {
/**
* Starts watcher with browser-sync.
* Browser-sync reloads page automatically on your browser.
*
*
* Run: gulp watch-bs
*/
gulp.task('watch-bs', gulp.parallel('browser-sync', 'watch'));
Expand Down Expand Up @@ -221,8 +221,10 @@ gulp.task('clean-vendor-assets', function () {
*
* Run: gulp clean-dist
*/
gulp.task('clean-dist', function () {
return deleteSync( paths.dist );
gulp.task('clean-dist', function (done) {
deleteSync( paths.dist );

done();
});

// Run
Expand Down Expand Up @@ -308,4 +310,4 @@ gulp.task('compile', gulp.series('styles', 'scripts', 'dist'));
// Run:
// gulp
// Starts watcher (default task)
gulp.task( 'default', gulp.series( 'watch' ) );
gulp.task( 'default', gulp.series( 'watch' ) );
6 changes: 3 additions & 3 deletions js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -6473,9 +6473,9 @@ var cpSchoolThemeHelpers = function ($) {

// Handles basic animations on the site.
if (cpSchoolData.animations) {
$('.entry-content > .alignfull, .entry-content > .alignwide, .entry-content > .aligncenter').attr('data-aos', 'fade-up');
$('.entry-content > .alignleft').attr('data-aos', 'fade-right');
$('.entry-content > .alignright').attr('data-aos', 'fade-left');
$('.entry-content > .alignfull, .entry-content > .alignwide, .entry-content > .aligncenter').not('.has-parallax').attr('data-aos', 'fade-up');
$('.entry-content > .alignleft').not('.has-parallax').attr('data-aos', 'fade-right');
$('.entry-content > .alignright').not('.has-parallax').attr('data-aos', 'fade-left');
AOS.init({
offset: 150,
delay: 50,
Expand Down
2 changes: 1 addition & 1 deletion js/theme.min.js

Large diffs are not rendered by default.

2,672 changes: 1,282 additions & 1,390 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@babel/preset-env": "^7.25.3",
"aos": "^2.3.4",
"autoprefixer": "^10.4.20",
"bootstrap": "^5.3.3",
"bootstrap": "^4.6.x",
"browser-sync": "^3.0.2",
"del": "^7.1.0",
"font-awesome": "^4.7.0",
Expand Down