]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
v6: Rename Offcanvas to Drawer, rebuild Drawer on `<dialog>` & Dialog, refresh Toasts...
authorMark Otto <markd.otto@gmail.com>
Sun, 29 Mar 2026 21:05:41 +0000 (14:05 -0700)
committerGitHub <noreply@github.com>
Sun, 29 Mar 2026 21:05:41 +0000 (14:05 -0700)
commiteac33c02a0ead89222ff75b1865ad164ba3ffe7c
treed18293349d67d78159ef8499c2d42a365a6866c7
parent49895652e686c3f5719bfb2bd8d206fe919b21b8
v6: Rename Offcanvas to Drawer, rebuild Drawer on `<dialog>` & Dialog, refresh Toasts (#42245)

* Update Offcanvas docs, update transition

* make it all work

* Massive update to rebuild offcanvas as Drawer and share its code with Dialog

* Fix bundle

* fix some issues

* Update tests

* another

* fix

* dupe
81 files changed:
.bundlewatch.config.json
.cspell.json
dist/css/bootstrap-grid.css.map
dist/css/bootstrap-grid.min.css
dist/css/bootstrap-grid.min.css.map
dist/css/bootstrap-reboot.css.map
dist/css/bootstrap-reboot.min.css
dist/css/bootstrap-reboot.min.css.map
dist/css/bootstrap-utilities.css.map
dist/css/bootstrap-utilities.min.css
dist/css/bootstrap-utilities.min.css.map
dist/css/bootstrap.css
dist/css/bootstrap.css.map
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css.map
dist/js/bootstrap.bundle.js
dist/js/bootstrap.bundle.js.map
dist/js/bootstrap.bundle.min.js
dist/js/bootstrap.bundle.min.js.map
dist/js/bootstrap.js
dist/js/bootstrap.js.map
dist/js/bootstrap.min.js
dist/js/bootstrap.min.js.map
js/dist/dialog.js
js/dist/dialog.js.map
js/dist/offcanvas.js
js/dist/offcanvas.js.map
js/dist/tooltip.js
js/dist/tooltip.js.map
js/index.js
js/src/dialog-base.js [new file with mode: 0644]
js/src/dialog.js
js/src/dom/data.js
js/src/drawer.js [new file with mode: 0644]
js/src/offcanvas.js [deleted file]
js/src/tooltip.js
js/src/util/swipe.js
js/tests/unit/dialog.spec.js
js/tests/unit/drawer.spec.js [new file with mode: 0644]
js/tests/unit/offcanvas.spec.js [deleted file]
scss/_config.scss
scss/_dialog.scss
scss/_drawer.scss [new file with mode: 0644]
scss/_navbar.scss
scss/_offcanvas.scss [deleted file]
scss/_toasts.scss
scss/bootstrap.scss
scss/buttons/_close.scss
scss/mixins/_backdrop.scss
scss/mixins/_dialog-shared.scss [new file with mode: 0644]
site/data/examples.yml
site/data/plugins.yml
site/data/sidebar.yml
site/src/assets/examples/dashboard/dashboard.css
site/src/assets/examples/dashboard/index.astro
site/src/assets/examples/drawer-navbar/drawer-navbar.css [moved from site/src/assets/examples/offcanvas-navbar/offcanvas-navbar.css with 94% similarity]
site/src/assets/examples/drawer-navbar/drawer-navbar.js [moved from site/src/assets/examples/offcanvas-navbar/offcanvas-navbar.js with 60% similarity]
site/src/assets/examples/drawer-navbar/index.astro [moved from site/src/assets/examples/offcanvas-navbar/index.astro with 94% similarity]
site/src/assets/examples/navbars-drawer/index.astro [moved from site/src/assets/examples/navbars-offcanvas/index.astro with 66% similarity]
site/src/assets/examples/navbars-drawer/navbars-drawer.css [moved from site/src/assets/examples/navbars-offcanvas/navbars-offcanvas.css with 100% similarity]
site/src/assets/examples/product/index.astro
site/src/assets/partials/snippets.js
site/src/components/header/Navigation.astro
site/src/components/home/Plugins.astro
site/src/components/shortcodes/CloseButton.astro
site/src/content/docs/components/dialog.mdx
site/src/content/docs/components/drawer.mdx [new file with mode: 0644]
site/src/content/docs/components/navbar.mdx
site/src/content/docs/components/offcanvas.mdx [deleted file]
site/src/content/docs/components/toasts.mdx
site/src/content/docs/customize/optimize.mdx
site/src/content/docs/getting-started/javascript.mdx
site/src/content/docs/migration.mdx
site/src/content/docs/utilities/z-index.mdx
site/src/layouts/DocsLayout.astro
site/src/libs/placeholder.ts
site/src/scss/_component-examples.scss
site/src/scss/_sidebar.scss
site/src/scss/_syntax.scss
site/static/docs/[version]/assets/img/examples/navbars-drawer.png [moved from site/static/docs/[version]/assets/img/examples/navbars-offcanvas.png with 100% similarity]
site/static/docs/[version]/assets/img/examples/navbars-drawer@2x.png [moved from site/static/docs/[version]/assets/img/examples/navbars-offcanvas@2x.png with 100% similarity]