Gaël Poupard
83bcc3c00f
docs(cheatsheet): fix JS errors in setActiveItem()
( #34011 )
2021-05-18 08:31:15 +03:00
XhmikosR
58b1be927f
Release v5.0.1 ( #33972 )
...
* Bump version to 5.0.1.
* Dist
2021-05-13 19:22:20 +03:00
GeoSot
130a5ba1df
remove modal css override
2021-05-13 08:55:28 -07:00
GeoSot
6e1c9096f0
Move get element functionality to a helper ( #33327 )
...
Looking around on js components I found out many checks, different expressed but with same purpose.
Some of them are trying to parse string to element, others, jQuery element to js simple nodeElement etc
With this Pr, I am trying to give a standard way to parse an element
So this pr:
* Creates `getElement` helper that tries to parse an argument to element or null
* Changes `isElement` to make explicit checks and return Boolean
* fixes tests deficiencies
2021-05-13 18:17:20 +03:00
XhmikosR
e376142d85
Update devDependencies ( #33970 )
...
* @babel/core ^7.14.0 → ^7.14.2
* @babel/preset-env ^7.14.1 → ^7.14.2
2021-05-13 17:34:41 +03:00
dependabot[bot]
b196857299
Bump sass from 1.32.12 to 1.32.13 ( #33969 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.32.12 to 1.32.13.
- [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.12...1.32.13 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 17:18:25 +03:00
Mark Otto
1e4b924aa9
Revert "use :read-only
css selector instead [readonly]
for consistency ( #33642 )" ( #33961 )
...
This reverts commit 17252bb3b0
.
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-13 17:01:46 +03:00
Gaël Poupard
7ed48943cf
PRevent accent-bg from leaking in nested table ( #33825 )
...
Fixes #33817
Solution by @Hintzmann in [#33817 (comment)](https://github.com/twbs/bootstrap/issues/33817#issuecomment-831718042 ).
2021-05-13 08:39:37 +03:00
Jatin Mehta
d81d0a92d4
Validated inputs in .input-group
shouldn't be behind sibling element ( #33644 )
...
Added z-index property for input-group only for invalid state
2021-05-13 08:39:01 +03:00
Mark Otto
d80cb2241d
Update Sidebars example to fix dividers and rendering on Chrome ( #33859 )
2021-05-12 21:34:34 -07:00
Mark Otto
3464d3caa2
Add Fathom Analytics to v5 docs ( #33904 )
...
* Add Fathom Analytics to v5 docs
* newline
2021-05-12 21:34:11 -07:00
GeoSot
9a9e22475c
Popover/Tooltip: streamline config property to start with underscore ( #33381 )
2021-05-12 12:15:59 +03:00
dependabot[bot]
15d0105393
Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.0 ( #33935 )
...
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve ) from 11.2.1 to 13.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v13.0.0/packages/node-resolve )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 13:27:06 +03:00
dependabot[bot]
5f2b49fa76
Bump @rollup/plugin-commonjs from 18.0.0 to 19.0.0 ( #33932 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs ) from 18.0.0 to 19.0.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.0/packages/commonjs )
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-05-11 13:11:40 +03:00
dependabot[bot]
ac0ea51585
Bump karma-jasmine-html-reporter from 1.5.4 to 1.6.0 ( #33937 )
...
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter ) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases )
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.5.4...v1.6.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-05-11 13:05:52 +03:00
dependabot[bot]
93c5412864
Bump glob from 7.1.6 to 7.1.7 ( #33936 )
...
Bumps [glob](https://github.com/isaacs/node-glob ) from 7.1.6 to 7.1.7.
- [Release notes](https://github.com/isaacs/node-glob/releases )
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.6...v7.1.7 )
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-05-11 13:00:52 +03:00
GeoSot
d794e8970b
Fix test warning for dropdown, without expectations ( #33938 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 12:54:51 +03:00
dependabot[bot]
bc0993d7f9
Bump eslint from 7.25.0 to 7.26.0 ( #33933 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.26.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-05-11 12:50:35 +03:00
dependabot[bot]
d76507062f
Bump postcss from 8.2.13 to 8.2.15 ( #33931 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.13 to 8.2.15.
- [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.13...8.2.15 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 12:21:04 +03:00
alpadev
a6dfaca605
docs: make tooltip anchor properly wrap the svg ( #33901 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 11:38:48 +03:00
GeoSot
8d1b0fb779
Fix offcanvas test to expect the initial body overflow
value ( #33927 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 11:06:32 +03:00
GeoSot
19f95a3d8d
Fix offcanvas example, using a custom trigger selector ( #33926 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 10:58:45 +03:00
GeoSot
9fe36edf68
Extract static DATA_KEY
& EVENT_KEY
to base-component ( #33635 )
...
* Force each plugin that extends base-components to implement a static method `NAME()`
* Remove redundant `NAME` argument from 'Utils.defineJQueryPlugin' & fix test
2021-05-11 10:49:30 +03:00
alpadev
7647b8fe5b
Fix: Click on input outside of dropdown-menu prevents dropdown from closing ( #33920 )
...
* test: add test if user clicks on input not contained within dropdown-menu
* fix: click on inputs that are not contained within dropdown-menu prevent dropdown from closing
2021-05-11 09:09:00 +03:00
GeoSot
03842b5f25
Refactor: move disposing properties into the base class ( #33740 )
...
Moves more functionality to `base-component`, transferring the responsibility of disposal to parent class.
Each component, dusting disposal, sets its protected properties to `null`. So the same can be done in one place for all children components .
2021-05-11 09:04:42 +03:00
Ben Lertlumprasertkul
052def4568
Remove potential false positive assertions ( #33288 )
...
* Remove potential false positive assertions
querySelector() returns null but
expect(document.querySelector('...')).toBeDefined()
tests that the value is not undefined
* Migrated assertions from .toBeDefined() to .not.toBeNull() for .getInstance() calls in tests
* Migrate offcanvas assertions from .toBeDefined() to .not.toBeNull() for .getInstance() call
* convert more cases to not.toBeNull assertions
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2021-05-11 08:45:57 +03:00
Ryan Berliner
9c3ab6557e
Prevent toast autohiding if focusing or hovering ( #33221 )
2021-05-11 08:37:57 +03:00
XhmikosR
c3ad760cd7
CI: remove Node.js 10 ( #33923 )
...
Node.js 10 is EOL since 30/04/2021
2021-05-11 08:34:21 +03:00
GeoSot
90b1a6907e
Merge js-components 'transitionend' listener callbacks into one method
2021-05-10 13:59:55 -07:00
Mark Otto
9106d2a0ea
Fix accidental directory rename from https://github.com/twbs/bootstrap/pull/33709
2021-05-10 13:57:26 -07:00
Mark H. Wilkinson
b074e23ee4
Don't redefine $list-group-color in loop
2021-05-10 13:51:51 -07:00
Christian Oliff
b110c0f0e2
Remove unneeded 'Edge Legacy' mention in Range docs
2021-05-10 13:49:16 -07:00
Tim Yang
18bc0d5d2b
Fix "directoinal" typo in v5 migration docs
2021-05-10 13:48:34 -07:00
Nagarjun Bodduna
741fa589d0
Fix backdrop rootElement
not initialized in Modal ( #33853 )
...
* Initialize default value of rootElement before using
* Remove redundant test | put rootElement tests together
Co-authored-by: GeoSot <geo.sotis@gmail.com>
2021-05-10 21:17:53 +03:00
Mustafa Mahdi
308ffba793
Add Arabic translation ( #33709 )
2021-05-10 21:16:19 +03:00
alpadev
75fe3244db
docs: fix rtlcss stringmap configuration ( #33915 )
2021-05-10 21:13:23 +03:00
Nikolay Nizriukhin
488fd8afc5
Fix accordion link ( #33896 )
...
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
2021-05-08 13:28:15 +01:00
Chris Blakley
f12bc3316b
Fix "no long require" to "no longer require" typo ( #33879 )
...
Fixed a typo in the Migration guide from "...we no long require..." to be "we no longer require..."
2021-05-08 13:24:39 +01:00
Jaume Sala
e54d43cba3
Fix value ( #33868 )
2021-05-08 13:22:07 +01:00
alpadev
275b81e675
Update README.md for v5 ( #33891 )
2021-05-08 13:16:30 +01:00
Patrick H. Lauke
6ecf21870a
Add accessible names to SVG icons in alerts ( #33893 )
2021-05-08 12:53:03 +01:00
jrn2778
eb73a2fc6f
Fix unnecessary classes ( #33850 )
...
* Fix unnecessary classes
* Removed unnecessary div
Co-authored-by: Mark Otto <otto@github.com>
* Updated centered hero primary button classes
Co-authored-by: Mark Otto <otto@github.com>
2021-05-06 16:10:23 -07:00
Mark Otto
9ad9ca3537
Add examples section to Release Drafter ( #33854 )
2021-05-06 16:09:33 -07:00
Christian Oliff
c9a606a894
update About text now that Bootstrap 5 is live
...
..and big congrats (and thanks) to all the Bootstrap team on v5 launching :-)
2021-05-06 16:04:26 -07:00
kyletsang
597da0fb59
Fix browser support versions in migration doc
2021-05-06 16:04:13 -07:00
Manabu Niseki
f3403ef7b7
Fix typo in migration.md
2021-05-06 16:03:59 -07:00
Mark Otto
e54654ead0
Fix typo in scrollspy docs ( #33841 )
...
* Fix typo
* remove duplicated "heading"
Co-authored-by: alpadev <2838324+alpadev@users.noreply.github.com>
2021-05-06 16:00:30 -07:00
Mark Otto
5e980ddd1c
Remove extra t in Close button heading in Migration guide
2021-05-06 16:00:11 -07:00
XhmikosR
bf09367486
Release v5.0.0 ( #33647 )
...
* Bump version to 5.0.0
* Fix npm tag
* Dist
2021-05-05 22:32:12 +03:00
Mark Otto
48ae5a7149
Rewrite migration guide ( #33834 )
...
- De-duplicates bulk of the content for a migration from v4 to v5
- Adds clear breaking labels where appropriate
- Leaves room for more guidance around doing the actual migration
2021-05-05 18:24:26 +03:00