491 Commits

Author SHA1 Message Date
4b36c3430d chore(angular): update to angular 2.0.0-rc.1 2016-05-05 10:45:49 -07:00
62b97ce4f3 fix(app): add status bar padding to navbar when a tab subpage
closes #6368
2016-05-02 13:08:19 -04:00
45e37ceb29 test(e2e): update all e2e tests to use a local path to ionic
this lets type errors to show up during development

closes #6366
2016-04-29 15:34:56 -04:00
feeb7bc996 test(): updates for angular 2.0.0-beta.16 2016-04-28 23:13:57 -05:00
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
e0a4f09304 test(app): fix karma test for app to include change detector 2016-04-20 14:38:51 -04:00
d9b239b695 chore(app): move setAppInjector to postBootstrap 2016-04-18 21:58:36 -05:00
58570f2da5 docs(id): make private for now 2016-04-18 17:36:50 -04:00
8b3b295d74 style(): update css formatting 2016-04-17 20:38:06 -05:00
0521ce255c fix(button): buttons don't get activated when ion-label contains exotic elements 2016-04-17 15:56:31 +02:00
f45ddf9087 fix(cordova): add status bar padding for content for all modes
closes #5934
2016-04-15 12:25:44 -04:00
cf7ed4d43d test(cordova): update cordova tests to include tabs and use the config 2016-04-14 17:17:44 -04:00
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
17a9e6d44d feat(confg): create a method to access the global app injector which contains references the bootstr
This feature simply sets a reference to the injector on the IonicApp class, so it can be referenced
by other components. This is sometimes necessary when injecting providers that depend on other
providers. This issue is discussed here
https://github.com/angular/angular/issues/4112#issuecomment-139381970, and Brandon Roberts' solution
of an appInjector() method has been used to solve a variety of dependency injection conflicts.
Unfortunately, it requires access to Angular's bootstrap() method, which Ionic handles in the @App
decorator. This fix will create a reference to the appInjector(), so it can be references from
within Ionic components.

closes #5973
2016-03-28 14:50:58 -07: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