Commit Graph

4165 Commits

Author SHA1 Message Date
Brandy Carney
d6589e1586 fix(toast): remove default duration, allow close button click when bd disabled
Set default text for the close button if nothing is passed. Updated
tests and API docs.

references #5582
2016-04-21 13:46:29 -04:00
Adam Bradley
96ef75a10a style(toast): fix tslint errors 2016-04-21 09:52:51 -05:00
Adam Bradley
e07f0ae693 fix(toast): create unique toast id 2016-04-21 09:48:28 -05:00
Adam Bradley
95af318d3e style(toast): update sass formatting 2016-04-21 09:34:17 -05:00
Adam Bradley
219059c5b0 fix(sass): fix sass errors 2016-04-21 09:10:02 -05:00
Brandy Carney
dd5d4480f8 docs(demos): add API toast demo 2016-04-20 17:56:22 -04:00
perry
3a22f26b2d chore(dgeni): test for api DIR before clearining it 2016-04-20 16:38:23 -05:00
Brandy Carney
2061d97f0d Merge pull request #5906 from dmackerman/2.0
feat(toast): add toast component
2016-04-20 17:25:32 -04:00
Brandy Carney
22cccd9886 chore: update beta.5 breaking changes to put in list 2016-04-20 16:41:43 -04:00
Brandy Carney
e60d500240 chore(ionic): release beta.5 2016-04-20 16:25:04 -04:00
Brandy Carney
5c9d7afdfc Merge branch '2.0' of https://github.com/driftyco/ionic into 2.0 2016-04-20 16:15:30 -04:00
Brandy Carney
47cdfaf87a style: fix ts linter errors 2016-04-20 16:15:22 -04:00
Jad Salhani
9f2721709e Removed redundant this.nav declaration (#6244)
`this.nav = nav` is already present due to the `public nav: NavController` declaration, having it in the constructor as well is redundant
v2.0.0-beta.5
2016-04-20 15:05:06 -05:00
Brandy Carney
c3fb051ed6 style(sass): fix linter errors 2016-04-20 15:33:55 -04:00
Brandy Carney
5f8edc2fcf fix(button): remove classes from buttons with categories
references #6237
2016-04-20 15:16:34 -04:00
Brandy Carney
d5daaf539a docs(slides): include pager option in Slides API docs
references #5508
2016-04-20 15:14:44 -04:00
Brandy Carney
9412a7c7f6 fix(alert): remove justify content from buttons in an alert
references #6237
2016-04-20 14:52:23 -04:00
Brandy Carney
e0a4f09304 test(app): fix karma test for app to include change detector 2016-04-20 14:38:51 -04:00
Brandy Carney
35dd0ed0b0 fix(button): add a category to buttons so they won't get the button styles
fixes #6237
2016-04-20 13:20:01 -04:00
Brandy Carney
4a8975cb8b refactor(slides): warn about the deprecated slide events always
References #5508
2016-04-20 10:56:22 -04:00
Brandy Carney
a54361cf2e feat(slides): add method to get previous index
Slides added method wrapper: `getPreviousIndex()`

references #5508
2016-04-20 10:56:22 -04:00
Mike Hartington
28cb089677 docs(alert): fix docs
References https://github.com/driftyco/ionic-site/pull/559
2016-04-20 10:38:52 -04:00
Adam Bradley
0de8c7055e chore(zone): bump up to zone.js 0.6.12 2016-04-19 23:04:20 -05:00
Brandy Carney
ee4869abb9 docs(slides): update API docs for slides with usage information
also updated the test for controller.

references #5508 closes driftyco/ionic-site#458
2016-04-19 19:49:45 -04:00
Brandy Carney
010fb2abfa chore: update scripts README with Sass linter steps 2016-04-19 17:48:28 -04:00
Brandy Carney
46544047be refactor(slides): update slide methods and API docs
add to docs including how to use the slides and rename methods.

BREAKING CHANGE:

The Slides component has been refactored. Many methods and events were
renamed.

The following events have been renamed:

- `slideChangeStart` has been renamed `willChange`
- `change` has been renamed `didChange`

The following methods have been renamed:

`next()` has been renamed to `slideNext()`
`prev()` has been renamed to `slidePrev()`
`getIndex()` has been renamed to `getActiveIndex()`
`getNumSlides()` has been renamed to `length()`
`isAtEnd()` has been renamed to `isEnd()`
`isAtBeginning()` has been renamed to `isBeginning()`
`getSliderWidget()` has been renamed to `getSlider()`

The following method was added: `slideTo()`

All methods have been documented in the API docs:
http://ionicframework.com/docs/v2/api/components/slides/Slides/

references #5508, references driftyco/ionic-site#458
2016-04-19 17:45:59 -04:00
Brandy Carney
381a650f8e test(slides): update slides tests with new API and add new one
references #5508
2016-04-19 17:34:51 -04:00
Perry Govier
20feed0cc8 chore(dgeni): allow markdown in the return description 2016-04-19 15:04:07 -05:00
Mike Hartington
902fbd0f62 docs(ionicDirectives): add docs for IONIC_DIRECTIVES 2016-04-19 14:18:52 -04:00
Adam Bradley
8d8cc4c097 fix(tabs): do not init w/ tab that is hidden or disabled
Closes #6226
2016-04-19 11:27:34 -05:00
Adam Bradley
8eedb2b463 docs(nav): update nav transition promises docs 2016-04-19 10:38:37 -05:00
Adam Bradley
83af18b87e docs(actionsheet): dismissing and async navigation 2016-04-19 10:17:42 -05:00
Adam Bradley
f1b6d93dce docs(alert): dismissing and async navigation 2016-04-19 09:58:13 -05:00
mhartington
98e0c23340 docs(navController): update links
References https://github.com/driftyco/ionic-site/issues/554
2016-04-19 10:37:02 -04:00
mhartington
28eb819a0e docs(navController): update life cylce hooks 2016-04-19 10:24:49 -04:00
Adam Bradley
5aa816946a docs(nav): add Nav Transition Promises section 2016-04-18 23:50:26 -05:00
Adam Bradley
ac30fb7453 Merge branch 'dusbuss-add-global-app-injector' into 2.0 2016-04-18 21:59:25 -05:00
Adam Bradley
d9b239b695 chore(app): move setAppInjector to postBootstrap 2016-04-18 21:58:36 -05:00
Adam Bradley
bef4a67025 feat(content): add scrollToBottom 2016-04-18 21:22:39 -05:00
perry
1c755dcb34 chore(dgeni): differentiate properties v methods. Closes driftyco/ionic-site#498 2016-04-18 17:36:48 -05:00
Dave Ackerman
f5b9474452 some docs updates, cleanup 2016-04-18 15:36:05 -07:00
Adam Bradley
0a83f2f260 feat(directives): auto provide IONIC_DIRECTIVES to all components
Closes #6092
2016-04-18 17:30:58 -05:00
Brandy Carney
17f9465fa5 Merge pull request #5491 from teleaziz/slide-to-index
feat(slides): add ability to slide to specific index
2016-04-18 17:40:10 -04:00
mhartington
58570f2da5 docs(id): make private for now 2016-04-18 17:36:50 -04:00
Brandy Carney
8b55812ec0 docs(demos): remove user agent from platform demo 2016-04-18 17:32:48 -04:00
Dave Ackerman
de8cc08261 clearTimeout after toast is dismissed, add WP styles 2016-04-18 12:49:38 -07:00
Dave Ackerman
3fb79cf99d feat(): add toast component 2016-04-18 12:49:38 -07:00
Brandy Carney
7263728da1 fix(slides): add id to the slide component to grab the correct pagination
fixes #5745 references #5508
2016-04-18 13:43:53 -04:00
Brandy Carney
b3b553e50f docs(show-hide-when): fix link to platform docs 2016-04-18 11:38:55 -04:00
Brandy Carney
faf634ceab docs(demos): update platform demo so iOS is first 2016-04-18 11:22:09 -04:00