twbs--bootstrap/scss
GeoSot 548be2ed66
Offcanvas as component (#29017)
* Add a new offcanvas component

* offcanvas.js: switch to string constants and `event.key`

* Remove unneeded code

* Sass optimizations

* Fixes

Make sure the element is hidden and not offscreen when inactive
fix close icon negative margins
Add content in right & bottom examples
Re-fix bottom offcanvas height not to cover all viewport

* Wording tweaks

* update tests and offcanvas class

* separate scrollbar functionality and use it in offcanvas

* Update .bundlewatch.config.json

* fix focus

* update btn-close / fix focus on close

* add aria-modal and role
return focus on trigger when offcanvas is closed
change body scrolling timings

* move common code to reusable functions

* add aria-labelledby

* Replace lorem ipsum text

* fix focus when offcanvas is closed

* updates

* revert modal, add tests for scrollbar

* show backdrop by default

* Update offcanvas.md

* Update offcanvas CSS to better match modals

- Add background-clip for borders
- Move from outline to border (less clever, more consistent)
- Add scss-docs in vars

* Revamp offcanvas docs

- Add static example to show and explain the components
- Split live examples and rename them
- Simplify example content
- Expand docs notes elsewhere
- Add sass docs

* Add .offcanvas-title instead of .modal-title

* Rename offcanvas example to offcanvas-navbar to reflect it's purpose

* labelledby references title and not header

* Add default shadow to offcanvas

* enable offcanvas-body to fill all the remaining wrapper area

* Be more descriptive, on Accessibility area

* remove redundant classes

* ensure in case of an already open offcanvas, not to open another one

* bring back backdrop|scroll combinations

* bring back toggling class

* refactor scrollbar method, plus tests

* add check if element is not full-width, according to #30621

* revert all in modal

* use documentElement innerWidth

* Rename classes to -start and -end

Also copyedit some docs wording

* omit some things on scrollbar

* PASS BrowserStack tests

-- IOS devices, Android devices and Browsers on Mac, hide scrollbar by default and appear it, only while scrolling.

* Rename '_handleClosing' to '_addEventListeners'

* change pipe usage to comma

* change Data.getData to Data.get

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
Co-authored-by: Mark Otto <markdotto@gmail.com>
2021-03-02 19:10:10 +02:00
..
forms Drop transition on .form-check, keep on .form-switch 2021-01-14 19:46:50 -08:00
helpers fix(ratio): missing variable prefix (#32501) 2021-01-06 08:14:54 +02:00
mixins fix(forms): validated controls in input-group 2021-03-01 07:53:39 -08:00
utilities Utility API, RFS option: Only generate responsive classes when needed (#32397) 2020-12-09 23:49:21 +02:00
vendor
_accordion.scss fix(accordion): ensure .accordion-button stays left-aligned (#32951) 2021-02-03 21:44:48 +02:00
_alert.scss Fix: variables collide with globals (#32492) 2020-12-17 07:02:20 +02:00
_badge.scss
_breadcrumb.scss feat(RTL): implement RTL 2020-12-04 07:52:03 +02:00
_button-group.scss feat(RTL): implement RTL 2020-12-04 07:52:03 +02:00
_buttons.scss Add Sass docs (variables, mixins, and loops) to most pages (#32747) 2021-02-10 19:29:59 -08:00
_card.scss fix(card): siblings card links in RTL (#33154) 2021-02-22 08:49:38 +02:00
_carousel.scss _carousel.scss: Fix typo in comment (#32950) 2021-02-01 15:22:24 +02:00
_close.scss Consistently use outline:0 rather than outline:none (#32751) 2021-01-10 16:13:08 +00:00
_containers.scss
_dropdown.scss Remove the default positioning from `.dropup` (#33120) 2021-02-22 08:57:21 +02:00
_forms.scss Drop custom file upload plugin in favor of CSS 2020-10-28 18:29:28 +01:00
_functions.scss Rename scale-color() function to shift-color() to avoid collision with Sass's own color function (#32149) 2020-11-13 20:50:59 +02:00
_grid.scss
_helpers.scss Rename the classes and docs page, update everything accordingly 2020-09-23 13:30:11 -07:00
_images.scss
_list-group.scss Fix: variables collide with globals (#32492) 2020-12-17 07:02:20 +02:00
_mixins.scss Cleanup/fix after the sr-only to visually-hidden renaming (#31359) 2020-07-31 10:27:36 +01:00
_modal.scss Add Sass docs (variables, mixins, and loops) to most pages (#32747) 2021-02-10 19:29:59 -08:00
_nav.scss fix(navs): ensure button will grow in fill/justified nav 2021-03-01 11:55:19 -08:00
_navbar.scss Add Sass docs (variables, mixins, and loops) to most pages (#32747) 2021-02-10 19:29:59 -08:00
_offcanvas.scss Offcanvas as component (#29017) 2021-03-02 19:10:10 +02:00
_pagination.scss Add two new variables for pagination border-radius values (#32423) 2020-12-14 15:34:01 +02:00
_popover.scss Remove the initial margin from dropdown/popover in favor of Popper (#32524) 2021-02-03 21:37:25 +02:00
_progress.scss Add Sass docs (variables, mixins, and loops) to most pages (#32747) 2021-02-10 19:29:59 -08:00
_reboot.scss Reset select:disabled opacity and null-ify color to fix rendering differences in Chrome 2021-03-02 06:40:32 -08:00
_root.scss Add Sass variable for CSS variable prefix (#31684) 2020-09-30 08:32:58 +03:00
_spinners.scss Add Sass docs (variables, mixins, and loops) to most pages (#32747) 2021-02-10 19:29:59 -08:00
_tables.scss Use box shadows instead of linear gradients to colorize tables (#32348) 2020-12-11 15:49:22 +02:00
_toasts.scss Add word-break to .toast-body (#32670) 2021-01-13 09:21:57 -08:00
_tooltip.scss fix(RTL) 2020-12-06 18:42:40 +02:00
_transitions.scss Add Sass docs (variables, mixins, and loops) to most pages (#32747) 2021-02-10 19:29:59 -08:00
_type.scss
_utilities.scss Add Sass docs (variables, mixins, and loops) to most pages (#32747) 2021-02-10 19:29:59 -08:00
_variables.scss Offcanvas as component (#29017) 2021-03-02 19:10:10 +02:00
bootstrap-grid.scss Release v5.0.0-beta2 (#32467) 2021-02-10 18:14:51 +02:00
bootstrap-reboot.scss Release v5.0.0-beta2 (#32467) 2021-02-10 18:14:51 +02:00
bootstrap-utilities.scss Release v5.0.0-beta2 (#32467) 2021-02-10 18:14:51 +02:00
bootstrap.scss Offcanvas as component (#29017) 2021-03-02 19:10:10 +02:00