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

chore(deps): Bump bootstrap from 5.1.3 to 5.3.3 #1302

Merged
merged 2 commits into from
Dec 30, 2024
Merged
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
4 changes: 3 additions & 1 deletion assets/javascripts/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ document.addEventListener('DOMContentLoaded', function () {

this.hidePopover = function () {
const popover = Popover.getInstance(this.searchInput);
popover && popover.hide();
popover.hide();
popover._activeTrigger['hover'] = true;
this.searchArrows.destroy();
};

this.showPopover = function (text) {
this.popoverContent = this.generatePopoverContent(text);
const popover = Popover.getInstance(this.searchInput);
popover._activeTrigger['hover'] = true;
popover._disposePopper();
popover.show();
document.querySelector('.popover-body').innerHTML = this.popoverContent;
Expand Down
8 changes: 4 additions & 4 deletions assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ $navbar-height: 50px;
}

// Boostrap 5 customization
// Document: https://getbootstrap.com/docs/5.2/customize/sass/#importing
// List of SCSS to load: https://github.com/twbs/bootstrap/blob/v5.2.0/scss/bootstrap.scss
// Document: https://getbootstrap.com/docs/5.3/customize/sass/#importing
// List of SCSS to load: https://github.com/twbs/bootstrap/blob/v5.3.3/scss/bootstrap.scss
@import "~bootstrap/scss/functions";

pre {
Expand All @@ -36,7 +36,7 @@ $icon-font-path: '~bootstrap/assets/fonts/bootstrap/';
// Note: tables, dropdown, button-group, accordion, breadcrumb, pagination,
// badge, alert, progress, list-group, close, toasts, modal, tooltip, carousel,
// spinners, offcanvas, and placeholders were excluded as they are not used as
// of Bootstrap 5.2.0
// of Bootstrap 5.3.3
@import "~bootstrap/scss/root";
@import "~bootstrap/scss/reboot";
@import "~bootstrap/scss/type";
Expand Down Expand Up @@ -70,7 +70,7 @@ $icon-font-path: '~bootstrap/assets/fonts/bootstrap/';
@import "anchorjs";
@import "search";

// More various utilities extended from Bootstrap 5.2
// More various utilities extended from Bootstrap 5.3
@import "opacity";

.row:after {
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@popperjs/core": "^2.11.8",
"anchor-js": "^5.0.0",
"bootstrap": "^5.2.0",
"bootstrap": "^5.3.3",
"lunr": "^0.7.0"
}
}