0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

20820 Commits

Author SHA1 Message Date
Rohit Sharma
610155b74c
Tooltip — doc updates (#33771) 2021-04-27 14:56:06 +03:00
dependabot[bot]
fff55d7b4b
Bump postcss from 8.2.10 to 8.2.13 (#33767)
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 14:55:02 +03:00
Pierre Grimaud
bc667235dc
docs: fix typo in list-group.md (#33756) 2021-04-27 07:10:43 +03:00
alpadev
94202cf7bf
fix: change margin breakpoints for bootstrap logo on double header (#33759) 2021-04-27 06:52:59 +03:00
Mark Otto
0fa8cb0bd3
Add Bootstrap Icons to alerts docs (#33690)
* Add Bootstrap Icons to alerts docs

* Update site/content/docs/5.0/components/alerts.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>

* Update alerts.md

Co-authored-by: Gaël Poupard <ffoodd@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-25 06:59:13 +03:00
Rohit Sharma
75b11bbedc
Clarify boundary option description (#33735)
Mention that `boundary` option is specific to the preventOverflow  modifier only

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-25 06:58:08 +03:00
Rohit Sharma
0645fa9f1d
Tooltip/Popover — Minor doc updates (#33733) 2021-04-25 06:56:30 +03:00
GeoSot
d381820d16
Scrollbar: respect the initial body overflow value (#33706)
* add method to handle overflow on body element & tests
* replace duplicated code on modal/offcanvas tests
2021-04-25 06:50:16 +03:00
alpadev
e2294ff090
Add missing test for clicking select option in a dropdown (#33734) 2021-04-25 06:45:08 +03:00
Mark Otto
c25897b637
Replace modal and scrollspy placeholder content (#33726) 2021-04-23 14:58:32 +03:00
XhmikosR
b3916ebdd4
JS tests: add Node.js 16 (#33720) 2021-04-22 13:51:03 +03:00
XhmikosR
3ebccc70c2
Regenerate package-lock.json to flatten deps (#33719) 2021-04-22 13:49:36 +03:00
dependabot[bot]
d22407bd76
Bump hugo-bin from 0.70.0 to 0.70.2 (#33718)
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.70.0 to 0.70.2.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.70.0...v0.70.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-22 07:32:15 +03:00
dependabot[bot]
b401184bff
Bump @babel/core from 7.13.15 to 7.13.16 (#33717)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 07:28:17 +03:00
dependabot[bot]
b99f077b07
Bump @babel/cli from 7.13.14 to 7.13.16 (#33716)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.13.14 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-cli)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 07:21:55 +03:00
Carson Sievert
2cbb0a941c
Dropdown: support .dropdown-item wrapped in <li> tags (#33634)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-21 08:30:19 +03:00
dependabot[bot]
2e7141f049
Bump eslint-plugin-unicorn from 29.0.0 to 30.0.0 (#33700)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 29.0.0 to 30.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v29.0.0...v30.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-21 08:26:53 +03:00
dependabot[bot]
f2d3b6ae27
Bump sass from 1.32.8 to 1.32.11 (#33699)
Bumps [sass](https://github.com/sass/dart-sass) from 1.32.8 to 1.32.11.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.32.8...1.32.11)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-21 08:22:16 +03:00
Rohit Sharma
4d973259f5
docs: fix the default value of Popper's boundary option (#33685)
`'scrollParent'` is no longer the default `boundary` value

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-21 08:15:22 +03:00
GeoSot
079f2cd90c
Offcanvas.js: If scroll is allowed, should allow focus on other elements (#33677) 2021-04-20 08:32:52 +03:00
GeoSot
0bbe45cd97
Tab.js: Fixes on click handling (#33586)
* use prevent default only if triggered by anchor
* disable auto-initialization if trigger is disabled
2021-04-20 08:26:58 +03:00
Rohit Sharma
b59b75bc55
Dropdown — Add option to make the dropdown menu clickable (#33389) 2021-04-20 08:19:57 +03:00
Rohit Sharma
a22f4d3cfd
Don't change the value for altBoundary option (#33684)
- Since bootstrap is not changing the default value of `elementContext`
  option, changing the value of `altBoundary` option is not needed for
any modifier in real

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-19 19:58:45 +03:00
iatek
bb7a5602a0 Fixes #33686 typo in RTL docs 2021-04-19 09:05:33 -07:00
alpadev
d67121db28
Fix regression for handling mouseenter/mouseleave events introduced by #33310 (#33679)
* test: update spec for sibling adjacent mouseenter/mouseleave events

there is a regression introduced by #33310 - this would have catched that

* fix: fixup regression for mouseenter/mouseleave events introduced by #33310

the old logic only worked for parent-child movement since it checked for the relatedTarget to contain the delegateTarget - this should be fixed with this

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-19 08:30:33 +03:00
GeoSot
a9d7a62658
Use the backdrop util in offcanvas, enforcing consistency (#33545)
* respect /share modal's backdrop functionality, keeping consistency
* listen click events over backdrop (only) and trigger `hide()` without add/remove event tricks
* achieve to hide foreign open offcanvas instances without glitches `if (allReadyOpen && allReadyOpen !== target)`, in case another is going to be open, when user clicks on trigger button
2021-04-19 08:20:25 +03:00
XhmikosR
df8131a1f8
Update anchor.js to v4.3.1. (#33668) 2021-04-19 07:52:09 +03:00
Rohit Sharma
87a8ba9a82 Change from preventOverflow to detectOverflow
- Since the link is for detectOverflow docs
2021-04-18 21:23:31 -07:00
Raaj Trambadia
574a4996f5 Fix typo 2021-04-18 21:22:53 -07:00
Mark Otto
9f2133fee3 Fixes signup form in Heroes example
Fixes #33660
2021-04-18 21:10:54 -07:00
GeoSot
6ea4dab142
modal.js: fix test for scrollbar (#33666)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-04-18 20:55:22 -07:00
Kohhee Peace
aace863463
Fix Grid System docs (#33676)
* Fix Grid System docs

* Apply suggestions from code review

Co-authored-by: Mark Otto <otto@github.com>
2021-04-18 20:53:39 -07:00
alpadev
6d312b37c2
fix: clicking an item in navbar dropdown collapses the dropdown in firefox (#33643) 2021-04-18 09:01:23 +03:00
Rohit Sharma
7eadf73f03 Change toggle method to remove
Since the class `.show` must be removed
2021-04-18 08:47:50 +03:00
Rohit Sharma
bce4684d34 Use context properties 2021-04-18 08:47:50 +03:00
Rohit Sharma
38a79ec64c Refactor dropdown's hide functionality 2021-04-18 08:47:50 +03:00
Rohit Sharma
7100a0da52 Apply positioning only when Popper is not used 2021-04-17 16:14:52 -07:00
Mark Otto
d25920b182 Fix toggle between modals example 2021-04-17 16:08:58 -07:00
ghost_32
95aec47d21
Docs: Tried to fix the issue #33650 (#33664)
Prefixed the `aria-controls` with `list-` to match with `tabpanel`
ids in `Javascript behavior` example in `List Group Component`.
2021-04-17 14:40:43 -07:00
harishhalodoc
17252bb3b0
use :read-only css selector instead [readonly] for consistency (#33642)
There are 5 places where [readonly] selector is used. I have replaced with :read-only for consistency.

fix for https://github.com/twbs/bootstrap/issues/33101

Co-authored-by: Harish <halodoc@ip-192-168-43-211.ap-southeast-1.compute.internal>
2021-04-17 14:33:27 -07:00
Mona Brahmakshatriya
6fc74ebbbf
fix: use list-group variable instead of alert (#33658)
Use $list-group-item-color-scale variable in list-group NOT $alert-color-scale
2021-04-17 14:23:56 -07:00
Carson Sievert
69f5c0130b
Fix v5 regressions in tab dropdown functionality (#33626)
Scope selector to `dropdownElement` when adding active classes
2021-04-15 13:53:55 +03:00
Victor Massé
f61a0218b3
Make accordion icon rotation more natural (#33292) 2021-04-14 13:51:44 -07:00
Peter Hartree
cb24272544
Add example: Panels stay open (#33553)
* Add example: Panels stay open

* Set unique element IDs in the new example

* Update language

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: Mark Otto <otto@github.com>
2021-04-14 13:43:52 -07:00
Mark Otto
84b8eda5d6 Correct the heading for the States section 2021-04-14 13:29:47 -07:00
GeoSot
80085a12f6
Decouple BackDrop from modal (#32439)
* Create backdrop.js util

* revert breaking changes

remove PromiseTimout usage

revert class name

* one more test | change bundlewatch.config

* add config obj to backdrop helper | tests for rootElement | use transitionend helper

* Minor tweaks — Renaming

Co-authored-by: Rohit Sharma <rohit2sharma95@gmail.com>
2021-04-14 13:28:50 -07:00
Philip Wedemann
0122e020d6
Docs: Fix wrong dark attribute in Table - Vertical Alignment (#33597)
* Fix wrong dark attribute

* Remove the outer table completely

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2021-04-14 13:26:31 -07:00
GeoSot
0d440b0e14 Js: fix some tests 2021-04-14 13:25:44 -07:00
Carson
2120a02b3c Have $form-check-input-border's default derive from ($black instead of hard-coded black) 2021-04-14 13:25:03 -07:00
Gaël Poupard
4383ae0459 refactor(color-scheme): reduce complexity 2021-04-14 13:16:01 -07:00