Commit Graph

289 Commits

Author SHA1 Message Date
Adam Bradley
e6a673bd32 chore(angular): update to angular 2.0.0-beta.16 2016-04-28 23:12:56 -05:00
Brandy Carney
49e1b20342 docs(config): update config with windows mode
rearrange mode config so it is in alphabetical order

references driftyco/ionic-site#585
2016-04-28 16:56:06 -04:00
Adam Bradley
df328361fd chore(id): finding component by an id attr has been removed
BREAKING CHANGES: app.getComponent() has been removed. Please use
Angular's ViewChild annotation instead:
http://learnangular2.com/viewChild/
2016-04-28 11:29:48 -05:00
Adam Bradley
aa9a667a3f feat(picker): add ios/md/wp picker styles 2016-04-26 16:03:44 -05:00
Adam Bradley
985bb89082 Merge branch '2.0' into picker
# Conflicts:
#	ionic/components.ts
2016-04-21 23:47:16 -05:00
Adam Bradley
d5068f8430 feat(picker): init picker 2016-04-21 23:46:00 -05:00
Brandy Carney
2255513205 refactor(blur): remove blur component
BREAKING CHANGES: blur component has been removed

fixes #6272
2016-04-21 17:35:34 -04: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
Mike Hartington
902fbd0f62 docs(ionicDirectives): add docs for IONIC_DIRECTIVES 2016-04-19 14:18:52 -04:00
Adam Bradley
d9b239b695 chore(app): move setAppInjector to postBootstrap 2016-04-18 21:58:36 -05:00
Dave Ackerman
3fb79cf99d feat(): add toast component 2016-04-18 12:49:38 -07:00
Adam Bradley
ba5624bc04 fix(platform): fire cordova platform.ready using zone
Closes #6186
2016-04-15 20:35:14 -05:00
Brandy Carney
a1fe10690c docs(bootstrap): make postBootstrap private 2016-04-15 17:08:06 -04:00
Adam Bradley
7fe3f80277 chore(overlay): remove deprecated ion-overlay 2016-04-14 13:44:00 -05:00
Adam Bradley
51032d284d feat(platform): default desktop to use material design
Breaking Change: Previously the default was to use ios mode if a more
specific platform was not determined. Now the material design mode (md)
will apply by default. In most cases this means desktop browsers will
now receive the md mode. Closes #6003
2016-04-12 12:20:31 -05:00
Adam Bradley
e082bd12ed fix(platform): run zone after cordova deviceready
Closes #6087
2016-04-11 15:32:45 -05:00
Adam Bradley
156fdc35ed feat(platform): add backbutton event 2016-04-09 21:54:39 -05:00
Adam Bradley
d8e670ca7c style(tslint): add tslint
Closes #5756
2016-04-06 20:48:09 -05:00
Adam Bradley
7679ac08f5 feat(virtualScroll): init virtual scroll
Closes #5418
2016-04-05 14:50:05 -05:00
Adam Bradley
f3d92b8eb8 refactor(scroll): js scrolling ability
Required for Virtual Scrolling on iOS UIWebView
2016-04-05 14:50:05 -05:00
Brandy Carney
a485cd00ed feat(loading): add loading indicator component and styles
this is the initial commit - still needs work

references #5426
2016-03-28 17:35:49 -04:00
Adam Bradley
d44f8f6fcf fix(config): improve getBoolean() and getNumber() 2016-03-12 23:44:10 -06:00
Adam Bradley
62c880ff40 chore(transition): tweak wp page transition animation 2016-03-04 13:02:55 -06:00
Adam Bradley
a0235a5b49 chore(alert): tweak wp alert animation 2016-03-04 12:45:48 -06:00
Brandy Carney
894824e657 fix(config): fix config set function so that it has arguments defined
fixes #5696
2016-03-04 12:29:58 -05:00
Adam Bradley
acf2bd9820 test(platform): fix wp test 2016-03-03 21:21:46 -06:00
Brandy Carney
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
Tim Lancina
a237c16bc0 chore(): use relative imports in tests 2016-03-02 15:43:51 -06:00
Brandy Carney
2b77d52061 docs(API): clean up API docs 2016-03-01 19:24:33 -05:00
Brandy Carney
02da18b311 Merge branch '2.0' into windows-mode
# Conflicts:
#	ionic/components/searchbar/searchbar.ts
2016-02-29 19:02:55 -05:00
Adam Bradley
0480fa3b50 feat(infiniteScroll): add infinite scroll
Closes #5415
2016-02-29 11:13:31 -06:00
Adam Bradley
91df5f97ee refactor(refresher): allow refresher content customization
Breaking Change:

## Refresher:

- `<ion-refresher>` now takes a child `<ion-refresher-content>`
component.
- Custom refresh content components can now be replaced for Ionic's
default refresher content.
- Properties `pullingIcon`, `pullingText` and `refreshingText` have
been moved to the `<ion-refresher-content>` component.
- `spinner` property has been renamed to `refreshingSpinner` and now
goes on the `<ion-refresher-content>` component.
- `refreshingIcon` property is no longer an input, but instead
`refreshingSpinner` should be used.

Was:

```
<ion-refresher (refresh)="doRefresh($event)"
pullingIcon="arrow-dropdown">
</ion-refresher>
```

Now:

```
<ion-refresher (refresh)="doRefresh($event)">
  <ion-refresher-content
pullingIcon="arrow-dropdown"></ion-refresher-content>
</ion-refresher>
```
2016-02-27 17:33:59 -06:00
Brandy Carney
8cfebe1386 refactor(tabs): remove tabbarIcons and add tabbarLayout which accepts different values
BREAKING CHANGES: `tabbarIcons` has been replaced with `tabbarLayout`
with the following values: `icon-top`, `icon-left`, `icon-right`,
`icon-bottom`, `icon-hide`, `title-hide`.

closes #5625
2016-02-26 16:44:32 -05:00
Adam Bradley
6c73446628 feat(spinner): SVG spinners 2016-02-25 17:23:52 -06:00
Brandy Carney
e05f147945 feat(windows): windows UI cleanup
references #5565
2016-02-25 16:17:26 -05:00
Brandy Carney
8df8420f14 feat(windows): change windowsphone platform to windows
fixes snapshot too

references #5565
2016-02-25 12:17:28 -05:00
Brandy Carney
fa2e4b2c70 feat(windows): add tabs component and clean up windows UI
references #5565
2016-02-24 13:05:43 -05:00
Brandy Carney
6cd0c45f7c Merge branch '2.0' into windows-mode 2016-02-23 13:43:05 -05:00
mhartington
ec4b5ce974 docs(config): update docs 2016-02-23 11:05:13 -05:00
Brandy Carney
870dda5507 Merge branch '2.0' into windows-mode 2016-02-22 20:38:50 -05:00
Brandy Carney
a9c995d07d feat(windows): initial add of windows mode
basically a copy of md for now

references #5565
2016-02-22 20:36:02 -05:00
Tim Lancina
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
Adam Bradley
b53d70710e feat(input): default autocomplete/autocorrect=off, fix autofocus
Related: #5480
2016-02-22 15:00:54 -06:00
Adam Bradley
22c32f3ab5 fix(animations): remove inline styles when finished
Allows for one animation to control multiple elements. Optionally
removes inline styles when the animation finishes. Fixes checking for
the will-change property. Does not always apply translateZ on ion-page.

Closes #5130
2016-02-17 23:02:31 -06:00
Tim Lancina
04c1c7c3bd chore(typings): add es6 and jasmine typings
As of beta.6, angular2 no longer ships es6-shim or jasmine typings, so
we provide them ourselves.
2016-02-15 15:36:01 -06:00
Adam Bradley
6646ddc052 Merge pull request #5437 from nikhildev/patch-1
docs(config): update config.ts
2016-02-13 00:19:23 -06:00
mhartington
5941042a98 chore() normalize types in docs 2016-02-12 15:51:28 -05:00
Tim Lancina
8b724a3bcb chore(tests): make typescript and unit tests friends 2016-02-12 13:59:38 -06:00
Nikhil Dev
576ffa5cc1 Update config.ts
md should be a string for mode
2016-02-12 16:13:35 +05:30
Adam Bradley
acf12cdd15 refactor(menu): inject MenuController to control app menus
Menu has been improved to make it easier to open, close, toggle and
enable menus.
Instead of injecting `IonicApp` to find the menu component, you now
inject
`MenuController`.

Was:

```
constructor(app: IonicApp) {
  this.app = app;
}
openMenu() {
  this.app.getComponent('leftMenu').close();
}
```

Now:

To programmatically interact with any menu, you can inject the
`MenuController`
provider into any component or directive. This makes it easy get ahold
of and
control the correct menu instance. By default Ionic will find the app's
menu
without requiring a menu ID. An id attribute on an `<ion-menu>` is only
required
if there are multiple menus on the same side. If there are multiple
menus, but
on different sides, you can use the name of the side to get the correct
menu

If there's only one menu:

```
constructor(menu: MenuController) {
  this.menu = menu;
}
openMenu() {
  this.menu.close();
}
```

If there is a menu on the left and right side:

```
toggleMenu() {
  this.menu.toggle('left');
}
```

If there are multiple menus on the same side:

```
<ion-menu id="myMenuId" side="left">...</ion-menu>
<ion-menu id="otherMenuId" side="left">...</ion-menu>

closeMenu() {
  this.menu.close('myMenuId');
}
```
2016-02-04 16:47:05 -06:00