aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.1/components/offcanvas.md
AgeCommit message (Collapse)AuthorFilesLines
2022-05-13Prepare v5.2.0-beta1Mark Otto1-335/+0
2022-04-26Docs: update documentation js examples, using es6 (#36203)GeoSot1-8/+5
* Docs: update components documentation using es6 * Docs: update js blocks around docs, using es6 * Docs: update components documentation using es6 * Test linter
2022-04-21Add .show class to offcanvas example, and disable it's normal behavior in our JSMark Otto1-1/+1
2022-04-21Manipulator: Add JSON parse support (#35077)GeoSot1-1/+3
Support parsing JSON from each component's main element using the `data-bs-config` attribute. The `bs-config` attribute will be reserved and omitted during `getDataAttributes` parsing. With this commit, every component, will create its config object, using: * defaults * data-bs-config * the rest of data attributes * configuration object given during instance initialization Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Mark Otto <[email protected]> Co-authored-by: Mark Otto <[email protected]>
2022-04-19Refactor some docs examples CSS (#36194)Mark Otto1-1/+1
* Fix some more borders and margins * Flex utilities docs: remove .bd-highlight class from snippets * Explicit close target * Reorder to keep base class up top * Fix custom position example * Tooltips: add code snippet, use scss-docs ref for custom tooltip * Tweak text for pagination examples * Modals: move custom styles to utilities * Grid docs: Combine selectors and share coloring * Refactor tons of little things
2022-04-18Do some CSS and Migration guide cleanup (#36191)Mark Otto1-18/+4
* Do some CSS and Migration guide cleanup - More code snippet tweaks - Fix some homepage hero bugs - Do a cleanup on Migration guide content to highlight more changes and fix some issues from merge conflicts
2022-04-17v5.2.0 design refresh, plus responsive offcanvas classes (#35736)Mark Otto1-2/+55
* Add responsive offcanvas classes - Updates navbar-expand classes to de-dupe some styles—these shouldn't interfere now. - Adds some JS to the offcanvas component to help with responsiveness Co-Authored-By: GeoSot <[email protected]> * Redesign homepage, docs, and examples Homepage: - New Bootstrap purple navbar - Redesigned masthead - Rewrote and redesigned homepage content - Replace Copy text with icons like Bootstrap Icons site across all ClipboardJS instances - Fixed padding issues in site footer - Match homepage button styles to examples page, use gap instead of tons of responsive margin utils Docs: - New navbar, no more subnav. Migrated search and version picker into the main navbar and refreshed the design of it all, including the responsive toggles. - New sidebar navigation is always expanded, and now features Bootstrap Icons alongside section headings - Sidebar navigation autoscrolls to active link for better usability - Subnav and navbar padding issues ironed out - Enhanced the version picker in anticipation of v5.2: we can now link right to the same page in the previous version. - Redesign callouts to add more color to our pages - Collapse table of contents on mobile - Cleanup and redesign button styles with CSS variables - Update design for subnav version dropdown - Update highlight and example to be full-width until md - Improve the Added In badges - Turn the ToC into a well on mobile - Redesign code snippets to better house two action buttons Examples: - Redesign Examples page layout - Add new example for responsive offcanvases in navbars * Convert offcanvas to CSS vars * Feat: add resize handler to Offcanvas.js. If we could use as default the `.offcanvas` class without modifiers, we then, could add a simplified selector The selector itself, ignores the .offcanvas class as it doesn't have any responsive behavior The `aria-modal` addon is to protect us, selection backdrop elements * Separate examples code, Add some selectors, fix stackblitz btn Co-authored-by: GeoSot <[email protected]>
2022-03-02Add static backdrop to offcanvas (#35832)Jann Westermann1-38/+59
* Add static backdrop option, to offcanvas * Trigger prevented event on esc with keyboard=false * Change offcanvas doc , moving backdrop examples to examples section
2022-01-05Fix offcanvas title in 'Enable body scrolling' example (#35621)Neeraj Kumar Das1-1/+1
2022-01-05Remove the useless class of the close button .text-resetzhangchenglin1-8/+8
2021-11-02Add top placement info to offcanvas docskyletsang1-1/+2
2021-10-26fix(offcanvas): Adding titles class where missing (#35264)Oxydent1-2/+2
Co-authored-by: louismaximepiton <[email protected]>
2021-10-05Enable `unicorn/prefer-prototype-methods` ruleXhmikosR1-1/+1
2021-09-08Fix Backdroped typo (#34920)Christian Oliff1-1/+1
2021-09-07Typo fixes (#34914)XhmikosR1-1/+1
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR1-0/+275