Commit Graph

269 Commits

Author SHA1 Message Date
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
mhartington
f5a20d3dbb docs(config): add mode change example
Closes #5312
2016-02-03 13:51:45 -05:00
Adam Bradley
dbc681fb7c docs(): hide methods not requiring docs 2016-01-27 14:27:36 -06:00
Adam Bradley
b3a7298a52 refactor(input): place inputs inside of ion-item 2016-01-27 08:09:37 -06:00
Brandy Carney
16f9931957 refactor(badge): add a directive for badges which adds the colors as a class
This makes it so we can add a class to the badge on a tab which will
show the right color.

References #5007
2016-01-23 12:41:56 -05:00
Per Djurner
b8a56071d7 Config property should be documented as tabSubPages instead of tabSubPage. 2016-01-18 13:15:56 -05:00
Adam Bradley
ff10b3bb49 fix(navCtrl): add more states during transitions 2016-01-15 10:21:18 -06:00
Adam Bradley
100b1e79ae chore(): fix Tabs types 2016-01-13 22:40:30 -06:00
Adam Bradley
88aad3f880 refactor(decorators): remove ConfigComponent 2016-01-11 22:51:54 -06:00
Adam Bradley
b79d6cc8ea refactor(util): use Object.assign polyfill 2016-01-11 11:17:58 -06:00
Adam Bradley
747c5138c5 fix(platform): types 2016-01-11 09:56:19 -06:00
Adam Bradley
57e38aaf36 chore(): fix typescript errors 2016-01-10 13:38:47 -06:00
Adam Bradley
84f8e619b8 refactor(input): rename item-input dir to input 2016-01-09 23:40:14 -06:00
Adam Bradley
270fca0c50 feat(select): ion-select using alert radio/checkbox options
Closes #890 Closes #826 Closes #886
2016-01-08 16:26:07 -06:00
Adam Bradley
56921c5bcf fix(backButton): do not include ion- in the back btn config
Closes #891
2016-01-07 23:11:46 -06:00
Adam Bradley
387f883be3 refactor(input): split TextInput and ItemInput components
Make it easier to start adding other inputs, like select
2016-01-07 12:29:04 -06:00
Adam Bradley
942bd9b93b feat(platform): add language support methods
Related: #883
2016-01-07 10:36:44 -06:00
Adam Bradley
55f1167a4a fix(providers): do not include ActionSheet 2016-01-04 15:54:48 -06:00
Adam Bradley
3315303b3e fix(actionSheet): remove MD icon defaults 2016-01-04 12:47:03 -06:00
Adam Bradley
4203f9b179 Merge branch 'overlay-refactor' 2016-01-04 09:26:59 -06:00
Adam Bradley
da986a5fb0 feat(transition): pass isRTL in transition opts 2016-01-01 21:56:40 -06:00