Commit Graph
32934 Commits
Author SHA1 Message Date
Wesley Wigham fab35d3049 Merge pull request #18087 from RomanLysogor/master
[Draft.js]: Extended DraftEditorProps to improve mobile web behaviors
2017-07-17 12:45:53 -07:00
Wesley Wigham 1d1bf818d3 Merge pull request #18098 from lochbrunner/master
[xmldoc] Make XmlDocument as an extension of XmlElement
2017-07-17 12:45:10 -07:00
Wesley Wigham 6132f3241d Merge pull request #18111 from KentarouTakeda/chart.js
[chart.js]Add properties for some type
2017-07-17 12:43:37 -07:00
Wesley Wigham 3d315f8145 Merge pull request #18093 from BendingBender/svg4everybody
[svg4everybody] introduce typings
2017-07-17 12:40:34 -07:00
Ryota Kameoka da17482087 Fix type definition for REPL module of Node.js (#18021)
* Fix signature for repl.start() function

* Complete type definition for REPLServer.context property
2017-07-17 12:25:30 -07:00
Eloy Durán 425cbe9fd8 Merge pull request #18122 from gyzerok/react-native/fix-styles-in-ts-24
@types/react-native: fix style related bugs
2017-07-17 20:36:51 +02:00
Dimitri Benin a51f7ddc22 [cucumber] fix confusing import 2017-07-17 20:26:12 +02:00
Adam Lavin 45a98df700 Updated react-maskedinput for 4.0.0 (#18058)
* Updated react-maskedinput for 4.0.0

* Add namespace back in, change the way component class is defined

* Removed namespaces and export interfaces
2017-07-17 11:24:12 -07:00
Mikhail Morozov 1af3158a5d Reactstrap css modules (#18049)
* reactstrap css modules

* fixed module import

* removed package-lock.json from git index
2017-07-17 11:19:27 -07:00
Chris Kelly 1ad0e4dbc4 Make center point optional on Point.rotate (#18045)
* Make center point optional on Point.rotate

Since the second parameter is optional (and most don't use it), let's let TS know that one parameter is OK.

* Update index.d.ts
2017-07-17 11:17:58 -07:00
Wesley Wigham cd85a7a557 Merge pull request #18094 from KentarouTakeda/mersenne-twister
Add a new package "mersenne-twister"
2017-07-17 11:17:05 -07:00
Wesley Wigham e79f95da78 Merge pull request #18101 from atiaxi/rot-js
Added type definitions for rot-js
2017-07-17 11:15:12 -07:00
Renjith 18747a4fce [restify 5] Fix definition for AuditLogger and RouteOptions (#18036)
* Fix definition for AuditLoggerOptions and RouteOptions

* Beautify

* Fix test cases
2017-07-17 11:12:33 -07:00
Ika 2b52c98aea feat(jest): add types for implementing custom interfaces (#18034)
* refactor(jest): enable tslint

* feat(jest): use global-modifying-module format

* feat(jest): add types for implementing custom interfaces

* fix(jest): should use interface instead of class, since it does not exist in jest environment

* docs(jest): fix typo

* revert: feat(jest): use global-modifying-module format

This reverts commit 99f7db4eac4530423f9de99f0553dbbc5043fc1d.

* docs(jest): fix typo

* feat(jest): update TS version to 2.2

* fix(jest): flow's Maybe type
2017-07-17 11:12:12 -07:00
cjbarth d00caf8115 REQUEST: Add version number for correct version of @types npm package (#18026)
* Add version number for correct version of @types npm package

* Remove duplicate property
2017-07-17 11:11:28 -07:00
Wesley Wigham bbd38cc7e2 Merge pull request #18104 from BendingBender/leaflet-providers
[leaflet-providers] introduce typings
2017-07-17 11:08:06 -07:00
Max Winderbaum 40e971e511 Remove duplicate 'time' identifier in @types/request (#18077) 2017-07-17 11:06:58 -07:00
Iñaki Ibarrola Atxa 3fe5fe7403 Add support for the classes option in Tabs and Dialog (#18015)
* Add support for the classes option in Tabs and Dialog.

* Add support for the classes option in Tabs and Dialog (Fix spacing).
2017-07-17 11:04:55 -07:00
Wesley Wigham 3e207ac3bb Merge pull request #18110 from BendingBender/socket.io-wildcard
[socketio-wildcard] introduce typings
2017-07-17 11:04:24 -07:00
Silas Rech 01366d9625 Add timing properties (#18000) 2017-07-17 11:01:20 -07:00
Denise Mauldin ee5246d60a Added searchPlaceholder to datatables.net (#17986) 2017-07-17 10:59:41 -07:00
Michal Blaha d6e5104955 [seneca] Update Options.log definition (#17976) 2017-07-17 10:58:56 -07:00
Panagiotis Rikarnto Siavelis 3a37a44480 notifyjs - adding missing requireInteraction option (#17972) 2017-07-17 10:58:31 -07:00
Shai Reznik cc8a3b49b4 add optional done func to jasmine-given (#17971) 2017-07-17 10:57:58 -07:00
Juliën Hanssens fc32c1990c [highcharts] Implemented changes from v4.2.x => v5.0.10 (#17970)
* Implemented specs from Highcharts v5.0.0

Conform changelog at https://www.highcharts.com/documentation/changelog, implemented the following changes:

	- Added styled mode for optional separation of SVG and CSS.
	- Added responsive option set.
	- Added accessibility option set.
	- Added new function, Chart.update in order to update the chart options after render time.
	- Added new function, Chart.addCredits.
	- Added new function, Chart.title.update.
	- Added new function, Chart.credits.update.
	- Added new function, Legend.update.
	- Added new option, Renderer.definition.
	- Added new option, exporting.error for catching errors in offline exporting.
	- Added new option, exporting.libURL for use with offline exporting.
	- Added new option, pane.background.className.
	- Added new option, xAxis.className.
	- Added new option, xAxis.crosshair.className.
	- Added new option, plotOptions.series.dataLabels.className.
	- Added new option, plotOptions.series.className for styling individual series.
	- Added new option, xAxis.plotBands.className.
	- Added new option, xAxis.plotLines.className.
	- Added new option, plotOptions.series.zones.className.
	- Added new option, chart.colorCount for use in styled mode.
	- Added new option, defs for defining reusable elements in styled mode.
	- Added new option, tooltip.padding.
	- Added new option, series<line>.data.colorIndex for coloring points in styled mode.
	- Added new option, tooltip.split.
	- Added new option, chart.description for use with the accessibility module.
	- Added new option, chart.typeDescription for use with the accessibility module.
	- Added new option, xAxis.description for use with the accessibility module.
	- Added new option, plotOptions.series.description for use with the accessibility module.
	- Refactored build system to use ES6 imports and node-based build script.
	- Changed all default colors (except series data colors) to a simplified color scheme based on just a few shared colors.

Additional improvements (found throughout the documentation):

	- Changed reference from `color?: string` to `color?: Color` throughout the different Options objects (this broke Typescript intellisense before)
	- ChartObject.xAxis now accepts also a single AxisObject, as well as Array<AxisObject>
	- ChartObject.yAxis now accepts also a single AxisObject, as well as Array<AxisObject>
	- Important: a handful changes already implemented by community contributors are left alone

* Implemented specs from Highcharts 5.0.1 (2016-10-26)

Conform changelog at https://www.highcharts.com/documentation/changelog, implemented the following changes:
    - Added new options, axis.softMin and axis.softMax.

No further documentation linked on the following subjects/changes (= ignored):

	- Added Legend keyboard navigation to the accessibility module.
	- Added animation on hovering point markers.
	- Added offline PDF export support.

* Implemented Highcharts 5.0.3 (2016-11-18)

- Added new option, lang.numericSymbolMagnitude, to support numeric symbol shortening in Japanese, Korean and certain Chinese locales.
- Added new option, threshold, for solid gauge series.
- Added new CSS custom property, textOutline, and at the same time removed the textShadow shim. Closes #5849.

Ignored due to being implementation-only, or lack of documentation:

- Better implementation of the chart.pinchType option. Allow pinchType and zoomType to be set independently. When tooltip.followTouchMove is true, pinchType only applies to two-finger touches. Closes #5840.
- Changed the Highcharts.addEvent function to return a callback to be used to remove the same event.
- Implemented bubbles in the Boost module.
- Improved alignment of ticks on multiple axes by allowing ticks to be placed at less strict intervals.
- Refactored split tooltip connectors to use common callback shape instead.

* Highcharts 5.0.7 (2017-01-17)

- Added new option, global.timezone, as a convenient shortcut to timezones defined with moment.js.
- Changed the Highcharts.error function to handle strings.

Ignored due to being implementation-only, or lack of documentation:

- Added Legend keyboard navigation to accessibility module.
- Added chart render and predraw events needed by the new Boost module.
- Added optional redraw to drillToNode, related to #6180.
- Added support for marker.symbol setting on bubble charts.
- Changed the Highcharts.addEvent function to return a callback to be used to remove the same event.

* Highcharts 5.0.8 (2017-03-08)

Conform changelog at https://www.highcharts.com/documentation/changelog, implemented the following changes:

- Added animation on graph mouse over and mouse out.
- Added new option, solidgauge.rounded.
- Added support for relative chart.height as a percentage of the width. This allows for fixed aspect ratio.

Ignored due to being implementation-only, or lack of documentation:

- Added a refactored Boost module based on WebGL. Details and API to be announced.
- Added hooks so that users can define their own log axis conversion functions, and can advertise that the log axis should allow negative values.

* Highcharts 5.0.10 (2017-03-31)

Conform changelog at https://www.highcharts.com/documentation/changelog, implemented the following changes:

- Added new option, plotOptions.column.crisp, to allow disabling crisp columns and subsequent rendering issues with densely packed items. Closes #5755.
- Added new option, findNearestPointBy to declare how the tooltip searches for points. #6231.

Ignored due to being implementation-only, or lack of documentation:

- Added !default statement to SASS variables for easier configuration. Closes #6436.
- Refactored the Pane object to keep track of its own backgrounds, more decoupled from Axis.

* Fixed dtslint warnings and errors for CI

This fixes all tslint/dtslint errors, incl. historic errors. #vanity

- Fixed: Array type using 'Array<T>' is forbidden for simple types. Use 'T[]' instead.
- Fixed: Exceeds maximum line length of 200
- Fixed: trailing whitespace
- Fixed: missing semicolon
- Fixed: Consecutive blank lines are forbidden
- Fixed: non-arrow functions are forbidden
- Fixed: missing whitespace
- Fixed: Don't leave a blank line before/after '{' / '}'
- Fixed: Do not use 'var'
2017-07-17 10:57:21 -07:00
Bjørn bd2b2731b1 Update archiver to 2.0 and define options argument (#17968) 2017-07-17 10:56:26 -07:00
ckddbs 65cb0f9e93 Added FBXLoader (#17967) 2017-07-17 10:56:06 -07:00
Wesley Wigham dde687d119 Merge pull request #18112 from bradleyayers/pg-connection-string
Add pg-connection-string.
2017-07-17 10:55:14 -07:00
Giedrius Grabauskas dc34e6c831 Updated react-i18next types to 4.6.1 (#17715)
* Create tslint.json

* Moved v1 types to specified version folder.

* Created types for react-i18next.

* Exported as global UMD module.

* Added more tests.

* Fixed dtslint errors.

* Removed @KostyaEsmukov from the authors list.

* Added addition data for Trans component.

* Added typescript 2.3 support.

* Added generic TKey for translate method.

* Removed path map to i18next/v2.

* Fixed dtslint error.

* Fixed ts error.
2017-07-17 10:53:29 -07:00
Wesley Wigham a388ec2193 Merge pull request #18119 from BendingBender/redis-mock
[redis-mock] introduce typings
2017-07-17 10:48:58 -07:00
Rylan Cottrell 86bc2813fb Added missing option maxViewMode (#17953)
maxViewMode has the same type as minViewMode.
http://bootstrap-datepicker.readthedocs.io/en/latest/options.html#maxviewmode
2017-07-17 10:48:09 -07:00
Bas Bosman b15d47c31d Tweak ShortcutsArray definition for simplemde (#17944) 2017-07-17 10:47:49 -07:00
vitalii 7ef13ce8d0 update angular-resource interceptor (#17919) 2017-07-17 10:47:05 -07:00
Wesley Wigham 1420ba873e Merge pull request #18124 from YuJianrong/master
Add .d.ts files for npm module node-vault
2017-07-17 10:46:44 -07:00
Wesley Wigham a865229f16 Merge pull request #18125 from LucasHill/through2-map
Create type defintions for through2-map.
2017-07-17 10:41:26 -07:00
Ben Windsor a7c4d07798 Update SES nodemailer typings to match current implementation (#17888)
* Update ses transport types to match current nodemailer

* Updated tests

* Updated version number

* Update SES test to match new defintion

* Set noemit to true in tsconfig

* Change version to only have x.x

* Added import aws-sdk to ses tests

* Added package.json for aws dependency

* Add missing semicolon
2017-07-17 10:39:39 -07:00
Ryan Cavanaugh d68120e9c1 Merge pull request #17912 from Grzesie2k/react-touch
Add types for react-touch
2017-07-17 09:54:30 -07:00
Giedrius Grabauskas b4913f384e Updated i18next types to v8.4 and added missing v2 version (#17702)
* undertaker-registry initial commit.

* Created index.d.ts for undertaker-registry

* Created tslint.json for undertaker-registry

* Created tests for undertaker-registry.

* Create tslint.json

* Moved v2 version and created initial files.

* Updated types of i18next.

* Locked versions for dependents.

* Improved tests.

* Fixed ts error.

* Updated to backwards compatible naming.

* Added missing event remover method.

* Fixed tslint errors.

* Added missing variables.

* Added missing compatibilityJSON argument.

* Fixed dtslint error.

* Updated naming and implemented TranslationOptions.

* Fixing and removed wrong implementation. Updating some comments.

* Creted FormatFunction type. TranslationOptionsBase changed to TranslationOptions.

* Updated interpolation options defaults in jsdocs.

* Wrapped all @default values with single-quotes.

* Updated FormatFunction type. Fixed tests.

* Fixed dtslint errors.

* Typescript 2.3 and changed to `object`.

* Added TypeScript 2.3 support.

* Added generics for TranslationFunction, `t` and `exists` methods.

* Created TranslationResult type with default `string` generic value.

* Added tests for generics. Updated return types for translation method.

* Updated `parseMissingKeyHandler` return type.

* TranslationFunction TResult default value changed to any.

* Removed references and ts 2.3 version from i18next-express-middleware.

* Removed reference and ts 2.3 version from i18next-node-fs-backend.

* Removed reference and ts 2.3 version from i18next-sprintf-postprocessor.

* Added mapping path to i18next/v2.

* Created TranslationFunction interface.

* Fixed dtslint errors.

* Fixed `callable-types` tslint error.

* Updated exists method type.

* Fixed tests for `exists` method.

* Removed ts 2.3 version and reference to i18next type.
2017-07-17 09:54:08 -07:00
Eduard de Araújo Alves 717ecbb895 Add types for 'redux-form/immutable' sub-module. (#17457)
* Add types for 'redux-form/immutable' sub-module.

* Add immutable typing file to tsconfig.json
Add an author

* Add tests for 'redux-form/immutable'
2017-07-17 09:48:08 -07:00
Grzegorz Kielak eda0fee1e6 Fix typo in react-touch (SwipConfig)
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/17912#pullrequestreview-49976921
2017-07-17 17:13:52 +02:00
Lucas Hill cf8d9038e5 Create type defintions for through2-map. 2017-07-16 23:12:54 -07:00
Jianrong Yu 73d430abe6 Add .d.ts files for npm module 2017-07-17 14:03:58 +08:00
Fedor Nezhivoi 8088446401 @types/react-native: fix style related bugs 2017-07-16 22:43:46 +03:00
Dimitri Benin d6ec52740a [redis-mock] introduce typings 2017-07-16 20:44:02 +02:00
Bradley Ayers a4ef6371cd Add pg-connection-string. 2017-07-16 20:07:43 +10:00
武田 憲太郎 c402b5ed0e Bump version to chart.js 2.6 and add my credit 2017-07-16 18:52:32 +09:00
武田 憲太郎 56d8e354be Add property "intersect" to ChartHoverOptions
http://www.chartjs.org/docs/latest/general/interactions/
2017-07-16 18:45:05 +09:00
武田 憲太郎 ff91164e03 add properties of ChartTooltipOptions
http://www.chartjs.org/docs/latest/configuration/tooltip.html
filter, intersect, itemSort, position, caretPadding, displayColors, borderColor, borderWidth
2017-07-16 18:45:05 +09:00
武田 憲太郎 6805914e4c type of transformed data should be not only string but number.
Some convenient function for label conversion (e.g. Math.floor) returns number. It is harmless because when displaying, toString() called implicitly.
2017-07-16 18:45:05 +09:00
武田 憲太郎 e144f0643c chart instance has properties "ctx", "canvas", "chartArea"
ctx, canvas
https://github.com/chartjs/Chart.js/blob/master/src/core/core.controller.js#L78-L79

chartArea
https://github.com/chartjs/Chart.js/blob/master/src/core/core.layoutService.js#L417-L423
2017-07-16 18:44:47 +09:00