Commit Graph

25 Commits

Author SHA1 Message Date
Andy
141d1cc870
And tslint disables for no-angle-bracket-type-assertion (#30592) 2018-11-16 12:20:58 -08:00
denisname
ded7656520 d3 v4 and v5: activate strictNullChecks (#29797)
* d3 v4 and v5: activate strictNullChecks

Add jsDoc

* Oops
2018-10-17 09:02:05 -07:00
Artur
3ef4d930b8
Update index.d.ts
According to the official documentation

> Like other classes in D3, layouts follow the method chaining pattern where setter methods return the layout itself, allowing multiple setters to be invoked in a concise statement.

And d3.layout.treemap.sticky specifically https://github.com/d3/d3-3.x-api-reference/blob/master/Treemap-Layout.md#sticky  should return Treemap<T>.

This file should comply with the actual API, why it is not?

Submiting this MR to your consideration
2018-06-10 11:43:56 +03:00
denis
09c94e3e87 Spelling correction 2018-05-14 19:09:20 +02:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Tom Wanzek
8a50216743 feat(d3): update d3 to major version 5
BREAKING CHANGE:
* feat(d3) :add d3-contour, d3-fetch, and d3-scale-chromatic
* refactor(d3): remove d3-request and d3-queue in favour of d3-fetch
* chore(d3): update major version number to 5.0
* chore(d3): move legacy 4.x definitions with old dependencies into `v4` folder. Apply path-mapping to d3-scale v1 and d3 v4. Update minor version number to 4.13
2018-02-08 17:09:07 -05:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Matthias Jobst
7be1d3666c Added tests for brush on different axis classes
This required some refactoring of the original brush code.
Scale contains a generic.
Brush can take up to three generics.
2017-12-01 13:17:06 +01:00
Matthias Jobst
61ff9913e1 Added Date to brush.Scale and removed it from Primitive 2017-11-30 11:54:46 +01:00
Matthias Jobst
c86c33b89c Modified tests to fit with new definitions 2017-11-28 12:08:07 +01:00
Matthias Jobst
7e822192e5 D3 V3: Update to insert and force charts
Added optionality to parameter in insert
Added number as initial value in Link
Added Date as allowed return für brushing on Date charts
Extended Primitive
2017-11-28 12:05:04 +01:00
Tom Wanzek
b5050cec4e d3:
* [CHORE] Bump minor version to 4.12
2017-11-21 21:48:11 -05:00
Andy
954ee278de
Update TypeScript Versions to be at least as high as dependencies' versions (#21288)
* Update `TypeScript Version`s to be at least as high as dependencies' versions

* Run through again
2017-11-08 09:12:14 -08:00
Andy
2e2770c2c1
Remove // tslint:disable comments, add TODOs to tslint.json (#21292) 2017-11-07 09:42:02 -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
Tom Wanzek
b7d6b8d33f [d3-drag/d3-zoom] Update minor versions 1.2.1/1.6.0 (#20323)
* Minor Version  updates:
* [d3-drag] Added `touchable(...)` support
* [d3-drag] Bumped minor version to 1.2
* [d3-zoom] Added `touchable(...)` support
* [d3-zoom] Bumped minor version to 1.6

* d3
* Bump minor version to 4.11
2017-10-11 16:13:31 -07:00
Andy
14df840b7d Fixup strictFunctionTypes settings (#20374) 2017-10-06 14:21:13 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Tom Wanzek
93a95b5da0 d3: (#20059)
* [FIX] Add missing `version` property
2017-09-27 07:01:51 -07:00
Tom Wanzek
5fb85c244c [d3] Update to Minor Version 4.10 (#18103)
* [d3-zoom] Update to 1.5
* [Feature] Add `translateTo(...)`
* [Doc] Update some JSDoc comments
* [Chore] Bump minor version number

* [d3-zoom] Bump Minor Version number.

* [d3-shape]
* [Fix] Change `pointRadius` to `pointRadial`

* [d3-shape] Fix test for pointRadial

* [d3-axis]
* [Doc] Update some comments.

* [d3-time] [Doc] Some JSDoc updates.

* [d3] [Chore] Bump minor version to 4.10
2017-07-21 09:48:03 -07:00
Tom Wanzek
373a3b98e3 [d3] Bump to version 4.9 2017-05-17 12:20:54 -04:00
Tom Wanzek
b6746d73a2 D3 Update to 4.8.0 (d3-array 1.2 [Feature/Fix] and d3-format 1.2 [Feature]) (#15904)
* Update d3-format to v1.2
* [Feature] Adds support for optional "percent" suffix in locale definition.
* Added tslint.json file

* [d3-array] Update to version 1.2
* [Feature]: Add `tickIncrement(...)`
* [Fix]: Fix incorrect  return type of tickStep(...). The correct return type is `number` instead of `number[]`
* [Chore]: Updated related comments

* [d3] Update minor version to 4.8

* Fix d3-format related linting errors.
2017-04-25 09:45:20 -07:00
Andy
e13ecba965 d3: Fix new --noImplicitAny error (#15984) 2017-04-19 10:10:19 -07:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00