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

18653 Commits

Author SHA1 Message Date
Johann-S
79144adb12 Fix detection of nativeEvents + trigger events with arguments 2019-02-20 22:05:45 +02:00
XhmikosR
3e8bc9d9ec Extend SelectorEngine.find() to include an element first arg.
If not supplied, it'll just use `document`.
2019-02-20 22:05:45 +02:00
Johann-S
3664d14908 fix declaration of alert jquery plugin only if jquery is available 2019-02-20 22:05:45 +02:00
Johann-S
4aef395e49 Disable ESlint on no-return-assign and temporary for arrow-body-style 2019-02-20 22:05:45 +02:00
Johann-S
2970d14dd9 Remove jQuery from alert.js and add .alert only if jQuery is available 2019-02-20 22:05:45 +02:00
Johann-S
a3398fffd6 Add event delegation + fix EventHandler.one 2019-02-20 22:05:45 +02:00
Johann-S
00ca781171 Add namespaced events 2019-02-20 22:05:45 +02:00
Johann-S
744071040e Add CustomEvent polyfill and a working preventDefault for IE 2019-02-20 22:05:45 +02:00
Johann-S
d6560bbc81 better polyfill for closest and matches functions 2019-02-20 22:05:45 +02:00
Johann-S
0b16c8c6d9 alert without jquery 2019-02-20 22:05:45 +02:00
Johann-S
8d34bc136b Move transition end detection to dom/event.js instead of util.js 2019-02-20 22:05:45 +02:00
Johann-S
fb465c4745 Remove jQuery from Util.js
s
2019-02-20 22:05:45 +02:00
XhmikosR
ececf644f4
Replace uglify-js with terser. (#27813) 2019-02-19 15:51:50 +02:00
Laussel Loïc
3a61df51d7 add tabindex="-1" and aria-disabled="true" on disabled links (#28305) 2019-02-19 15:42:08 +02:00
XhmikosR
e4ec9dfe9c
Use npm-run-all for the release script. (#28307)
It's shorter.
2019-02-19 14:35:19 +02:00
XhmikosR
4c87843d2d Update karma to ^4.0.0. 2019-02-19 12:23:37 +02:00
XhmikosR
a4f260d0a8 Drop Node.js < 8 support.
Node.js 6 goes EOL on April 2019.
2019-02-19 12:23:37 +02:00
Steve Moser
3731f0d271 Remove --save option from npm i as it isn't required anymore (#28302)
As of npm 5.0.0, installed modules are added as a dependency by default, so the --save option is no longer needed. The other save options still exist and are listed in the documentation for npm install.
2019-02-19 12:05:54 +02:00
XhmikosR
be380572fb
Replace broken-link-checker with linkinator. (#28291)
Much lighter, more modern and cleaner codebase.
2019-02-19 11:36:34 +02:00
Patrick H. Lauke
4b00aa6c4e Remove incorrect aria-haspopup from dropdown toggles (#28299)
`aria-haspopup` use requires the use of an ARIA `menu`, `listbox`, `tree`, `grid` or `dialog` (see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup)

in our use (as generic disclosure widgets), it's incorrect and sets up the wrong assumption/behavior from assistive technologies.

in future, we likely want to change our dropdowns to essentially be like a `dialog` - move focus to it when opened, possibly make it modal so focus is maintained inside it and the rest of the page
is hidden/inert.

but for now, removing the incorrect attribute is probably the quickest, most immediate fix.
2019-02-19 11:25:36 +02:00
Patrick H. Lauke
68a8af4a36 Update link to CONTRIBUTING.md in README.md (#28297)
since the former is not contained in the `.github` subdirectory
2019-02-19 11:13:00 +02:00
XhmikosR
e04f393237 Update devDependencies. (#28292) 2019-02-19 11:00:11 +02:00
XhmikosR
abec77a06b Update CONTRIBUTING.md for the current state of things. (#28283) 2019-02-19 11:00:11 +02:00
Martijn Cuppens
28a7abf0f7 Deprecate form-control-focus mixin (#28262) 2019-02-15 15:50:58 +02:00
XhmikosR
25ce91adc0
Update devDependencies. (#28271) 2019-02-15 15:38:24 +02:00
XhmikosR
974193a8da
README.md: use shields.io for the OC badges. (#28280) 2019-02-15 14:34:05 +02:00
XhmikosR
f0f846fc00
Replace 4.3.0 with 4.3.1 in nuget files. (#28273) 2019-02-15 12:09:20 +02:00
XhmikosR
9baf8537a7
Replace v4-dev with master after the branch change. (#28272) 2019-02-15 11:58:41 +02:00
XhmikosR
ff29c1224c
Update docs and meta for 3.4.1. (#28255) 2019-02-13 19:12:01 +02:00
XhmikosR
8fa0d30101
Release v4.3.1. (#28252) 2019-02-13 18:01:40 +02:00
XhmikosR
dae20da750
Remove unneeded glob. (#28249)
Typo from 10b97f6.
2019-02-13 15:21:04 +02:00
XhmikosR
10b97f6ed9 Fix npm package contents 2019-02-13 08:32:15 +02:00
Johann-S
7bc4d2e0bc Add sanitize template option for tooltip/popover plugins. 2019-02-13 08:32:15 +02:00
Martijn Cuppens
bf2515ae68
Update RFS to v8.0.1 (#28245)
Remove warning if RFS is included more than once.
2019-02-12 22:49:12 +01:00
Martijn Cuppens
45ced606f4 Update font size (#28232) 2019-02-12 09:38:42 +02:00
Mark Otto
1ded0d6a4e
Release v4.3.0 (#28228)
* Prep for v4.3.0

* More updates for v4.3.0.

* rerun to build docs source map
2019-02-11 11:15:34 -08:00
XhmikosR
3aa0770b71
docs snippets: a few more minor tweaks (#28225)
* Remove extra comma.

* Use curly braces in snippet.
2019-02-11 11:34:02 +02:00
XhmikosR
adf16da25e toasts.md: Remove useless divs.
Instead pass the class to the example include.
2019-02-11 08:54:17 +02:00
XhmikosR
2bfe581eeb Remove stray parameter from capture. 2019-02-11 08:54:17 +02:00
XhmikosR
bbf8b768ef Cosmetic changes in snippets. 2019-02-11 08:54:17 +02:00
XhmikosR
7a9a8db7b1
docs: remove -ms-overflow-style: -ms-autohiding-scrollbar (#28220)
Similar to #28153
2019-02-10 22:13:13 +02:00
XhmikosR
24253b18e1
migration.md: use https. (#28221) 2019-02-10 22:05:16 +02:00
Martijn Cuppens
545f3fa921 Prevent text selection in placeholder images (#28218) 2019-02-09 14:21:41 +02:00
XhmikosR
94acdee691
Revert "Silence mkdir. (#28184)" (#28209)
This reverts commit 6ea000d2bc.

Unfortunately, it doesn't seem to work.
2019-02-09 13:20:02 +02:00
XhmikosR
6c7dcc6882
placeholder.svg: Partially revert the changes from c0e42cb. (#28216)
It broke the example include.
2019-02-09 13:10:29 +02:00
XhmikosR
1145365f6d Reword footer text. 2019-02-08 22:51:45 +02:00
XhmikosR
bd328bf217 Use the site.repo variable. 2019-02-08 22:51:45 +02:00
XhmikosR
a920429089 Change footer link to point to the docs team page 2019-02-08 22:51:45 +02:00
XhmikosR
c56b10c147
Offcanvas example: transition the transform (#28203)
This is more efficient than transitioning the `left` property.
2019-02-08 18:08:40 +02:00
XhmikosR
52e6ce4512
Update devDependencies. (#28175) 2019-02-08 09:39:03 +02:00