478 Commits

Author SHA1 Message Date
3cf4e522c9 test(app): update cordova tests to show a content as the first-child
references #5934
2016-04-11 23:23:15 -04:00
203b07809e Revert "fix(sass): remove global imports from components"
This reverts commit dad2155ecdf3f1b9864996c5a843f451ff4f0aef.
2016-04-11 13:24:58 -04:00
dad2155ecd fix(sass): remove global imports from components
globals.mode is already imported in the components.mode file, so it
doesn’t need to be imported per component

fixes #5931
2016-04-11 11:59:44 -04:00
e27b7428da test(app): add status bar tests for an iOS platform on different modes
references #5924
2016-04-11 10:02:37 -04:00
2348b51be7 test(app): fix app unit tests 2016-04-09 23:42:00 -05:00
68278b0045 feat(backbutton): add hardware back button
Closes #5071
2016-04-09 22:51:13 -05:00
77772370bf feat(app): getActiveNav() method 2016-04-07 20:45:55 -05:00
6f3b9bef82 style(tslint): tslint updates 2016-04-06 21:28:52 -05:00
f3d92b8eb8 refactor(scroll): js scrolling ability
Required for Virtual Scrolling on iOS UIWebView
2016-04-05 14:50:05 -05:00
442d135dae feat(ion-content): adds <ion-fixed> for non-scrollable page content
closes #5987
2016-03-30 21:07:32 +02:00
5f2e737904 feat(sass): add support for contrast in color map for wp mode
BREAKING CHANGE:

Can now pass contrast to the colors map:

```
$colors-wp: (

  primary: (
    base: #327eff,
    contrast: yellow
  ),
  secondary: (
    base: #32db64,
    contrast: hotpink
  ),
  danger: #d91e18,
  light: #f4f4f4,
  dark: #222
) !default;
```

references #5445
2016-03-22 18:07:59 -04:00
9efa3ea3e6 feat(sass): add support for contrast color in MD mode colors map
BREAKING CHANGE:

Can now pass contrast to the colors map:

```
$colors-md: (

  primary: (
    base: #327eff,
    contrast: yellow
  ),
  secondary: (
    base: #32db64,
    contrast: hotpink
  ),
  danger: #d91e18,
  light: #f4f4f4,
  dark: #222
) !default;
```

references #5445
2016-03-22 17:53:08 -04:00
ff1a8ac6c7 feat(sass): add the ability to pass a contrast color in the colors map to iOS
this adds the functions necessary for the other modes as well

BREAKING CHANGE:

Can now pass contrast to the colors map:

```
$colors-ios: (

  primary: (
    base: #327eff,
    contrast: yellow
  ),
  secondary: (
    base: #32db64,
    contrast: hotpink
  ),
  danger: #d91e18,
  light: #f4f4f4,
  dark: #222
) !default;
```

references #5445
2016-03-22 17:14:39 -04:00
253cfc182b style(sass): fixing lint errors
references #5797
2016-03-14 16:44:08 -04:00
d3d689ae11 style(sass): remove all PropertySortOrder errors from linter
references #5797
2016-03-14 15:56:19 -04:00
f7b52eeee1 chore(sass): update sass to match linter config
references #5797
2016-03-10 22:42:38 -05:00
564d4fc5e0 test(gestures): init gesture test 2016-03-06 21:12:24 -06:00
a0b5ca15dc chore(touchaction): use autoprefixer to add -ms- 2016-03-05 21:59:26 -06:00
01294107ed fix(touchaction): apply to child touch elements 2016-03-05 21:30:43 -06:00
e1c77a3c6d feat(touchaction): remove 300ms delay via touch-action 2016-03-04 13:23:16 -06:00
948da71e79 docs: add missing brackets to API docs for id
closes #5713
2016-03-04 10:55:57 -05:00
4a21fb02f8 docs(IonicApp): IonicApp is not private 2016-03-04 08:55:58 -06:00
62c7199fd1 Merge branch '2.0' into windows-mode 2016-03-03 13:12:52 -05:00
2b77d52061 docs(API): clean up API docs 2016-03-01 19:24:33 -05:00
02da18b311 Merge branch '2.0' into windows-mode
# Conflicts:
#	ionic/components/searchbar/searchbar.ts
2016-02-29 19:02:55 -05:00
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
870dda5507 Merge branch '2.0' into windows-mode 2016-02-22 20:38:50 -05:00
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
c883a2ae91 chore(): update Ionic imports in tests 2016-02-22 17:45:17 -06:00
cc1dff2ceb Update id.ts 2016-02-22 10:34:13 +00:00
b62725c8ce chore(animation): pass instance to onFinish callbacks 2016-02-21 13:52:25 -06:00
3c8daa0781 feat(prodMode): set isProd() when prodMode set in @App config 2016-02-21 13:01:31 -06:00
5302d63b54 chore(animation): fix ele querySelectorAll 2016-02-21 12:26:47 -06:00
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
019009a3e2 chore(): fix bad types for docs 2016-02-12 16:36:27 -05:00
5f254f285f chore(e2e): make typescript and e2e friends 2016-02-12 11:37:39 -06:00
7d8e567c65 docs(id): fix broken link 2016-02-09 18:37:01 -06:00
da18868636 refactor(animations): inline css animations 2016-02-09 16:23:01 -06:00
06b3a5b3bd feat: hairlines width can be configured with a sass variable 2016-02-07 15:00:34 +01:00
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
856002ef0c docs(demos): add id API demo
references driftyco/ionic-site#397
2016-02-04 14:25:51 -05:00
f3fb182137 fix(scrollbars): do not apply css scrollbars 2016-02-01 19:08:01 -06:00
9500f817d0 docs(id): make Input private 2016-02-01 14:42:49 -05:00
c7f22681fd feat(scrollbars): webkit scrollbar styling for desktop 2016-01-28 20:05:11 -06:00
047a9396da docs(demos): remove attr from docs 2016-01-27 13:43:16 -05:00
ee106377fc chore(angular): upgrade to angular 2.0.0-beta.1
Biggest change was that renderer takes  and not just .
2016-01-20 11:15:01 -06:00
07953672f5 add more types to function parameters and return type 2016-01-19 16:44:46 +08:00
b5d8a1de70 chore(): remove use of host: {inputs: []} 2016-01-14 21:14:23 -06:00
6e9ac500c2 chore(): fix IonicApp types 2016-01-13 23:06:13 -06:00
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