Commit Graph
56 Commits
Author SHA1 Message Date
Derek LouieandMasahiro Wakame 5411d2e84a Adds the onCloseSuccess config to MdPanel and reveals absPosition enum (#12171) 2016-10-28 22:43:38 +09:00
Christopher CortesandGitHub b863d18402 IToastPreset: add missing toastClass() method
Add toastClass() method to IToastPreset according to the docs: https://material.angularjs.org/latest/api/service/$mdToast
2016-10-19 10:55:23 +02:00
Erin CoughlanandGitHub aab9092524 Update MdPanel in angular-material.d.ts file
Adds interceptor logic and updates offsetX and offsetY to accept new param types.
2016-09-23 10:59:37 -07:00
Sébastien Côté 0c11da7dd7 Change ColorService
- Add ColorExpression interface to be used in ColorService.
- Change getThemeColor expression parameter to string type,
2016-09-21 09:52:46 -04:00
Sébastien Côté b00af2a6e1 Add ColorService and enableBrowserColor method 2016-09-21 08:37:59 -04:00
Mitchell WillsandMasahiro Wakame 1ce244c131 Correct the Angular Material IToastService updateContent typings (#11305) 2016-09-19 16:19:32 +09:00
Alex StaroselskyandMasahiro Wakame f665c7f523 Added toast class property to toast options/config object per commit … (#11132)
* Added toast class property to toast options/config object per commit f72c7816. Added id property to panel config per commit d230aec.

* Added onClose() callback to sidenav object per commit 1f01d264.
2016-09-09 23:39:59 +09:00
Erin CoughlanandMasahiro Wakame 950ae094a1 Update resolve type in angular-material.d.ts. (#11122)
Resolve is using the mdCompileService, which requires functions that return promises, not promises: https://github.com/angular/material/blob/18afebe15e431e8413dcc7ebdb1c00c80c15b7f0/src/core/services/compiler/compiler.js#L47
2016-09-09 23:23:09 +09:00
Erin CoughlanandGitHub 3305d0f7d9 Update MdPanel in angular-material.d.ts file
* Adds new methods in mdPanel to typings.
* Fixes types for MdPanelPosition top/bottom/left/right.
* Adds enums for MdPanelPosition and MdPanelAnimation.
2016-08-05 15:27:43 -07:00
Christopher CortesandGitHub e4933ee6fd Add setNonce to $mdThemeProvider to allow the user to define a nonce attribute
Allow the user to define a nonce attribute for generated theme style tags. See https://github.com/angular/material/issues/7780
2016-08-01 20:08:53 +02:00
jramsayandGitHub b5a93a9e75 Merge pull request #10176 from AlStar01/angular-material-sidenav
Updated  service options object to remove invalid properties and add …
2016-07-20 17:08:48 -07:00
Alex Staroselsky 0e5388394d Updated service options object to remove invalid properties and add missing properties. Updated via overloading service to include optional async instance lookup. 2016-07-18 22:25:08 -05:00
Mohamed Hegazy 8a2a7768ea Update authors as per @mtraynham request 2016-06-27 10:47:59 -07:00
Alex Staroselsky 74a3e8c937 Resolving merge conflicts as part of pull request #9826 for updates to IDialogOptions, IPromptDialog, and IPanelConfig" 2016-06-26 18:49:54 -05:00
Alex Staroselsky 76fbff846f Updated IDialogOptions to include contentElement property for prerendered dialogs. Updated IPromptDialog to add initialValue method. Adding missing semicolon to IPanelConfig. 2016-06-26 18:45:07 -05:00
Alex Staroselsky bbdbb551a9 Updated IDialogOptions to include contentElement property for prerendered dialogs. Updated IPromptDialog to add initialValue method. Adding missing semicolon to IPanelConfig. 2016-06-26 18:25:58 -05:00
Mohamed HegazyandGitHub c5711897d6 Merge pull request #9825 from AlStar01/angular-material-panel
Angular material Panel ($mdPanel) Service and MdPanelPosition/MdPanelAnimation Types
2016-06-26 15:01:39 -07:00
Alex Staroselsky 1fa759c57b Added interfaces for Angular Material $mdPanel service, MdPanelPosition type, and MdPanelAnimation type as part of release 1.1.0-rc.5 (2016-06-03). Updated IDialogService show method to include previously added IPromptDialog. 2016-06-26 15:12:00 -05:00
blbigelow f4af4e83a4 Merge remote-tracking branch 'DefinitelyTyped/master' 2016-06-21 14:40:45 -06:00
Peter HajduandMasahiro Wakame 9161d4fca9 fix angular-material import as module (#9451)
[TypeScript error: xxx.ts(xx,xx): Error TS2307: Cannot find module 'angular-material'.]
2016-06-02 22:02:58 +09:00
Alex StaroselskyandMasahiro Wakame c851b46f11 Added interface for Angular Material Prompt Dialog added in 1.1.0-rc1 (2016-03-09) extending IPresetDialog<T> and included cancel() and placeholder() methods. (#9420) 2016-05-26 23:13:45 +09:00
Alex Staroselsky 0e3b134ae0 Added interface for Angular Material Prompt Dialog added in 1.1.0-rc1 (2016-03-09) extending IPresetDialog<T> and included cancel() and placeholder() methods. 2016-05-22 15:56:09 -05:00
blbigelow f4845ed7be adding skipHide as option to IDialogOptions 2016-05-06 10:12:02 -06:00
Leo CaseiroandMasahiro Wakame 151dc309c9 Update angular-material.d.ts (#8896)
Add IColorPalette for [$mdColorPalette](https://github.com/angular/material/blob/master/src/core/services/theming/theme.palette.js)
2016-04-13 00:40:03 +09:00
vvakame 7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame 14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Masahiro Wakame 0545601eea Merge pull request #8476 from 4tron/patch-3
Update angular-material.d.ts
2016-03-12 01:01:48 +09:00
Tim 4b92d25968 Update angular-material.d.ts
Added highlightClass to IToastPreset https://material.angularjs.org/latest/api/service/$mdToast#simple
2016-03-10 13:05:46 +02:00
Tim 228c12c7de Update angular-material.d.ts
Added autoWrap to IToastOptions
2016-03-10 12:30:19 +02:00
Nora Simonow 2d0a1b1502 Updated IDialogOptions and created IMenuService 2016-02-01 14:33:56 +01:00
ajtowf ac388955e0 Updated IBottomSheetOptions and IDialogOptions 2016-01-04 23:08:53 +01:00
Igor Sidorov 1386ebca37 mdDialog.hide should return Promise instead of void 2015-12-09 18:52:15 +03:00
JJJ afb6532a96 update version to 1.0.0-rc5 2015-11-26 15:00:20 +08:00
book010 abacf3f78a update content to textContent for 1.0.0-rc5
md-toast now uses textContent instead of content - content is deprecated
2015-11-26 12:22:02 +08:00
book010 879969aa28 update text to textContent for 1.0.0-rc5 2015-11-26 12:20:30 +08:00
Gergely Sipos bc6f52da3a angular-material fixed tests for 1.0.0-rc4 2015-11-18 12:36:16 +01:00
Gergely Sipos 4e02503ae9 angular-material IPresetDialog changes for 1.0.0-rc4 2015-11-17 21:10:21 +01:00
Gergely Sipos 2f41a9fdee angular-material: IDateLocaleProvider fix typo 2015-10-19 20:10:36 +02:00
Gergely Sipos 1b33fa072e angular-material: definitions for IDateLocaleProvider 2015-10-19 19:36:08 +02:00
Robert Baker 3b96f86f5e Added parent to IToastPreset
(undocumented function but works)
2015-08-12 16:33:40 -07:00
Alwin Schoemaker d79fffd222 Added content param for IToastService.showSimple()
This param was missing in the interface, but [according to the doc](https://github.com/angular/material/blob/master/src/components/toast/toast.js#L49) without it, it's rather useless.
2015-07-16 12:00:21 +02:00
Robert Baker c5a352c7d3 fixed palette def.
Don't know how that wasn't in there when I versioned it.
2015-07-11 20:18:06 -07:00
Robert Baker 3580621879 fix header 2015-07-07 16:56:45 -07:00
Robert Baker d805bec7a9 added return types. 2015-07-07 16:55:02 -07:00
Robert Baker 329ed16b58 fixed test, versioned old file. 2015-07-07 16:49:25 -07:00
Robert Baker c34d467672 Updated IconProvider
Renamed interfaces to remove the MD prefix with I, to match angular interface names.
2015-07-07 16:45:24 -07:00
Robert Baker fe5fc9d015 Updated DialogService to support chained method config 2015-07-06 11:41:34 -07:00
Robert Baker b0371ddc3f Changed the MDPalette definition to use a union. 2015-06-01 14:41:33 -07:00
Robert Baker 4c7693c94d Fixed MDPalette definition. 2015-05-28 14:50:38 -07:00