Commit Graph

31 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
f0ce987bc1 Update project urls to match NPM url
Note that this *trivially* updates project urls by adding the NPM url to
the end, even when the urls are almost identical or the DT one is
outdated. I'll clean up the urls in a later commit.

This PR is unfinished! Please do not merge it yet.
2019-02-11 17:10:55 -08:00
denis
909f8b2069 Fix jQuery compatibility
Linting `unified-signatures` for dropdown
2019-01-28 01:02:33 +01:00
denis
d08ed79e6e Add JsDoc
Remove .button() without parameter
2019-01-24 14:42:49 +01:00
denis
5e0627690d Add events typing
Add tests for tab
2019-01-22 22:54:43 +01:00
denisname
3acf952289 Add new toast component and touch support in carousel (#31748) 2018-12-31 07:48:01 -08:00
denis
64ed1df144 Add JsDoc for methods. 2018-12-18 16:23:59 +01:00
denis
4debfe2260 Improve relatedTarget typing 2018-12-18 16:23:59 +01:00
denis
683903c101 Add JsDoc for scrollspy#method 2018-12-18 16:23:58 +01:00
Leonard Thieu
b6bb6a64fd [bootstrap] Update API for jQuery Events API changes. 2018-11-24 09:43:05 -05:00
denisname
c6cfed730f Update type definition (#29287) 2018-10-04 10:56:42 -07:00
denisname
41eca014e1 document.body is possibly 'null' in TypeScript@next (#27782) 2018-08-01 13:53:31 -07:00
Dominic Carrington
3aa3328ffd [bootstrap] False is valid for interval option in carousel (#27078)
* [bootstrap] False is valid for interval in carousel

* [bootstrap] Keep consistant spacing
2018-07-06 09:38:55 -07:00
Leonard Thieu
bac2d1db56 [jquery] Fix return types for JQuery.map, JQueryStatic.map, and JQueryStatic(). (#26524)
* [jquery] Fix return type of `JQuery.map`.

The type parameter of the JQuery object returned from `JQuery.map` depends on the return values of the callback. Previously, the type parameter was based on the object it was called on.

This fix requires dropping constraints on `JQuery`, `JQueryStatic`, `EventHandler`, and `EventHandlerBase` as `JQuery.map` may return `JQuery` objects that contain non-`Node` values.

* [jquery] Fix return type of `JQueryStatic.map`.

* [jquery] Declare type for `this` in callback for `JQueryStatic.map`.

* [jquery] Fix return type for `JQueryStatic()`.

* [bootstrap] Match change to `JQuery` interface.

* [flight] Fix test failure due to change in `@types/jquery`.

* [materialize-css] Fix test failure due to change in `@types/jquery`.

* [select2] Match changes to `@types/jquery` interfaces.

* [jquery] Fix error due to breaking change in TypeScript lib declarations.

(cherry picked from commit 2506245)
2018-06-17 23:02:23 +01:00
denisname
70d32cd228 Update to bootstrap 4.1 (#24928) 2018-04-11 16:14:42 -07:00
denis
662808d125 Update popper.js version to ^1.14.1 in package.json
See also: popper.js/pull/539 and popper.js/pull/584
2018-03-13 18:45:09 +01:00
denis
d380fbba0a Add types to ScrollspyOption
Add method and target to ScrollspyOption
2018-03-13 18:18:04 +01:00
denis
143f327125 Add popover options 2018-03-06 22:12:08 +01:00
denis
a72347d654 Use Bootstrap namespace
Use a Bootstrap namespace instead of prefixing names.
2018-03-05 22:55:57 +01:00
denis
1277b7b0b5 Add collapse, tab and scrollspy definitions
Add more definitions and use popper.js definition for offset and behavor
2018-03-05 21:34:42 +01:00
denis
5935040c4b Typo 2018-02-20 23:03:42 +01:00
denis
b5abbd1ead Add bootstrap v4 2018-02-20 22:54:20 +01:00
denis
7c24fc4070 Move bootstrap to v3 directory 2018-02-20 22:45:36 +01:00
Vitalie Andries
2cdc9ea071 @trivial - modal commands can take 2nd argument as relatedTarget and use as event property 2018-02-05 15:35:26 +02:00
Dmitry
c6a22f77ba Add missed carousel definition variant (#23063)
https://getbootstrap.com/docs/3.3/javascript/#carousel-number
2018-01-23 10:42:43 -08:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Jónatan Núñez
eadb478a2e [@types/bootstrap] allow call affix command
Allow call affix command like 'checkPosition'

http://getbootstrap.com/javascript/#affix-checkposition
2017-07-10 17:17:13 +02:00
Leonard Thieu
1c3565933c :( 2017-06-13 13:00:42 -04:00
Lee Houghton
28e1e5af21 Fix typo in CarouselOptions (#15536) 2017-04-17 08:14:00 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00